W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > June 2006

fn: namespace

From: Richard Newman <r.newman@reading.ac.uk>
Date: Fri, 9 Jun 2006 18:43:25 -0700
Message-Id: <E36A91E5-A680-4729-98F2-A1C971C143B0@reading.ac.uk>
To: public-rdf-dawg-comments@w3.org

=== SPARQL doc

1.1 Document Conventions

In this document, examples assume the following namespace prefix  
bindings unless otherwise stated:

Prefix       IRI
rdf          http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs         http://www.w3.org/2000/01/rdf-schema#
xsd          http://www.w3.org/2001/XMLSchema#
fn           http://www.w3.org/2004/07/xpath-functions
===

=== http://www.w3.org/2005/xpath-functions/

This document describes the namespace http://www.w3.org/2005/xpath- 
functions/ of the XQuery 1.0 and XPath 2.0 Functions and Operators  
and XSL Transformations (XSLT) Version 2.0 specifications (September  
2005 versions).
...
Each function and operator is uniquely identified with a URI of the  
form: “http://www.w3.org/2005/xpath-functions/#name” where name is  
the name of a function or operator, such as “max”: http://www.w3.org/ 
2005/xpath-functions/#max.
===

Two points:

1. the fn IRI in the SPARQL doc terminates with neither / nor #,  
despite the X* doc using both; this causes a few difficulties when  
trying to expand URIs (surely <...xpath-functionsmatches> is not  
intended for fn:matches?)
2. <http://www.w3.org/2004/07/xpath-functions> appears to be an  
outdated IRI, and I see no reason why the newer one cannot be used.

Suggested remedy:

===
fn:        http://www.w3.org/2005/xpath-functions/#
===

Thanks,
-R
Received on Saturday, 10 June 2006 01:43:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:50 GMT