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] Some comments on the 1.1 draft

[ Lists Home | Date Index | Thread Index ]

Gavin Thomas Nicol wrote:


> The point is then, why complicate things with control characters for no 
> benefit whatsoever?


The benefit is that text which *might* contain control characters,
but usually does not, can be injected into the content of an element
or attribute without having to Base64-encode it out of paranoia.

It is of course possible to Base64-encode only when a control character
actually appears, but then some means (in-band or out) must be used
to signal the presence of B64 encoding (as opposed to eccentric
plain text).  Furthermore, this choice complicates the decoder.

 

-- 
Not to perambulate             || John Cowan <jcowan@reutershealth.com>
    the corridors               || http://www.reutershealth.com
during the hours of repose     || http://www.ccil.org/~cowan
    in the boots of ascension.  \\ Sign in Austrian ski-resort hotel





 

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

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