<?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>26753</bug_id>
          
          <creation_ts>2014-09-08 09:27:00 +0000</creation_ts>
          <short_desc>currneet-output-uri</short_desc>
          <delta_ts>2014-09-08 13:07:31 +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 3.0 Test Suite</component>
          <version>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>26755</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="johnlumley">john</reporter>
          <assigned_to name="johnlumley">john</assigned_to>
          <cc>abel.braaksma</cc>
          
          <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>111160</commentid>
    <comment_count>0</comment_count>
    <who name="johnlumley">john</who>
    <bug_when>2014-09-08 09:27:00 +0000</bug_when>
    <thetext></thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111163</commentid>
    <comment_count>1</comment_count>
    <who name="johnlumley">john</who>
    <bug_when>2014-09-08 09:42:23 +0000</bug_when>
    <thetext>current-output-uri-00[23] assert ends-with(/out,&apos;fn/current-output-uri/results...&apos;) to check the determined output-uri for a normal and a result document. These locations are relative to the test sources, but the XTtest schema suggests that this might not be the correct location.

The documentation for assert-result-document/@uri states:

The uri corresponds to the URI used in the href [error in schema documentation - should be uri - jwL] attribute of the xsl:result-document instruction. It is supplied as a relative URI, interpreted as being relative to the implicit base output URI chosen by the test driver.

Hence it is possible (or even likely) that the outputs (and hence values) could be elsewhere.

A common alternative case might be where all results are held in a single separate file tree, such that:

current-output-uri-102:
&lt;assert&gt;ends-with(/out,&apos;current-output-uri-002.xml&apos;)

current-output-uri-103:
&lt;assert-result-document uri=&quot;second/current-output-uri-003.xml&quot;&gt;
   &lt;assert&gt;ends-with(/out,&apos;second/current-output-uri-002.xml&apos;)

These tests can be added as alternatives, but aren&apos;t particularly taxing.
I&apos;ll think about some more taxing possibilities.


[Sorry about the title spelling - finger trouble and hitting Ctrl-S too early]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111164</commentid>
    <comment_count>2</comment_count>
    <who name="johnlumley">john</who>
    <bug_when>2014-09-08 09:48:52 +0000</bug_when>
    <thetext>Closed to replace with a proper title !</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111168</commentid>
    <comment_count>3</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2014-09-08 13:07:12 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>