Relative System identifiers

Dear HTML Editors and HTML WG,

At http://www.w3.org/TR/xhtml1/#docconf,
there are some examples of XHTML Doctype declarations and
and XHTML example:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
      PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <title>Virtual Library</title>
   </head>
   <body>
     <p>Moved to <a href="http://vlib.org/">vlib.org</a>.</p>
   </body>
</html>

This is correct just just by chance if we assume that the base
URI of the document the example is contained is inherited
by the example itself. I'm not sure there is any spec to that
effect, but I don't want to say that the example is incorrect.

However, I think the example and the Doctype declarations
before it are unnecessarily context-dependent. All of them
should use absolute URIs to make it much easier for users
to just copy and paste them. Whoever wants to relativize
the URI is of course free to do that, but the thing should
work without any problems everywhere even without changing it.

So please add this to the errata at
http://www.w3.org/2000/01/REC-xhtml1-20000126-errata/

Many thanks and kind regards,    Martin.

Received on Friday, 21 April 2000 04:07:57 UTC