[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: MSXML DOM Special Chars Less Than 32

  • To: <michael.h.kay@n...>,"Rick Jelliffe" <ricko@a...>,<xml-dev@l...>
  • Subject: RE: MSXML DOM Special Chars Less Than 32
  • From: "Joshua Allen" <joshuaa@m...>
  • Date: Fri, 22 Mar 2002 14:30:20 -0800
  • Thread-index: AcHRjUSDaIOQFjW6SP2zlQL4l+CD5QAYZ+xg
  • Thread-topic: MSXML DOM Special Chars Less Than 32

msxml illegal characters
> I don't want to dumb XML down. But we do sometimes need to store data
(e.g.
> WebDAV property values) which can potentially contain characters that
are
> not permitted in XML. In fact, it's very unlikely that a WebDAV
property
> value will contain such a character, but the software still needs to
allow
> for the possibility.

Why would someone want to use XML if they need to transmit illegal
characters?  There are usually two cases -- one is where the illegal
characters are insignificant, in which case they can be stripped and the
output is well-formed XML.  The other case is where the illegal
characters *are* significant, and must be preserved for round-trip.  But
if someone wants to round-trip characters that are clearly not permitted
by any XML processor in the world, why use XML?  That's like getting mad
because a car won't float.

> arguments. I guess the C lobby is sufficiently entrenched that we'll
never
> allow &#x00;, but apart from that I don't really see the need for 
> restrictions.

But that is exactly the point: even if we started again from scratch,
there exists a subset of characters that will end up being illegal.
There will also exist a certain population of users who disagree with
each illegal character choice.  There will additionally be a certain
population of implementers who disagree with the *permissiveness* of the
characters, since it makes their lives difficult, and they have to
handle characters in a way that is unnatural (NEL for Unix people, for
example).

So my point is that the set of illegal characters will always be an
arbitrary value-judgment that tries to balance between implementers and
users.  I do not think it is an objective "there is one right answer"
situation.

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.