Binary Data
Don Park
donpark at quake.net
Mon Feb 23 17:05:27 GMT 1998
Michael,
Check out the XML-Binary demo at
http://www.quake.net/~donpark/SaxDomDemo/SaxDomDemo.html
Binary.xml file contains an element with embedded binary data.
I do not like notation based solution to binary data because it requires DTD
processing. IMHO, High performance XML applications will opt to ignore DTD
because it requires additional resources as well as causing processing
hiccups. XML-Binary is being designed around a set of reserved attributes
which tells you how the data was encoded (base64) and what the data is
(image/gif). All this can be done easily by checking for the attributes in
a single-pass processing systems. It also allows specification of
multi-layer encoding of binary data so that your application can easily tell
that an XML element contains postscript image which as compressed using ZIP
and then encoded using BASE64.
Don Park
http://www.quake.net/~donpark/index.html
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list