This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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 <svg> in text, meant to be displayed as-is, but the “<” character has not been escaped. Similarly for some occurrences of “&”. 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 <meta charset='utf-8'>, which is not present in the version presented in section 11 and which lacks the “/” character, so that the document is not well-formed.
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.)
OK. I think you want the code to validate when pasted into the validator. Looking at it again.
* 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 'hard link' to a copy of the sample document served as XHTML, thus exemplifying that polyglots can be served 'both ways'. 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