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

RE: MSXML DOM Special Chars Less Than 32


msxml escape character
> From: John Cowan [mailto:jcowan@r...]
> Sent: Saturday, March 23, 2002 5:33 PM
> To: Julian Reschke
> Cc: michael.h.kay@n...; 'Joshua Allen'; 'Rick Jelliffe';
> xml-dev@l...
> Subject: Re:  MSXML DOM Special Chars Less Than 32
>
>
> Julian Reschke scripsit:
>
> > Some of the requirements are:
> >
> > - the format of strings that *can* be represented as XML
> characters doesn't
> > change
> > - non-XML characters must be ignored by implementations not knowing the
> > escaping mechanism
>
> Those requirements are impossible.  An escaping mechanism naturally
> requires an escape character (which means that the format of strings
> containing the escape character *must* change), and the only way
> for an escape-blind system to ignore the escape is for escaped
> characters to be represented by the null string.
> If the escapes are elements, that makes the matter even worse,
> since escape-blind systems will see violations of the schema.

Why impossible?

You just mentioned a format that fulfills the requirements (mixed content,
using special elements to represent the offending characters):

	here we have a <ctl:bel xmlns:ctl="..." /> character.

If there's an *additional* requirement that the format may not affect
validation, then there'd be still the possibility to use PI-based escapes:

	here we have a <?ctl-bel?> character.

However, I'm not sure that this requirement really exists (it certainly
doesn't for SOAP and WebDAV).

(it would be great if this discussion would lead to a common approach that
could be applied to multiple protocols / XML formats).


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.