XML processing

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 UTC