<?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>28416</bug_id>
          
          <creation_ts>2015-04-07 01:37:50 +0000</creation_ts>
          <short_desc>[XT30] bug-0701 serialized html indented output</short_desc>
          <delta_ts>2015-05-06 21:25: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="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>119264</commentid>
    <comment_count>0</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2015-04-07 01:37:50 +0000</bug_when>
    <thetext>The expected serialized output of this test ends with (on one line):

   &lt;/ul&gt;&lt;/font&gt;&lt;p&gt;&lt;font size=&quot;1&quot; face=&quot;Verdana, Arial, Helvetica, sans-serif&quot; color=&quot;#000000&quot;&gt;Some text in a paragraph&lt;/font&gt;&lt;/p&gt;

and our output ends with (newline after &lt;/ul&gt;):

   &lt;/ul&gt;
&lt;/font&gt;&lt;p&gt;&lt;font size=&quot;1&quot; face=&quot;Verdana, Arial, Helvetica, sans-serif&quot; color=&quot;#000000&quot;&gt;Some text in a paragraph&lt;/font&gt;&lt;/p&gt;

I believe these are both valid renditions according to the serialization standard for HTML and indent=&quot;yes&quot;, which is what this test seems to test.

Indentation is always tricky to test. In this case, I would simply solve it by adding an alternative outcome, though that is not ideal, because another processor might do it differently, or a later version of an existing processor might change its indentation and whitespace generation algorithm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119265</commentid>
    <comment_count>1</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2015-04-07 01:38:18 +0000</bug_when>
    <thetext>Currently fixed as proposed, but leaving it open for comments for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119301</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2015-04-07 08:06:24 +0000</bug_when>
    <thetext>This test case wasn&apos;t designed to test serialization. In such cases it&apos;s usually best to replace the expected result with a logical test on the result tree contents rather than a serialization assertion. Alternatively, remove the indent=&quot;yes&quot;, which makes the results a bit more predictable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119314</commentid>
    <comment_count>3</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2015-04-07 20:56:36 +0000</bug_when>
    <thetext>Thanks, I wasn&apos;t sure because it seemed a test originating from an internal bug report.

Fixed as proposed. Indentation is now off, resulting in easier comparison.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120214</commentid>
    <comment_count>4</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2015-05-06 21:25:16 +0000</bug_when>
    <thetext>Was resolved &gt; 30 days ago, closing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>