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

RE: What to escape when serializing XML

  • From: "Michael Kay" <mike@s...>
  • To: "'Frans Englich'" <frans.englich@t...>,<xml-dev@l...>
  • Date: Wed, 3 Jan 2007 11:23:12 -0000

xml escape characters complete list
> XSLT 2.0 and XQuery 1.0 Serialization hints there is more. It 
> says "Specifically, CR, NEL and LINE SE ...". Note the use of 
> the word "specifically". 

You seem to be reading "specifically" as meaning "for example". That's not
my reading. "For example" carries a strong hint that what follows is
incomplete; "specifically" merely states that what follows is more specific
than what comes before. "Specific" doesn't mean incomplete, it means
precise.

In this case the first sentence says "certain characters must be escaped",
which invites the reader to ask "which characters?" and the second sentence
answers the implied question. "Specifically" here is merely a connector
between the two sentences, the first sentence stating the rule in general
terms and the second stating the same rule in more specific terms.

It's probably true that the authors of this paragraph were hedging their
bets: stating the general rule first means that if implementors discover
additional characters that need to be escaped in order to achieve
round-tripping, they have clear guidance on what to do. But it also reads to
me as if they were trying their best to provide a complete list.

Michael Kay



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.