W3C home > Mailing lists > Public > www-html-editor@w3.org > April to June 2000

Relative System identifiers

From: Martin J. Duerst <duerst@w3.org>
Date: Fri, 21 Apr 2000 15:56:36 +0900
Message-Id: <4.2.0.58.J.20000421154519.02f86840@sh.w3.mag.keio.ac.jp>
To: www-html-editor@w3.org
Cc: connolly@w3.org, webreq@w3.org, w3c-html-wg@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:46 GMT