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 301 - Errors in DTDs are not distinguished from errors in document
Summary: Errors in DTDs are not distinguished from errors in document
Status: NEW
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: 0.6.1
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Terje Bless
QA Contact: qa-dev tracking
URL: http://flat5th.homeip.net/weav/dtd/sh...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-27 09:27 UTC by Terje Bless
Modified: 2008-06-23 17:37 UTC (History)
1 user (show)

See Also:


Attachments

Description Terje Bless 2003-08-27 09:27:07 UTC
As a workaround for a different bug ("characters larger than nnn not
supported"), the validator supresses error messages related to errors in DTDs
(actually it supresses messages from any other source than the document beeing
checked). This leads to the fun situation where the Validator reports a page as
invalid but doesn't give any actual error messages.

The correct fix is to deal with the original problem and begin reporting all
errors again.
Comment 1 Terje Bless 2004-05-16 06:18:56 UTC
Marking 0.7 to put back on the radar.
Comment 2 niq 2004-09-20 20:54:59 UTC
The problem goes deeper than this.  We can't report DTD errors without a change
to output formats, but you knew that.  But it's also a fix for *standard* DTDs
that emit warnings, like W3C HTML 4.0.

Reporting DTD errors starts to look a little like the difference between Page
Valet and Code Valet.  Different tools.  So let this be a post-m12n goal.
Comment 3 Terje Bless 2005-02-04 17:06:01 UTC
Taking up Nick (and Björn's) suggestion and retargetting this for some point
in the future. Fixing this will open up a can of worms I'm not sure we can
close until well after M12N.
Comment 4 Olivier Thereaux 2007-07-23 06:06:19 UTC
In validator 0.8.0, errors in the DTD are reported, although all errors are reported as if pertaining to document validated.

Changing bug summary from:
Errors in DTDs are Not Reported
To:
Errors in DTDs are not distinguished from errors in document
Comment 5 Bryce Nesbitt 2008-06-23 17:37:29 UTC
I see this also, with

<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.1//EN"
"http://www.openmobilealliance.org/tech/DTD/xhtml-mobile11.dtd">