W3C home > Mailing lists > Public > xml-dist-app@w3.org > November 2001

XML processing

From: <bdawson@miramar.com>
Date: Tue, 13 Nov 2001 11:08:52 -0500 (EST)
To: xml-dist-app@w3.org
Message-ID: <OFC2ACACE0.A3364269-ON88256B03.00583995@miramar.com>
I am a software developer working with XML.  I have a recommendation due to
some limitations in the expansion of binary items regarding wire
transmission size and speed.  If there could be a mixed encoding or a
binary encoding style allowing for element to serialize or write out actual
binary data with length attribute, instead of the expanding the XML to
string type (very costly).

Here is an example

<?xml version="1.0" encoding="binary"?>
<Data>
     <Title type="string">This is my file.</Title>
     <File type="base64" length="50">This would be actual binary data, not
expanded base64.</base64>
</Data>

It would be very important to describe the type in the processing, because
if base64 used would have to be an expected length qualifier.  If left out
or wrong, the it isn't well formed XML..  Wouldn't this give the ability to
transmit files or data streamed a binary versus having to check syntax and
XML rules within the element information.  During processing it would be
very important.

The encoding could be defined in schema, but the p

Best Regards,
Brian Dawson
Received on Tuesday, 13 November 2001 15:15:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:04 GMT