W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2011

Re: xpath string index function

From: Gregory Williams <greg@evilfunhouse.com>
Date: Tue, 4 Oct 2011 09:44:18 -0400
Cc: public-rdf-dawg@w3.org
Message-Id: <45AA4887-C6E2-4F23-9A69-EB4DE1C7862C@evilfunhouse.com>
To: Andy Seaborne <andy.seaborne@epimorphics.com>
On Oct 3, 2011, at 5:39 PM, Andy Seaborne wrote:

> I have prototyped:
> and didn't encountered anything unexpected.
> I propose adding these as resolution of JB-7 (part 1)

I'm not very familiar with the relevant xsd functions here, but I'm very hesitant to support adding these if they introduce a lot of new complexity. For example, without digging into the XSD and Unicode spec documents, it's not obvious to me why:

fn:substring-before ( "abcdefghi", "--d-e-", "CollationA") returns "abc"
(from http://www.w3.org/TR/xpath-functions/#func-substring-before)

If the SPARQL functions being discussed operated on simple strings (or regex, as in REPLACE), I'd be more comfortable supporting their addition.

Received on Tuesday, 4 October 2011 13:45:19 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:05 UTC