[oXygen-user] html validation error
Lars Huttar
Mon May 11 16:21:06 CDT 2009
Hello,
Often when I copy and paste HTML code from somewhere, and edit the
resulting page in Oxygen, I get a validation error in
http://www.w3.org/TR/html4/strict.dtd
For example, when the DOCTYPE at the beginning says
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
I get the validation error:
F [Xerces] The declaration for the entity "ContentType" must end with '>'.
If I click on this error message, it takes me not to my html document,
but to http://www.w3.org/TR/html4/strict.dtd, to the following declaration:
<!ENTITY % ContentType "CDATA"
-- media type, as per [RFC2045]
-->
The middle of those three lines is highlighted.
I could understand if something in my own HTML were invalid; but this
appears to be saying that the standard DTD provided by W3C is not
well-formed.
I'm not a DTD guru, but I would be very surprised if that were the case.
Is this a Xalan bug, then?
This is not a showstopper for me, but it does make it more complicated
for me to do validation on the html I'm writing.
Thanks,
Lars
More information about the oXygen-user
mailing list