[dsdl-discuss] Re: URL (Re: Datatypes strawman)

From: Rick Jelliffe <ricko@topologi.com>
Date: Wed Jul 17 2002 - 11:31:26 UTC

From: "Martin Bryan" <mtbryan@sgml.u-net.com>

> Not sure whether your mixing two different thing here. IDs and URLs are both
> subsets of strings, with different character set constraints. ID uniqueness
> checking, like URL resolvability, is outside of datatyping. ID uniqueness
> checks fall within Part 2's responsibility. But where does the checking of a
> namespace URL against the IETF rules come in? This is why I wanted to
> introduce a primitive datatypes for URLs and their replacements, to allow a
> level of checking for things where URLs are required.

Without a built-in knowledge of the URL scheme, you cannot say that
   http://www.eg.com/x/../x
is the same as
   http://www.eg.com/x

That is what I meant by the value space of XML Schema URLs being
strings not locators.

From memory, we found it very difficult actually to check against the
IETF rules, because once IRIs are allowed, almost any character
can appear.

The current practise of URLs is that the ASCII form given by the
RFCs is what is used for binary protocols, but that documents and
software should use IRIs, in which you can have the direct characters.
The IRI RFC has been very slow coming, but it is certainly the
intent of the W3C I18n WG and the IETF people involved to
use IRIs more.

Cheers
Rick

--
DSDL members discussion list
To unsubscribe, please send a message with the
command  "unsubscribe" to dsdl-discuss-request@dsdl.org
(mailto:dsdl-discuss-request@dsdl.org?Subject=unsubscribe)
Received on Wed Jul 17 07:16:57 2002

This archive was generated by hypermail 2.1.8 : Fri Dec 03 2004 - 14:00:27 UTC