This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 9842 - [XSLT] document()
Summary: [XSLT] document()
Status: RESOLVED DUPLICATE of bug 7353
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 2.0 (show other bugs)
Version: Recommendation
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL: http://www.w3.org/TR/xslt20/#document
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-03 12:15 UTC by Tim Mills
Modified: 2010-06-03 13:02 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2010-06-03 12:15:59 UTC
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.
Comment 1 Michael Kay 2010-06-03 13:02:12 UTC

*** This bug has been marked as a duplicate of bug 7353 ***