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

Re: XSLT 1.0 serializer for XML

Subject: Re: XSLT 1.0 serializer for XML
From: Lars Huttar <lars_huttar@xxxxxxx>
Date: Thu, 19 Aug 2010 12:29:56 -0500
Re:  XSLT 1.0 serializer for XML
 On 8/19/2010 11:38 AM, Hermann Stamm-Wilbrandt wrote:
> | why do  you say > must not be escaped? it is safer to escape it 9and
>
> I just read the spec and '>' is not a must-escape character.
> I agree with you that it is better to escape it and I did it in
> LtGtAmp template (xml-to-string does not escape '>').
>

I think we had a non-native-speaker miscommunication.
HSW said,

> While '<' and '&' must be escaped, '>' must not.

Which DC (correctly as a native English speaker) interpreted to mean a
*prohibition* on escaping '>'.
But apparently you meant

> While '<' and '&' must be escaped, '>' does not have to be.

indicating a *lack of obligation*.

Apologies for the non-intuitive semantics of "must not" vs. "doesn't
have to" in English.
http://www.english-the-international-language.com/rules.html

Lars

Current Thread

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
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.