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 ]

My primary goal is representing the structure of XML more efficiently, 
hence in binary.  The content I expect to be exactly the same encoding 
as typical XML 1.1 use, however if an application needs to include 
binary data, b64ing it or something similar obviously would be great to 
avoid.  An encoding attribute for that element can indicate that the XML 
1.1 equivalent is b64, for example.

If an application needs to exchange many IEEE floats, then that is an 
application-level agreement, not something that I am considering in my 
main meant-for-standardization design.

sdw

Elliotte Rusty Harold wrote:

> 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.



-- 
swilliams@hpti.com http://www.hpti.com Per: sdw@lig.net http://sdw.st
Stephen D. Williams 703-724-0118W 703-995-0407Fax 20147-4622 AIM: sdw

begin:vcard
fn:Stephen Williams
n:Williams;Stephen
email;internet:sdw@lig.net
tel;work:703-724-0118
tel;fax:703-995-0407
tel;pager:sdwpage@lig.net
tel;home:703-729-5405
tel;cell:703-371-9362
x-mozilla-html:TRUE
version:2.1
end:vcard





 

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

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