<?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>29345</bug_id>
          
          <creation_ts>2015-12-17 20:09:29 +0000</creation_ts>
          <short_desc>Failure to close empty elements makes use of XML-based tools for proofing overly difficult - Serialization</short_desc>
          <delta_ts>2015-12-18 03:35:35 +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>Serialization 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="C. M. Sperberg-McQueen">cmsmcq</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>124457</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick Durusau">patrick</who>
    <bug_when>2015-12-17 20:09:29 +0000</bug_when>
    <thetext>From XSLT and XQuery Serialization

[FODC0002] &quot;file:/home/patrick/working/w3c/XSLT-XQuery-Serialization3.1.html&quot; (Line 75): 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/XSLT-XQuery-Serialization3.1.html&quot; (Line 75): The element type &quot;meta&quot; must be terminated by the matching end-tag &quot;&lt;/meta&gt;&quot;.

2 non-closed &lt;meta&gt; elements

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

1 non-closed &lt;img&gt; element

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

138 non-closed &lt;br&gt; elements

[FODC0002] &quot;file:/home/patrick/working/w3c/XSLT-XQuery-Serialization3.1.html&quot; (Line 809): The end-tag for element type &quot;col&quot; must end with a &apos;&gt;&apos; delimiter.

4 non-closed &lt;col&gt; elements

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

2 non-closed &lt;hr&gt; elements

I make that to be 148 edits that must be made to use XML based tools on the most recent XSLT and XPath Serialization 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>124458</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2015-12-17 20:34:25 +0000</bug_when>
    <thetext>Thank you for the bug report.  Can you provide a little more information?  In particular, what software is raising these errors?

Both the document produced by the editorial production system and the production currently served from http://www.w3.org/TR/xslt-xquery-serialization-31/ look well-formed to me; I do not see any unclosed link, meta, or img elements.

More convincingly, perhaps, the document looks well formed to rxp and libxml, as the following fragment of my console log illustrates:

  [cmsmcq misc (0)]$ curl http://www.w3.org/TR/xslt-xquery-serialization-31/ &gt; ser31.xhtml
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
  100  306k  100  306k    0     0  64.7M      0 --:--:-- --:--:-- --:--:--  149M
  [cmsmcq misc (0)]$ rxp -s ser31.xhtml 
  [cmsmcq misc (0)]$ xmllint --noout ser31.xhtml 
  [cmsmcq misc (0)]$ tail +74 ser31.xhtml | head -3
                                            text-decoration: none }
  /**/
  &lt;/style&gt;&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;//www.w3.org/StyleSheets/TR/W3C-CR.css&quot; /&gt;&lt;/head&gt;&lt;body&gt;&lt;div class=&quot;head&quot;&gt;
  [cmsmcq misc (0)]$ 

The last bit shows the link element complained about in the first error message given.  It looks like a well-formed sole-tag to me; what software is not accepting it?

Could something in the path from http://www.w3.org/TR/xslt-xquery-serialization-31/ to your hard disk have transformed it from XHTML 1.0 Transitional into HTML that is not XHTML?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124465</commentid>
    <comment_count>2</comment_count>
    <who name="Patrick Durusau">patrick</who>
    <bug_when>2015-12-18 03:35:35 +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>