W3C home > Mailing lists > Public > www-validator@w3.org > January 2005

Re: Entity Not Allowed in Processing Instruction (was: Re: html validator)

From: Lachlan Hunt <lachlan.hunt@iinet.net.au>
Date: Sun, 30 Jan 2005 22:29:01 +1100
Message-ID: <41FCC4FD.5050504@iinet.net.au>
To: Kevin Doede <kevindoede@msn.com>
CC: www-validator@w3.org

Without a URL (preferred), or at least a sample of the offending code, 
it is very difficult to diagnose errors.

Kevin Doede wrote:
> Please explain: </html> error says entity not allowed in processing 
> instruction.  I thought I was closing my web page.

I'm guessing that may mean that a processing instruction at the top of 
the page, most likely the <?xml?> declaration, is not closed properly. 
If that is the case, you're better off removing the xml declaration 
because it triggers quirks mode in IE, so long as the rest of the 
document complies with Appendix C of the XHTML spec.  Well, that is 
assuming you are serving it as text/html; in which case, you'd be better 
off using HTML 4.01 anyway.

> 2nd error on same word </html> no doc element.

Fixing the first error may also fix the second; but, without seeing the 
document, it is difficult to say for sure.

Lachlan Hunt
http://GetFirefox.com/    Rediscover the Web
http://SpreadFirefox.com/   Igniting the Web
Received on Sunday, 30 January 2005 11:29:10 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:44 UTC