Re: [xml-dev] Some comments on the 1.1 draft

From
John Cowan <>
To
Gavin Thomas Nicol <>
Date
2001-12-19T18:41:34Z
ID
<>
Thread
Re: [xml-dev] Some comments on the 1.1 draft
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 <>
    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