fn: namespace

=== 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 UTC