This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 1809 - "Unknown Document Type and Parse Mode!" error message for ISO 15445 document
Summary: "Unknown Document Type and Parse Mode!" error message for ISO 15445 document
Alias: None
Product: Validator
Classification: Unclassified
Component: Parser (show other bugs)
Version: 0.7.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Terje Bless
QA Contact: qa-dev tracking
Depends on:
Reported: 2005-07-22 08:52 UTC by Gérard Talbot
Modified: 2005-09-21 05:06 UTC (History)
0 users

See Also:


Description Gérard Talbot 2005-07-22 08:52:12 UTC
Steps to reproduce:

1- Validate this address
with v.0.70

Actual results:
In the page, an error message will say:
Unknown Document Type and Parse Mode!
    The MIME Media Type (text/html) for this document is used to serve both SGML
and XML based documents, and no DOCTYPE Declaration was found to disambiguate
it. Parsing will continue in SGML mode and with a fallback DOCTYPE similar to
HTML 4.01 Transitional.

Expected results:
There should be no error message of such nature IMO, just like there was none
with v.0.6.7
Comment 1 Olivier Thereaux 2005-09-21 05:06:41 UTC
Gerard, thanks a lot for the excellent bug report.
I have added the alternate pubId for ISO HTML in cvs, it will be in our next release.

(note: the message was not an error message but a warning.)