- From: <bugzilla@jessica.w3.org>
- Date: Tue, 22 Jun 2010 13:29:08 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9978
Summary: [XSLT] xsl:analyze-string select returning
non-xs:string
Product: XPath / XQuery / XSLT
Version: Recommendation
Platform: PC
URL: http://www.w3.org/TR/xslt20/#element-analyze-string
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: XSLT 2.0
AssignedTo: mike@saxonica.com
ReportedBy: tim@cbcl.co.uk
QAContact: public-qt-comments@w3.org
Section 15.1 of XSLT 2.0 states that:
"If the result of evaluating the select expression is not a string, it is
converted to a string by applying the function conversion rules."
Should function conversion fail XPTY0004 will be raised. It would be nice if
an XTTE error code had been assigned to this condition.
Compare with xsl:apply-templates
"[ERR XTTE0520] It is a type error if the sequence returned by the select
expression contains an item that is not a node."
--
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 Tuesday, 22 June 2010 13:29:09 UTC