xsl-list
[Top] [All Lists]

[xsl] [XSL] Typo in the XSLT2.0 norm (W3C website)

2008-12-05 13:02:21
Hello XSL list readers,

I know it's not the right place to post that... but may be you can either forward or direct me to the right place.

I noticed a typo in the XSLT2.0 Norm page at http://www.w3.org/TR/xslt20

Chapter 11.6 Creating Processing Instructions

The code snipet given is incorrect.
/(I am aware that code snipets are non normatives, but I find them more useful when they are correct, although in this case the correction is quite obvious !)/

W3C says:

<xsl:processing-instruction name="xml-stylesheet"
 select="('href=&quot;book.css&quot;', 'type=&quot;text/css&quot;)"/>


Run that code snipet through Saxon it will complain about a misquoted string.
And Saxon is right !

Correct code is:

<xsl:processing-instruction name="xml-stylesheet"
 select="('href=&quot;book.css&quot;', 'type=&quot;text/css&quot;')"/>

(Missing apos before the last parenthesis)



Kind regards.
Alain BENEDETTI

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>