W3C home > Mailing lists > Public > semantic-web@w3.org > May 2009

Safe to use the colon character in the path segment of URL ?identifiers?

From: Peter Krantz <peter.krantz@gmail.com>
Date: Mon, 4 May 2009 14:52:10 +0200
Message-ID: <7b9ad66d0905040552y27714a56j6652e7da12b92317@mail.gmail.com>
To: Semantic Web <semantic-web@w3.org>
Hi!

We are in the process of identifying legal information resources in
RDF. Each resource has a property that identifies it uniquely in this
domain of the form YYYY:NN (e.g. "2006:45"). We'd like to reuse this
property in the url-path segment when constructing URI:s for these
resources since the process and organization behind it guarantees its
uniqueness.

According to RFC 1738 [1] the colon character is OK in the url-path,
but since it is one of the reserved characters for other segments I
guess there could be some libraries that erronously would escape it.

Has anyone on this list had any trouble with using the colon character
in URL identifiers in semweb (or other) toolsets?

Regards,

Peter

[1]: http://tools.ietf.org/html/rfc1738
Received on Monday, 4 May 2009 12:52:45 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 08:45:12 UTC