<?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>28627</bug_id>
          
          <creation_ts>2015-05-12 15:33:19 +0000</creation_ts>
          <short_desc>[QT3TS] Serialization-html-4</short_desc>
          <delta_ts>2015-06-24 08:14:37 +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>XQuery 3 &amp; XPath 3 Test Suite</component>
          <version>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</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="Tim Mills">tim</reporter>
          <assigned_to name="O&apos;Neil Delpratt">oneil</assigned_to>
          <cc>christian.gruen</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>120265</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2015-05-12 15:33:19 +0000</bug_when>
    <thetext>The element &lt;isindex /&gt; appears to be missing from the expected results.

      &lt;test&gt;&lt;![CDATA[
declare boundary-space strip;        
declare namespace output = &quot;http://www.w3.org/2010/xslt-xquery-serialization&quot;;
declare option output:method  &quot;html&quot;;
declare option output:indent  &quot;no&quot;;
declare option output:version  &quot;5.0&quot;;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;body&gt;&lt;area/&gt;&lt;base/&gt;&lt;br/&gt;&lt;col/&gt;&lt;embed
/&gt;&lt;frame/&gt;&lt;hr/&gt;&lt;img/&gt;&lt;input/&gt;&lt;isindex/&gt;&lt;link/&gt;&lt;meta/&gt;&lt;param/&gt;&lt;/body&gt;&lt;/html&gt;
]]&gt;&lt;/test&gt;
      &lt;result&gt;
         &lt;all-of&gt;
           &lt;serialization-matches&gt;&lt;![CDATA[&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;body&gt;&lt;area&gt;&lt;base&gt;&lt;br&gt;&lt;col&gt;&lt;embed&gt;&lt;hr&gt;&lt;img&gt;&lt;input&gt;&lt;link&gt;&lt;meta&gt;&lt;param&gt;&lt;/body&gt;&lt;/html&gt;]]&gt;&lt;/serialization-matches&gt;
           &lt;serialization-matches flags=&quot;i&quot;&gt;&lt;![CDATA[&lt;!DOCTYPE .*]]&gt;&lt;/serialization-matches&gt;
         &lt;/all-of&gt;
      &lt;/result&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120319</commentid>
    <comment_count>1</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2015-05-15 13:38:36 +0000</bug_when>
    <thetext>According to the change log Christian Gruen removed the isindex element in light of the details in section 7.1 of the Serialisation spec. I must say I agree with this change and if you are happy I will mark this bug as resolved-Invalid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120344</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2015-05-18 15:58:03 +0000</bug_when>
    <thetext>Sorry - I don&apos;t follow. 

Note that the query contains &lt;isindex/&gt; but that the expected result does not. 

Which bit of 7.1 says that &lt;isindex&gt; should be discarded when serializing?  I can see test saying that it is implementation defined whether it should be treated as a void/empty element.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120345</commentid>
    <comment_count>3</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2015-05-18 16:05:04 +0000</bug_when>
    <thetext>Yes the spec does state &apos;implementation defined&apos;. I think we should have two alternative expected results. One with &lt;isindex/&gt; and the other without.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120360</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2015-05-19 14:29:27 +0000</bug_when>
    <thetext>There are two possible results, but neither of them is the one given.

The test should accept either

&lt;serialization-matches&gt;&lt;![CDATA[&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;body&gt;&lt;area&gt;&lt;base&gt;&lt;br&gt;&lt;col&gt;&lt;embed&gt;&lt;hr&gt;&lt;img&gt;&lt;input&gt;&lt;isindex&gt;&lt;link&gt;&lt;meta&gt;&lt;param&gt;&lt;/body&gt;&lt;/html&gt;]]&gt;&lt;/serialization-matches&gt;

or

&lt;serialization-matches&gt;&lt;![CDATA[&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;body&gt;&lt;area&gt;&lt;base&gt;&lt;br&gt;&lt;col&gt;&lt;embed&gt;&lt;hr&gt;&lt;img&gt;&lt;input&gt;&lt;isindex&gt;&lt;/isindex&gt;&lt;link&gt;&lt;meta&gt;&lt;param&gt;&lt;/body&gt;&lt;/html&gt;]]&gt;&lt;/serialization-matches&gt;

