<?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>15006</bug_id>
          
          <creation_ts>2011-11-30 13:55:26 +0000</creation_ts>
          <short_desc>Sample document as displayed is not well-formed XML</short_desc>
          <delta_ts>2013-04-08 04:22: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>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="Henry S. Thompson">ht</reporter>
          <assigned_to name="Eliot Graff">eliotgra</assigned_to>
          <cc>eliotgra</cc>
    
    <cc>mike</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>60666</commentid>
    <comment_count>0</comment_count>
    <who name="Henry S. Thompson">ht</who>
    <bug_when>2011-11-30 13:55:26 +0000</bug_when>
    <thetext>At various points in the document offered in section &quot;Example Document&quot;, markup is mentioned without being escaped.  In one case, i.e.

  &quot;Polyglot markup introduces undeclared (native) default namespaces 
      for the the root SVG element (&lt;svg&gt;)&quot;

this makes the document you get if you simply copy the visible text not be well-formed XML.  Here (and e.g. for &quot;&lt;p&gt;&lt;/p&gt; not &lt;p /&gt;&quot;) the &apos;&lt;&apos; should be replaced with &apos;&amp;lt;&apos;.

Also wrt this example, it&apos;s probably misleading to leave unescaped link markup in the displayed text.  I would suggest simply wrapping the entire exact SamplePage.html document (which itself is well-formed) in a CDATA-section in your source HTML, then all the above problems will go away.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62017</commentid>
    <comment_count>1</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-12-25 02:44:10 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; Also wrt this example, it&apos;s probably misleading to leave unescaped link markup
&gt; in the displayed text.  I would suggest simply wrapping the entire exact
&gt; SamplePage.html document (which itself is well-formed) in a CDATA-section in
&gt; your source HTML, then all the above problems will go away.

The spec is served as text/html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85690</commentid>
    <comment_count>2</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2013-04-08 04:22:20 +0000</bug_when>
    <thetext>Cleaned up the sample code and removed hyperlinks in the code.


new revision: 1.92; previous revision: 1.91</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>