- From: <bugzilla@wiggum.w3.org>
- Date: Fri, 05 Dec 2008 19:03:55 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6282 Summary: [XSLT 2.0] Typo in xsl:processing-instruction example Product: XPath / XQuery / XSLT Version: Recommendation Platform: PC OS/Version: Windows NT Status: NEW Severity: normal Priority: P2 Component: XSLT 2.0 AssignedTo: mike@saxonica.com ReportedBy: mike@saxonica.com QAContact: public-qt-comments@w3.org >From xsl-list today: 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="book.css"', 'type="text/css")"/> 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="book.css"', 'type="text/css"')"/> (Missing apos before the last parenthesis) Kind regards. Alain BENEDETTI -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Friday, 5 December 2008 19:04:05 UTC