<?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>9961</bug_id>
          
          <creation_ts>2010-06-20 13:55:12 +0000</creation_ts>
          <short_desc>View Source: Please base the markup of the polyglot spec on the polyglot spec</short_desc>
          <delta_ts>2013-09-05 16:10:53 +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 HTML/XHTML Compatibility Authoring Guide (ed: Eliot Graff)</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://dev.w3.org/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html</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="Leif Halvard Silli">xn--mlform-iua</reporter>
          <assigned_to name="Eliot Graff">eliotgra</assigned_to>
          <cc>eliotgra</cc>
    
    <cc>eoconnor</cc>
    
    <cc>hsivonen</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>rubys</cc>
    
    <cc>xn--mlform-iua</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>36279</commentid>
    <comment_count>0</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2010-06-20 13:55:12 +0000</bug_when>
    <thetext>This the source of the first elements of the draft:

]]
&lt;!DOCTYPE HTML&gt;
&lt;html dir=&quot;ltr&quot; lang=&quot;en&quot;&gt;&lt;head&gt;

  
    &lt;title&gt;Polyglot Markup: HTML-Compatible XHTML Documents&lt;/title&gt;
    &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;&gt;
    &lt;!-- 
      === NOTA BENE ===
      For the three scripts below, if your spec resides on dev.w3 you can check them
      out in the same tree and use relative links so that they&apos;ll work offline,
     --&gt;
    
    
  &lt;link charset=&quot;utf-8&quot; type=&quot;text/css&quot; rel=&quot;stylesheet&quot; 
href=&quot;html-xhtml-authoring-guide_files/respec.css&quot;&gt;
[[

ISSUES: doctype is invalid in polyglot markup, namespace is not declared, &lt;link/&gt; and &lt;meta/&gt; lack the &quot;/&quot;, the xml:lang attribute is lacking.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36713</commentid>
    <comment_count>1</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2010-07-09 06:25:22 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; ISSUES: doctype is invalid in polyglot markup,

Either way, the doctype is banned by pubrules. That is, you aren&apos;t allowed to use HTML5 in /TR/.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41272</commentid>
    <comment_count>2</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2010-10-13 23:26:37 +0000</bug_when>
    <thetext>I have created a script to follow for each time I publish, and I believe that the source code for the editor&apos;s draft is now polyglot-compliant. Let me know if I&apos;ve missed anything.

You can also check the 12 October hearbeat draft. Though it&apos;s not officially published, the draft can be viewed at http://dev.w3.org/html5/html-xhtml-author-guide/WD-html-polyglot-20101012.htm.

Thanks for your help and patience.

Eliot</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47555</commentid>
    <comment_count>3</comment_count>
    <who name="Sam Ruby">rubys</who>
    <bug_when>2011-04-19 15:49:28 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; (In reply to comment #0)
&gt; &gt; ISSUES: doctype is invalid in polyglot markup,
&gt; 
&gt; Either way, the doctype is banned by pubrules. That is, you aren&apos;t allowed to
&gt; use HTML5 in /TR/.

Action assigned to Mike Smith:

http://www.w3.org/html/wg/tracker/actions/202

- Sam Ruby</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50804</commentid>
    <comment_count>4</comment_count>
    <who name="Sam Ruby">rubys</who>
    <bug_when>2011-07-07 22:27:51 +0000</bug_when>
    <thetext>Example of unclosed markup in &lt;http://www.w3.org/TR/html-polyglot/&gt;:

&lt;input onclick=&quot;closeWarning(this.parentNode)&quot; type=&quot;button&quot; value=&quot;X&quot;&gt;

See also:

http://www.w3.org/2011/05/26-html-wg-minutes.html#item01
http://www.w3.org/2011/07/07-html-wg-minutes.html#item12</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53114</commentid>
    <comment_count>5</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:06:49 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53163</commentid>
    <comment_count>6</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:07:13 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57048</commentid>
    <comment_count>7</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2011-09-20 19:33:02 +0000</bug_when>
    <thetext>This is now fixed in the source for the editors draft and the latest TR draft.

Thanks,

Eliot</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57052</commentid>
    <comment_count>8</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2011-09-20 20:10:44 +0000</bug_when>
    <thetext>It is simple to verify that it has not been fixed: just parse the document as XHTML. You will then set:

1. There is an illegal &amp;nbsp; - search for &apos;polyglot&amp;nbsp;markup&apos; in
     the code
2. There is no xmlns=&apos;&apos; attribute that declares the XHTML namespace.
3  There is no xml:lang attribute (unlike 1. and 2., this migh tnot 
     have any visible impact though)

I tested both http://dev.w3.org/html5/html-xhtml-author-guide/ and http://www.w3.org/TR/html-polyglot/.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93050</commentid>
    <comment_count>9</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2013-09-05 16:08:58 +0000</bug_when>
    <thetext>Resolving as this is now part of the publishing process for polyglot</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93052</commentid>
    <comment_count>10</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2013-09-05 16:10:53 +0000</bug_when>
    <thetext>Fingers crossed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>