[
Lists Home |
Date Index |
Thread Index
]
On Tuesday 18 December 2001 07:54 pm, Michael Rys wrote:
> Tim, with all due respect, but allowing #x0-@x1F inside element and
> attribute content would tremedeously help users of XML that use non-XML
> string sources for their data and map it into XML without loosing
> fidelity and without having to base 64 encode otherwise normal strings.
I think you're pushing the boundaries of what I would call "applicable use"
for XML. It is first and foremost a textual markup language. Allowing control
characters in content opens it up to all kinds of abuse... for example, I
could store SJIS string values in attribute content, and no-one would be the
wiser.
If you want something you can blindly serialize stuff into, I think XML might
be a bad choice, because fundamentally, it's not about bytes, but characters.
|