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

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

           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
xs:untypedAtomic, 

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