<?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>29343</bug_id>
          
          <creation_ts>2015-12-17 19:54:52 +0000</creation_ts>
          <short_desc>Failure to close empty elements makes use of XML-based tools for proofing overly difficult</short_desc>
          <delta_ts>2015-12-18 03:37:43 +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.1</component>
          <version>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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="Patrick Durusau">patrick</reporter>
          <assigned_to name="Jonathan Robie">jonathan.robie</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>124455</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick Durusau">patrick</who>
    <bug_when>2015-12-17 19:54:52 +0000</bug_when>
    <thetext>The current XQuery Candidate draft, http://www.w3.org/TR/2015/CR-xquery-31-20151217/, fails to close empty elements as follows:

[FODC0002] &quot;file:/home/patrick/working/w3c/XQuery3.1.html&quot; (Line 68): The element type &quot;link&quot; must be terminated by the matching end-tag &quot;&lt;/link&gt;&quot;.

[FODC0002] &quot;file:/home/patrick/working/w3c/XQuery3.1.html&quot; (Line 68): The element type &quot;meta&quot; must be terminated by the matching end-tag &quot;&lt;/meta&gt;&quot;. (lines 3 and 4 for the &lt;meta&gt; elements. 

There are 2 &lt;meta&gt; elements

[FODC0002] &quot;file:/home/patrick/working/w3c/XQuery3.1.html&quot; (Line 69): The element type &quot;img&quot; must be terminated by the matching end-tag &quot;&lt;/img&gt;&quot;.

There are 3 &lt;img&gt; elements that are not closed.

[FODC0002] &quot;file:/home/patrick/working/w3c/XQuery3.1.html&quot; (Line 78): The element type &quot;br&quot; must be terminated by the matching end-tag &quot;&lt;/br&gt;&quot;.

There are 353 &lt;br&gt; elements that are not closed.

[FODC0002] &quot;file:/home/patrick/working/w3c/XQuery3.1.html&quot; (Line 17618): The element type &quot;hr&quot; must be terminated by the matching end-tag &quot;&lt;/hr&gt;&quot;.

There are 2 &lt;hr&gt; elements that are not closed.

I make that to be 361 edits that must be made to use XML based tools on the most recent XQuery 3.1 Candidate draft.

I realize this is a production error but it is one that significantly impacts the review of this draft.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124467</commentid>
    <comment_count>1</comment_count>
    <who name="Patrick Durusau">patrick</who>
    <bug_when>2015-12-18 03:37:43 +0000</bug_when>
    <thetext>I was using BaseX, which was correctly reporting errors with the file as I presented it.

However, the file as displayed (CNTR-U) in Chrome, is not the same file as saved by Chrome.

In particular, for some unknown (to me) reason, Chrome is stripping out the closing &quot;/&quot; from empty elements.

My bad. 

I have marked the status of this bug (and soon the others) as Resolved, Invalid. 

Please re-set if some other notation is more appropriate.

Hope you are having a great week!

Patrick</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>