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
Status: RESOLVED FIXED
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
URL: http://www.gtalbot.org/BugzillaSection/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-22 08:52 UTC by Gérard Talbot
Modified: 2005-09-21 05:06 UTC (History)
0 users

See Also:


Attachments

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

1- Validate this address 
http://www.gtalbot.org/BugzillaSection/
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

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.gtalbot.org%2FBugzillaSection%2F&charset=%28detect+automatically%29&doctype=Inline
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.
see:
http://qa-dev.w3.org/wmvs/HEAD/check?uri=http%3A%2F%2Fwww.gtalbot.org%2FBugzillaSection

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

Thanks!