<?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>12817</bug_id>
          
          <creation_ts>2011-05-30 09:51:20 +0000</creation_ts>
          <short_desc>The hr element (and others) Compliments for a great piece of work. However, one issue threatens to undermine the future of HTML5: wellformedness is not required. This may generally lead to ambiguity (did the author intentionally omit the closing tag?) and</short_desc>
          <delta_ts>2011-08-04 05:36:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#top</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ayg</cc>
    
    <cc>brunoaiss</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>Ms2ger</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>48921</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-05-30 09:51:20 +0000</bug_when>
    <thetext>Specification: http://www.w3.org/TR/2011/WD-html5-20110525/
Section: http://www.whatwg.org/specs/web-apps/current-work/#top

Comment:
The hr element (and others)

Compliments for a great piece of work. However, one issue threatens to
undermine the future of HTML5: wellformedness is not required. This may
generally lead to ambiguity (did the author intentionally omit the closing
tag?) and slower parsing (larger context required). It would be a missed
opportunity if HTML5 would not meet this generic XML requirement. Meanwhile,
the whole professional world has learned to &lt;hr /&gt; and &lt;br /&gt;. Please consider
abandoning this &quot;feature&quot;.


Posted from: 84.87.120.148
User agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.21022; .NET CLR 3.5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; MS-RTC LM 8)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48922</commentid>
    <comment_count>1</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2011-05-30 10:25:52 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; Compliments for a great piece of work. However, one issue threatens to
&gt; undermine the future of HTML5: wellformedness is not required. This may
&gt; generally lead to ambiguity (did the author intentionally omit the closing
&gt; tag?) and slower parsing (larger context required). It would be a missed
&gt; opportunity if HTML5 would not meet this generic XML requirement. Meanwhile,
&gt; the whole professional world has learned to &lt;hr /&gt; and &lt;br /&gt;. Please consider
&gt; abandoning this &quot;feature&quot;.

I believe Mark Pilgrim would translate this into English as &quot;I am as high as a kite&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48937</commentid>
    <comment_count>2</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-05-30 22:30:43 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; Compliments for a great piece of work. However, one issue threatens to
&gt; undermine the future of HTML5: wellformedness is not required.

This has not been an impediment to HTML adoption in the 20 years since it was first created.  In contrast, XHTML tried to solve the well-formedness problem and failed miserably.  So the evidence is squarely in the opposite direction: requiring well-formedness would destroy the future of HTML.

&gt; This may
&gt; generally lead to ambiguity (did the author intentionally omit the closing
&gt; tag?)

The spec generally makes markup invalid in cases where the author&apos;s intent is unclear, and only allows closing tags to be omitted in cases where the intent is clear.  If there are specific cases where the spec allows markup that you think might indicate authoring error, I suggest you file bugs on those specific cases.

&gt; and slower parsing (larger context required).

Empirical evidence suggests that parsing HTML is not much slower than parsing XML: http://hsivonen.iki.fi/cost-of-html/

&gt; It would be a missed
&gt; opportunity if HTML5 would not meet this generic XML requirement.

XHTML attempted to require XML well-formedness, and was a disastrous failure.  Trying to go back to XHTML when it had ten years to succeed and did not is not much of a missed opportunity.

But fortunately for you, HTML5 does support an XML serialization, XHTML5.  You are free to write and serve your own pages as well-formed XML if you so choose.  HTML5 is not going to require that everyone do this, however.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50000</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-06-21 07:33:24 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: Conformance to precise syntax rules _is_ required. I&apos;m not sure what you mean by &quot;wellformedness&quot; outside of an XML context.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54127</commentid>
    <comment_count>4</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:36:20 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>