<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>9842</bug_id>
          
          <creation_ts>2010-06-03 12:15:59 +0000</creation_ts>
          <short_desc>[XSLT] document()</short_desc>
          <delta_ts>2010-06-03 13:02:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>XSLT 2.0</component>
          <version>Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>7353</dup_id>
          
          <bug_file_loc>http://www.w3.org/TR/xslt20/#document</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Mills">tim</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>35935</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2010-06-03 12:15:59 +0000</bug_when>
    <thetext>Section &quot;16.1 Multiple Source Documents&quot; 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. &lt;xsl:value-of select=&quot;document(123)&quot; /&gt;

While the spec states that in case (2) that the &quot;result must be a sequence whose items are all instances of xs:string, xs:anyURI, or xs:untypedAtomic.&quot; it does not state what error should be raised if this is not ther case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35936</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2010-06-03 13:02:12 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 7353 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>