[Bug 15006] New: Sample document as displayed is not well-formed XML

http://www.w3.org/Bugs/Public/show_bug.cgi?id=15006

           Summary: Sample document as displayed is not well-formed XML
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML/XHTML Compatibility Authoring Guide (ed: Eliot
                    Graff)
        AssignedTo: eliotgra@microsoft.com
        ReportedBy: ht@inf.ed.ac.uk
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org, eliotgra@microsoft.com


At various points in the document offered in section "Example Document", markup
is mentioned without being escaped.  In one case, i.e.

  "Polyglot markup introduces undeclared (native) default namespaces 
      for the the root SVG element (<svg>)"

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

Also wrt this example, it'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.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 30 November 2011 13:55:32 UTC