Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: Alain <alainb06@------->
To:
Date: 12/5/2008 6:02:00 PM
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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent