W3C home > Mailing lists > Public > public-wai-ert@w3.org > September 2008

Namespace class for Pointers in RDF

From: Carlos Iglesias <carlos.iglesias@fundacionctic.org>
Date: Mon, 1 Sep 2008 12:41:22 +0200
Message-ID: <09700B613C4DD84FA9F2FEA521882819041E1784@ayalga.fundacionctic.org>
To: <public-wai-ert@w3.org>


Hi group,

Currently the Namespace class consists of:

Namespace (ptr:prefix, ptr:namespaceURI)

We created the Namespace class to be able to indicate namespaces for XPath and XPointer expressions, so our usage is limited to XML Namespacing, and thus I think we should name the class XMLNamespace to distinguish it from other namespacing mechanisms.

Additionally, XML 1.0 makes use of URIs for the namespace identification [1], but XML 1.1 use IRIs with the same purpose [2]. So, if we use a namespaceURI property we are somehow restricting the usage of the vocabulary with XML 1.1

The options are using a namespaceIRI property instead, as it is a superset of URIs (my only concern is that the term is far less "popular"), or a more generic name for the property (e.g. namespaceName as in the specification)

So the class could look like:

XMLNamespace (ptr:prefix, ptr:namespaceName)

Do you have any thoughts about this?

[1] - [http://www.w3.org/TR/xml-names/#concepts]
[2] - [http://www.w3.org/TR/xml-names11/#concepts]

Regards,
 CI.

____________________

Carlos Iglesias

Fundación CTIC
Parque Científico-Tecnológico de Gijón
33203 - Gijón, Asturias, España
teléfono: +34 984291212
email: carlos.iglesias@fundacionctic.org
URL: http://www.fundacionctic.org 
Received on Monday, 1 September 2008 10:41:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 1 September 2008 10:41:39 GMT