W3C home > Mailing lists > Public > www-validator@w3.org > May 2006

Validator fails on Direct Input XML with internal DTD

From: Martin Duerst <duerst@it.aoyama.ac.jp>
Date: Tue, 30 May 2006 18:50:41 +0900
Message-Id: <>
To: www-validator@w3.org

Dear Validator crew,

[I'm no longer on the www-validator list, so please crosspost
for replies.]

I just tried the W3C Markup Validator for a lecture I'm giving.
I detected a bug that should be easy to fix:

When submitting an XML file with an internal DTD, things work
reasonably well (modulo the Validator's complaint saying
"If you would like to use a different encoding, you should arrange
to have your browser send this new encoding information.",
which would highly benefit from a link to a page explaining
how to do this).

However, when using Direct Input, validating the same file
fails miserably. As far as I'm understanding, the reason for
this is that with file upload, the validator detects that
it's dealing with XML, rather than SGML, and uses the
correct options. But for Direct Input, this doesn't work.

What seems to be needed is either a checkbox to say
"This is XML, not SGML" or some heuristics that check
for XML. Actually, given this day and age, the checkbox
should probably work the other way round, taking XML as
the default.

Many thanks in advance and kind regards,      Martin.

#-#-#  Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University
#-#-#  http://www.sw.it.aoyama.ac.jp      mailto:duerst@it.aoyama.ac.jp    
Received on Tuesday, 30 May 2006 11:28:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:48 UTC