OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] XML Binary Characterization WG public list availabl e

[ Lists Home | Date Index | Thread Index ]

At 10:39 AM -0400 4/11/04, Stephen D. Williams wrote:
>Optimized XML is XML which has been tweaked to retain its existing 
>advantages while improving those aspects that need improving in 
>various circumstances.  I.e. better (or no) parsing, serialization, 
>memory usage, CPU, size, avoidance of encoding (of binary image data 
>for instance), fidelity, etc.

XML is text. There is no binary data in XML. You can encode text in 
binary, and you can encode binary in text using a variety of 
algorithms. However, if you're directly encoding binary data in your 
format that is not somehow a representation of text, then it is 
clearly not a representation of XML. It is something els, and that 
something else may be useful (I certainly don't think digital 
photographs should be encoded in XML) but it is still not XML. Not 
only that it cannot be processed with standard XML tools  and APIs. 
XSLT, SAX, DOM, XPath, XQuery, XOM, have no means of representing 
arbitrary binary data. The "avoidance of encoding (of binary image 
data for instance)" means you've clearly moved beyonds the realm of 
XML. What you are then proposing is a new format, not an optimization 
of XML.

   Elliotte Rusty Harold
   Effective XML (Addison-Wesley, 2003)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS