W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2010

[Bug 9842] New: [XSLT] document()

From: <bugzilla@jessica.w3.org>
Date: Thu, 03 Jun 2010 12:15:59 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-9842-523@http.www.w3.org/Bugs/Public/>

           Summary: [XSLT] document()
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
               URL: http://www.w3.org/TR/xslt20/#document
        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 "16.1 Multiple Source Documents" of XSLT describes how items in the
$uri-sequence parameter are processed.  It covers the case of:

1. an item in $uri-sequence that is an instance of xs:string, xs:anyURI, or

2. an item in $uri-sequence that is a node

It appears to omit what happens in the case that an item in $uri-sequence is
not an instance of xs:string, xs:anyURI, xs:untypedAtomic and is not a node.

e.g. <xsl:value-of select="document(123)" />

While the spec states that in case (2) that the "result must be a sequence
whose items are all instances of xs:string, xs:anyURI, or xs:untypedAtomic." it
does not state what error should be raised if this is not ther case.

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 Thursday, 3 June 2010 12:16:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:31 UTC