Re: [Fwd: MobileOK Validator Issues]

More this -- actually, the document I was testing was specifying the
wrong location of the HTML DTD for some reason, so it yielded an error
for that reason.

But yes, interesting, I see this message when parsing and HTML 4 doc:

[Fatal Error] strict.dtd:81:5: The declaration for the entity
"ContentType" must end with '>'.

Xerces doesn't like it, and indeed the DTD is a little weird:

<!ENTITY % ContentType "CDATA"
    -- media type, as per [RFC2045]
    -->

I am not sure what to make of that... I am no DTD expert but that does
look like the closing '>' is commented out.

Anyone have any insights on that one?

On Sun, Mar 9, 2008 at 1:45 PM, Sean Owen <srowen@google.com> wrote:
>  Looking in a bit more, the text of the first error mentions a
>  ContentType entity, which sounds like something in the DTD indeed. I
>  wonder which DTD? He mentions HTML 4.01 Strict, but I tried running
>  one through the checker and get an error about not having a local copy
>  of that DTD. Oops, something for me to chase down.

Received on Sunday, 9 March 2008 19:41:52 UTC