GNOME Bugzilla – Bug 647546
DTD parsing failure: http://www.w3.org/TR/html4/strict.dtd
Last modified: 2017-06-13 23:44:08 UTC
xmllint whatever.xml --dtdvalid http://www.w3.org/TR/html4/strict.dtd fails with the following message: strict.dtd:81: parser error : xmlParseEntityDecl: entity ContentType not terminated -- media type, as per [RFC2045] ^ strict.dtd:81: parser error : Content error in the external subset -- media type, as per [RFC2045] ^ Could not parse DTD strict.dtd
Just tried with git master (d7958b21e7f8c447a26bb2436f08402b2c308be4), it has same behavior.
Arnald Le Hors, co-author of the W3C's strict.dtd sayd: > HTML4 is defined as an SGML application not as XML. So maybe this is an invalid bug ?
libxml2 doesn't support SGML DTDs.