[oXygen-user] html validation error
Mon May 11 16:21:06 CDT 2009
Often when I copy and paste HTML code from somewhere, and edit the
resulting page in Oxygen, I get a validation error in
For example, when the DOCTYPE at the beginning says
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
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
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.
More information about the oXygen-user