<?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>27066</bug_id>
          
          <creation_ts>2014-10-15 21:44:45 +0000</creation_ts>
          <short_desc>[XT30] Test Include0101 expects incorrect import order</short_desc>
          <delta_ts>2015-05-06 21:17:16 +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>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></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="Abel Braaksma">abel.braaksma</reporter>
          <assigned_to name="Abel Braaksma">abel.online</assigned_to>
          <cc>mike</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>113247</commentid>
    <comment_count>0</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2014-10-15 21:44:45 +0000</bug_when>
    <thetext>In test include-0101, the file include-0101.xsl contains an xsl:import and then an xsl:include. The xsl:import imports a file with &lt;xsl:output method=&quot;xml&quot; /&gt; and the xsl:include includes a file with &lt;xsl:output method=&quot;html&quot; /&gt;.

Since the included file has higher import precedence (it sits at the highest stylesheet module level), the output method to be expected is &quot;html&quot;.

Currently, the expected output is:
&lt;body changed=&quot;8 Feb 2002&quot; var=&quot;E&quot;&gt;Text of one-tagText of two-tag&lt;br/&gt;&lt;/body&gt;

This is either XML or XHTML output, but not HTML output (which should have &quot;&lt;br&gt;&quot; instead).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113249</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-10-15 21:59:56 +0000</bug_when>
    <thetext>The test uses assert-xml, which is defined as a comparison of the result tree, not of its serialized form.

&lt;p&gt; Asserts the result of the query by providing a serialization of the
 expression result using the default serialization parameters method=&quot;xml&quot;
 indent=&quot;no&quot; omit-xml-declaration=&quot;yes&quot;.&lt;/p&gt;

The serialization parameters in the stylesheet have no bearing on the results of assertions other than, e.g. assert-serialization-matches.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113311</commentid>
    <comment_count>2</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2014-10-16 15:01:15 +0000</bug_when>
    <thetext>Oh, ok, in that case, I think I should change the assertion to assert the actual serialization, because otherwise, we cannot assess the part of the test that checks the xsl:output import precedence rules.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118728</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2015-03-20 15:24:49 +0000</bug_when>
    <thetext>According to the test metadata, this was fixed on 2014-11-14</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120177</commentid>
    <comment_count>4</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2015-05-06 21:17:16 +0000</bug_when>
    <thetext>Was resolved &gt; 30 days ago, closing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>