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] MSXML DOM Special Chars Less Than 32

[ Lists Home | Date Index | Thread Index ]

> Why would someone want to use XML if they need to transmit illegal
> characters?

A: "I want to replicate my WebDAV configuration. I want to do this by
encoding all the WebDAV properties in an XML file and transmitting that over
the network".

B: "You can't represent WebDAV properties in XML, because they can contain
characters that XML doesn't support"

A: "But I wouldn't be so stupid as to use such characters in my WebDAV

B: "So you're prepared for the replication to fail if I find such a
character has somehow got in?"

A: "No, of course not. The replication is business-critical"

B: "So I need to write the code to handle this case, even though you
promised it would never happen?"

Write your own ending to the story.

(Of course there are solutions like using processing instructions or
quoted-printable encoding. But I haven't heard any good argument why I
shouldn't be able to use XML character references to represent these
characters, which would seem a much more natural approach. In any case, the
semantics of BEL are at least as well-defined as TAB.)

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com 

<<attachment: winmail.dat>>


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

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