- From: Richard Newman <r.newman@reading.ac.uk>
- Date: Sun, 18 Dec 2005 01:52:28 -0800
- To: Eric Prud'hommeaux <eric@w3.org>
- Cc: public-rdf-dawg-comments@w3.org
Ah, I see. Without following the chain to <http://www.w3.org/TR/xpath- functions/>, I didn't know that --- The functions defined with an fn prefix are callable by the user. Functions defined with the op prefix are described here to underpin the definitions of the operators in [XML Path Language (XPath) 2.0], [XQuery 1.0: An XML Query Language] and [XSL Transformations (XSLT) Version 2.0]. These functions are not available directly to users, and there is no requirement that implementations should actually provide these functions. For this reason, no namespace is associated with the op prefix. --- I was under the (wrong) impression that each of the functions was identified by a real URI, rather than an 'editorial' URI, and thus op: would have to be bound to some prefix. I'd not come across that before. I would perhaps insert "(in accordance with [XQuery] §1.2)" right after "named with the prefix op:", where [XQuery] is <http:// www.w3.org/TR/xpath-functions/>. Otherwise, that's fine. Thanks for the response. -R On 13 Dec 2005, at 04:30, Eric Prud'hommeaux wrote: > On Wed, Oct 26, 2005 at 11:08:10PM +0100, Richard Newman wrote: >> >> Howdy, >> In "Namespaces:", immediately preceding <http://www.w3.org/TR/rdf- >> sparql-query/#operandDataTypes>: >> >> --- >> The namespace for XPath functions that are directly available by name >> is http://www.w3.org/2004/07/xpath-functions. The associated >> namespace prefix used in this document is fn:. XPath operators are >> named with the prefix op:, XML Schema datatypes with the prefix op:, >> and types of RDF terms with the prefix r:. SPARQL operators are named >> with the prefix sop:. >> --- >> >> So, >> >> fn: = http://www.w3.org/2004/07/xpath-functions. >> >> I have two preliminary observations: >> >> 1. "XML Schema datatypes with the prefix op:". Shouldn't this be xs:, >> judging by §11.1, or xsd:, following convention? >> 2. The only namespace prefixes listed in §1.1 are rdf:, rdfs:, and >> xsd:. AFAICS, this leaves: >> a) fn: defined, but not listed in §1.1 >> b) op:, sop:, xs:, and r: without a definition that I can see in >> this document. >> >> Thoughts? If someone knows the URI for sop:, I'd very much like to >> be corrected, as I'm trying to write that part of twinql :) > > The lastest working draft [WD] has > [[ > The namespace for XPath functions that are directly available by name > is http://www.w3.org/2004/07/xpath-functions. The associated > namespace prefix used in this document is fn:. XPath operators are > named with the prefix op:, XML Schema datatypes with the prefix xsd:, > and types of RDF Schema terms with the prefix rdfs:. > ]] > > I had adopted XPath's op: editorial style of indicating operators but > that appears to create too much confusion. I use a new editorial style > now, and there is no URL that identifies the operators. > > Plesae respond indicating whether this is satisfactory to you. You may > prefix the Subject: with [CLOSED] if you wish to close this issue. > > [WD] http://www.w3.org/TR/2005/WD-rdf-sparql-query-20051123/ > -- > -eric > > office: +81.466.49.1170 W3C, Keio Research Institute at SFC, > Shonan Fujisawa Campus, Keio University, > 5322 Endo, Fujisawa, Kanagawa 252-8520 > JAPAN > +1.617.258.5741 NE43-344, MIT, Cambridge, MA 02144 USA > cell: +81.90.6533.3882 > > (eric@w3.org) > Feel free to forward this message to any list for any purpose other > than > email address distribution.
Received on Sunday, 18 December 2005 09:52:44 UTC