W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2009

[Bug 6131] [XPath 2.1] Requirement: context-free paths

From: <bugzilla@wiggum.w3.org>
Date: Wed, 08 Jul 2009 12:00:06 +0000
To: public-qt-comments@w3.org
Message-Id: <E1MOVok-0002x5-SP@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6131





--- Comment #8 from John Snelson <john.snelson@oracle.com>  2009-07-08 12:00:06 ---
In concrete terms, I think using Clark names means this syntax:

EQName := QName | ClarkName

ClarkName := DelimitedURI NCName /* ws:explicit */

DelimitedURI ::= '{' [^}]* '}' /* ws:explicit */

Wildcard ::= 
  "*"
| (NCName ":" "*")
| (DelimitedURI "*")
| ("*" ":" NCName)    /* ws:explicit */

It also probably means a note in XSLT's attribute value templates and XQuery's
direct attribute constructors clarifying what this means:

<a b="hello {{http://example.com}name}"/>

My suggestion is that we should maintain backwards compatibility, and say that
the "{{" in the attribute value is considered an escaped left curly brace, and
that the "b" attribute's value is the literal string:

"hello {http://example.com}name}"


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 8 July 2009 12:00:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 8 July 2009 12:00:16 GMT