[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: RE: [XSL] Typo in the XSLT2.0 norm (W3C website)
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 5 Dec 2008 19:06:23 -0000
RE:  [XSL] Typo in the XSLT2.0 norm (W3C website)
Thanks. The status section of the document gives the recommended way of
reporting errors. I've taken the liberty of creating a bugzilla entry to
capture this typo at

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6282

so you don't need to do anything further.

Michael Kay
http://www.saxonica.com/

 

> -----Original Message-----
> From: Alain [mailto:alainb06@xxxxxxx] 
> Sent: 05 December 2008 18:02
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  [XSL] Typo in the XSLT2.0 norm (W3C website)
> 
> 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.