W3C home > Mailing lists > Public > www-rdf-logic@w3.org > May 2001

Re: DAML+OIL bug

From: Dan Connolly <connolly@w3.org>
Date: Sat, 19 May 2001 00:52:43 -0500
Message-ID: <3B060A2B.402F51C2@w3.org>
To: Drew McDermott <drew.mcdermott@yale.edu>
CC: www-rdf-logic@w3.org
Drew McDermott wrote:
> Pardon me if this has already been asked.
> In the DAML+OIL example, we have
> <rdf:RDF
>   xmlns:rdf ="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>   xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
>   xmlns:daml="http://www.daml.org/2001/03/daml+oil#"
>   xmlns:xsd ="http://www.w3.org/2000/10/XMLSchema#"
>   xmlns:dex ="http://www.daml.org/2001/03/daml+oil-ex#"
>   xmlns:exd ="http://www.daml.org/2001/03/daml+oil-ex-dt#"
>   xmlns     ="http://www.daml.org/2001/03/daml+oil-ex#"
> >
> The Allegro XML parser claims these are malformed URIs.

Well, they're perfectly good namespace names, i.e. URI references.
They work in lots of XML/XSLT/XML Schema software I use.
The Allegro XML parser is complaining for no good reason.

>  At first I
> thought I needed to do some "escape" trickery to get those #'s in, but
> my second thought was that the Allegro parser is correct.  Shouldn't
> the #'s just go away?


>  Namespaces are not the same as URL + name
> fragments.

Actually, they are:

[Definition:] An XML namespace is a collection of names, identified by a
reference [RFC2396],

--        Namespaces in XML
Thu, 14 Jan 1999 22:24:57 GMT

4. URI References

   The term "URI-reference" is used here to denote the common usage of a
   resource identifier.  A URI reference may be absolute or relative,
   and may have additional information attached in the form of a
   fragment identifier.


Both of those are cited from the DAML walkthru.

Now that I think about it, it's
odd that they don't come up in the DAML
reference document.

Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Saturday, 19 May 2001 01:52:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:45:38 UTC