W3C home > Mailing lists > Public > xsl-editors@w3.org > October to December 2000

Re: repost/summary of some outstanding output issues for XSLT 1.1

From: James Clark <jjc@jclark.com>
Date: Wed, 18 Oct 2000 16:45:33 +0700
Message-ID: <39ED713D.94BC7948@jclark.com>
To: Mike Brown <mike@skew.org>
CC: xsl-editors@w3.org
Mike Brown wrote:
 
> 2. <script> and <style> elements are recommended as having output escaping
> disabled when emitted via the "html" output method, but no recommendation
> is made for "script data"-type attribute values -- attributes whose
> content model appears as %Script; in the HTML DTDs. There are too many of
> these to enumerate here, but they should be included in the
> recommendation. Again, this affects portability of stylesheets because
> processors could choose to escape attribute values with script content.

I don't agree here.  Although character references are not recognized in
"script data" elements, they are recognized in "script data" attributes
(see http://www.w3.org/TR/html401/types.html#h-6.14), so output escaping
should not be disabled in "script data" attributes.  See also
http://www.w3.org/TR/html401/appendix/notes.html#notes-specifying-data .

James
Received on Wednesday, 18 October 2000 05:48:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:51 GMT