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

Relative URI to DTD fails

From: James Crompton <j.crompton@aiic.net>
Date: Fri, 20 Jan 2006 20:44:45 +0100
Message-ID: <43D13DAD.1090702@aiic.net>
To: www-validator@w3.org

The validator only validates succesfully against a DTD given by a system 
identifier if that system identifier is a fully qualified URI.

The XML 1.0 recommendation explicitly provides for relative URIs for 
system identifiers (http://www.w3.org/TR/REC-xml/#dt-sysid).

If you point the validator at a page with an address like 
http://www.example.com/somePage.xhtml with a DOCTYPE declaration like this:

<!DOCTYPE html SYSTEM "someDTD.dtd">

the validator complains that it can't find the dtd, even if the resource 
does in fact exist at http://www.example.com/someDTD.dtd.

James Crompton

AIIC.MAIL - A service of the International Association of Conference Interpreters to Members 
--- http://www.aiic.net 
Received on Friday, 20 January 2006 19:44:47 UTC

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