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

Re: d-o-e and attribute values

From: David Carlisle <davidc@nag.co.uk>
Date: Sun, 23 Feb 2003 23:15:06 GMT
Message-Id: <200302232315.XAA12273@e3000>
To: olegt@multiconn.com
CC: public-qt-comments@w3.org


   XSLT 1.0 forbids using of disable-output-escaping to generate value of 
   comment, processing instruction or attribute node. XSLT 2.0 WD states the 
   same. What's the reason behind this restriction?

I'm not on the WG but at least for PIs and comments d-o-e isn't really
appropriate as there is no escaping to be disabled. & isn't special

<?a &< ?>
<!-- &< -->

is well formed despite the unescaped &s and <s. Thus a & or < appearing in the
value of these nodes already has to be output by the XSLT serialiser
as if doe was set.

Received on Sunday, 23 February 2003 18:15:20 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:11 UTC