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] Naive question about binary encodings

[ Lists Home | Date Index | Thread Index ]

> I'm sure this is really naïve of me, but I have to admit that 
> I don't understand why binary data cannot be sent within an 
> xml document by providing appropriately namespace-controlled 
> attributes that identify an element type as binary and 
> specify its length.  For example:
> 
> <foo xml:mytype="binary" xml:binarylength="1776"> 
> or some such thing, followed by 1776 octets of whatever one 
> likes.  It's kind of like MIME in some respects- as long as 
> its type and length are identified, you can do whatever you 
> like with it.
> 
> It's so obvious that I am sure it has been rejected already, 
> but, being a mere implementor, I don't quite understand why.

This would mean that you can't transcode a document without parsing it.

Michael Kay





 

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

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