<?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>21810</bug_id>
          
          <creation_ts>2013-04-24 04:26:21 +0000</creation_ts>
          <short_desc>Example document not conforming</short_desc>
          <delta_ts>2013-04-24 15:40:11 +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>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="Jukka K. Korpela">jukka.k.korpela</reporter>
          <assigned_to name="Leif Halvard Silli">xn--mlform-iua</assigned_to>
          <cc>eliotgra</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</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>86663</commentid>
    <comment_count>0</comment_count>
    <who name="Jukka K. Korpela">jukka.k.korpela</who>
    <bug_when>2013-04-24 04:26:21 +0000</bug_when>
    <thetext>The example document in section 11 is not conforming. Using cut and paste, the W3C Validator reports 11 errors. The reason is that the example contains constructs like &lt;svg&gt; in text, meant to be displayed as-is, but the “&lt;” character has not been escaped. Similarly for some occurrences of “&amp;”.

These problems are not present in the version
http://dev.w3.org/html5/html-xhtml-author-guide/SamplePage.html
linked to, but that version has a different problem:
It has the tag &lt;meta charset=&apos;utf-8&apos;&gt;, which is not present in the version presented in section 11 and which lacks the “/” character, so that the document is not well-formed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86667</commentid>
    <comment_count>1</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2013-04-24 12:15:39 +0000</bug_when>
    <thetext>Fixed. Checked in as revision: 1.102; (Eliot, while ReSpec prevents us from keeping the editor’s draft fully polyglot, I suggest we try to keep the document _XML-compatible_ all the time.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86668</commentid>
    <comment_count>2</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2013-04-24 12:32:29 +0000</bug_when>
    <thetext>OK. I think you want the code to validate when pasted into the validator. Looking at it again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86679</commentid>
    <comment_count>3</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2013-04-24 15:40:11 +0000</bug_when>
    <thetext>* Now I have made the code in the inline example document validated also when you paste it.

* I also updated the code a bit so that we, editors, can simply browse the main document and paste the result into the sample documents.

* Thus I updated the sample document accordingly.

* Additionally, I added a &apos;hard link&apos; to a copy of the sample document served as XHTML, thus exemplifying that polyglots can be served &apos;both ways&apos;.

See commits 1.102 to 1.106.

http://dev.w3.org/cvsweb/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html?rev=1.106</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>