The current expected results completely misses &lt;isindex&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121438</commentid>
    <comment_count>5</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2015-06-23 12:52:52 +0000</bug_when>
    <thetext>At the telcon #611 the working group agreed to incorporate Tim&apos;s suggestion in the test case. See comment #4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121440</commentid>
    <comment_count>6</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2015-06-23 14:24:21 +0000</bug_when>
    <thetext>This hasn&apos;t been fixed correctly.  In CVS I see:


   &lt;test-case name=&quot;Serialization-html-4&quot; covers-30=&quot;html-output&quot;&gt;
      &lt;description&gt;Test that elements in the XHTML namespace whose local names match those of HTML 5.0 elements with empty content model are serialized using only a start tag&lt;/description&gt;
      &lt;created by=&quot;Henry Zongaro&quot; on=&quot;2012-10-26&quot;/&gt;
      &lt;modified by=&quot;O&apos;Neil Delpratt&quot; on=&quot;2013-05-30&quot; change=&quot;added dependency inline with bug issue #21868&quot;/&gt;
      &lt;modified by=&quot;Christian Gruen&quot; on=&quot;2015-04-28&quot; change=&quot;isindex and frame removed (implementation-defined, see 7.1)&quot;/&gt;
      &lt;modified by=&quot;Christian Gruen&quot; on=&quot;2015-05-20&quot; change=&quot;isindex and frame removed (fix)&quot;/&gt;
      &lt;modified by=&quot;O&apos;Neil Delpratt, Saxonica&quot; on=&quot;2015-06-23&quot; change=&quot;Added isindex element bug issue #28627&quot;/&gt;
      &lt;dependency type=&quot;feature&quot; value=&quot;serialization&quot; satisfied=&quot;true&quot;/&gt;
      &lt;dependency type=&quot;spec&quot; value=&quot;XQ30+&quot;/&gt;
      &lt;test&gt;&lt;![CDATA[
declare boundary-space strip;        
declare namespace output = &quot;http://www.w3.org/2010/xslt-xquery-serialization&quot;;
declare option output:method  &quot;html&quot;;
declare option output:indent  &quot;no&quot;;
declare option output:version  &quot;5.0&quot;;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;body&gt;&lt;area/&gt;&lt;base/&gt;&lt;br/&gt;&lt;col/&gt;&lt;embed
/&gt;&lt;hr/&gt;&lt;img/&gt;&lt;input/&gt;&lt;link/&gt;&lt;meta/&gt;&lt;param/&gt;&lt;/body&gt;&lt;/html&gt;
]]&gt;&lt;/test&gt;
      &lt;result&gt;
         &lt;all-of&gt;
           &lt;any-of&gt;
               &lt;serialization-matches&gt;&lt;![CDATA[&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;body&gt;&lt;area&gt;&lt;base&gt;&lt;br&gt;&lt;col&gt;&lt;embed&gt;&lt;hr&gt;&lt;img&gt;&lt;input&gt;&lt;isindex&gt;&lt;link&gt;&lt;meta&gt;&lt;param&gt;&lt;/body&gt;&lt;/html&gt;]]&gt;&lt;/serialization-matches&gt;
               &lt;serialization-matches&gt;&lt;![CDATA[&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;body&gt;&lt;area&gt;&lt;base&gt;&lt;br&gt;&lt;col&gt;&lt;embed&gt;&lt;hr&gt;&lt;img&gt;&lt;input&gt;&lt;isindex&gt;&lt;/isindex&gt;&lt;link&gt;&lt;meta&gt;&lt;param&gt;&lt;/body&gt;&lt;/html&gt;]]&gt;&lt;/serialization-matches&gt;
           &lt;/any-of&gt;
           &lt;serialization-matches flags=&quot;i&quot;&gt;&lt;![CDATA[&lt;!DOCTYPE .*]]&gt;&lt;/serialization-matches&gt;
         &lt;/all-of&gt;
      &lt;/result&gt;
   &lt;/test-case&gt;

The expected results now expect &quot;isindex&quot;, but this no longer appears in the query.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121445</commentid>
    <comment_count>7</comment_count>
    <who name="Christian Gruen">christian.gruen</who>
    <bug_when>2015-06-23 17:22:42 +0000</bug_when>
    <thetext>One day after Tim&apos;s last comment (on May 20), I had already fixed the test. After consultation with O&apos;Neil and Tim, I have just reverted the test case to this version.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121456</commentid>
    <comment_count>8</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2015-06-24 08:14:37 +0000</bug_when>
    <thetext>Confirmed fixed.  Thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>