W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2003

[XSLT2.0] 20.2 Example: Interaction of Output Escaping and CDATA

From: David Carlisle <davidc@nag.co.uk>
Date: Thu, 27 Nov 2003 16:09:41 GMT
Message-Id: <200311271609.QAA16171@penguin.nag.co.uk>
To: public-qt-comments@w3.org




The example states that the output should be:

&lt;title&gt;&lt;![CDATA[This is not ]]&gt;&lt;hr/&gt;&lt;![CDATA[ good coding practice]]&gt;&lt;/title&gt;


which appears to have been doubly escaped.

Shouldn't it be


<title><![CDATA[This is not ]]><hr/><![CDATA[ good coding practice]]></title>

I don't see anything in the example that should stop the title element
tags appearing normally rather than quoted with lt and gt.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
Received on Thursday, 27 November 2003 11:09:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:03 GMT