Solving a problem
By sandoz on Jan 18, 2006
One of the most pleasurable aspects of engineering is getting positive feedback on how one's work is put to use.
Fast Infoset solved a performance issue related to the embedding of binary data for Tony (see full email on the Fast Infoset users list), who writes:
The performance was pretty horrible though and I was \*just\* about to
write a binary encoded XML mechanism when I came across your Fast
Infoset stuff - which did \*exactly\* what I needed and saved a whole
bunch of development and testing. It worked first time too <smile>
Thanks Tony! you made me <smile> too :-)
The SAX and StAX implementations of Fast Infoset can be used to embed binary data directly into a fast infoset document that would otherwise have to be base64 encoded and embedded as characters in an XML document, or the binary data would have to be included as an attachment in an MTOM encoded XML document (that includes XOP include infoset, which references the attachment).
For embedding of binary data using an extention to the StAX API see this email thread.
The Xj3D project for rendering and manipulating X3D and VRML documents utilizes Fast Infoset for parsing and serializing X3DB documents. The Fast Infoset implementation provides extensions to the SAX API (using a primitive and algorithm handler), which are used to get access to binary data, and integers, floats etc for efficient than as characters.