Namespace class for Pointers in RDF

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 UTC