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

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 UTC