After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 647546 - DTD parsing failure: http://www.w3.org/TR/html4/strict.dtd
DTD parsing failure: http://www.w3.org/TR/html4/strict.dtd
Status: RESOLVED NOTABUG
Product: libxml2
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-12 10:49 UTC by strk
Modified: 2017-06-13 23:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description strk 2011-04-12 10:49:03 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
Comment 1 strk 2011-04-12 10:59:59 UTC
Just tried with git master (d7958b21e7f8c447a26bb2436f08402b2c308be4), it has same behavior.
Comment 2 strk 2011-04-12 12:05:11 UTC
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 ?
Comment 3 Nick Wellnhofer 2017-06-13 23:44:08 UTC
libxml2 doesn't support SGML DTDs.