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 65 - Valid HTML 2.0 as app/xhtml+xml is labelled invalid.
Summary: Valid HTML 2.0 as app/xhtml+xml is labelled invalid.
Status: RESOLVED FIXED
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: 0.6.0
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Terje Bless
QA Contact: qa-dev tracking
URL: http://www.bjoernsworld.de/temp/xhtml...
Whiteboard:
Keywords:
Depends on: 336 739
Blocks:
  Show dependency treegraph
 
Reported: 2002-11-02 20:00 UTC by Terje Bless
Modified: 2007-04-02 07:30 UTC (History)
0 users

See Also:


Attachments

Description Terje Bless 2002-11-02 20:00:29 UTC
Reported by Björn Höhrmann:

  http://www.bjoernsworld.de/temp/xhtml-html.xhtml is
application/xhtml+xml delivered valid HTML 2.0 document:

  <!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN">
  <title//
  <p>...

The Validator says "This Page Is NOT Valid HTML 2.0!" as a result of
using the SGML parser in XML mode [...].
Comment 1 Terje Bless 2002-11-02 20:01:17 UTC
Not sure what, if anything, could be done about this. Targetting 0.7.0 for a review.
Comment 2 Terje Bless 2004-09-09 18:02:38 UTC
The HTML 2.0 FPI should be allowed only with a text/html media type so if one
is found in a document served as app/*+xml we should emit a warning (possibly
a fatal error) about it.
Comment 3 niq 2004-09-20 21:05:24 UTC
Yes we should report a fatal error.  But the wording needs changing: "this page
was sent with an XML MIME type, but is not well-formed XML"
Comment 4 Terje Bless 2004-10-12 19:20:53 UTC
Won't make it for 0.7.0.
Comment 5 Olivier Thereaux 2007-04-02 07:30:16 UTC
The resolution of Bug 336, with a strong warning about the bogus media type, is the best we can do for such a pathological case. Reopen if you have any better idea.