Hello,
Yes, the error is caused by a SGML DTD. The oXygen validator validates
only XML DTDs and XML documents that are conformant with XML DTDs.
Regards,
Sorin
Lars Huttar wrote:
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
_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user