[oXygen-user] oxygen says W3C html strict DTD has errors
Lars Huttar
Wed Sep 19 12:25:41 CDT 2007
Hello,
I'm editing an HTML document in Oxygen. The document begins with
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
When I try to save, Oxygen shows an "error" in the DTD:
SystemID: http://www.w3.org/TR/html4/strict.dtd
Location: 81:5
Description: The declaration for the entity "ContentType" must end
with '>'.
The offending location is the second of these three lines in strict.dtd:
<!ENTITY % ContentType "CDATA"
-- media type, as per [RFC2045]
-->
Maybe this is because the DTD is an SGML DTD rather than an XML one? I
don't know, but it seems strange for a W3C DTD to be called erroneous!
Incidentally, I think this DOCTYPE declaration was added by HTML Tidy,
or possibly by an HTML editor program.
Lars
More information about the oXygen-user
mailing list