Re: [VE] [81] character X not allowed in attribute specification list
"Jukka K. Korpela" <[email protected]> Mon, 24 Nov 2014 15:56:59 +0200
| Newsgroups | gmane.org.w3c.validator |
|---|---|
| Message-ID | <[email protected]> |
2014-11-24 15:43, David Dorward wrote: > On 24 Nov 2014, at 11:55, Carl Smith wrote: > > The vast majority of the errors were created due to a script in the > head, however the validator was unable to detect this, and so > processed the script like as if it was HTML. > > The validator was correct to do so. See the specification > <http://www.w3.org/TR/xhtml1/#h-4.8>. > > Since you are serving your document as |text/html| you should consider > using HTML instead of XHTML. That would require many modifications, since the code is now a mix of HTML and XHTML. To deal with script data, it would probably be best to put it in an external file and refer to it with <script src="..."></script>. Yucca