Re: [VE] [81] character X not allowed in attribute specification list

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

Received on Monday, 24 November 2014 13:57:27 UTC