While the author of BSAX-J has not yet come to a final conclusion about the need for a binary XML format, BSAX is his idea of one possible encoding that leverages other XML prior art (SAX events and UTF-8, in particular). It is complete in that it can be used to perform round-trip conversions from textual XML to SAX events to BSAX binary streams, and back to SAX events and textual XML. The test code in the distribution does exactly that for a simple example XML file, and measures the difference in file size (the file is slightly smaller for the BSAX encoding of the sample file) and the difference in read time (the read time is significantly faster for the sample file).
|Tags||Software Development Libraries Java Libraries Text Processing Markup XML|
|Operating Systems||OS Independent|
Release Notes: The streaming encoder included in this distribution is very simple, and that is on purpose (smarter compliant encoders are possible). Before a 1.0.0 version is released, one new operation definition is planned to support pre-arranged bootstrap string tables. Once it reaches version 1.0.0, it is hoped that it will have encoders and decoders for other languages such as Perl, Python, and Ruby.