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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6131





--- Comment #16 from Jonathan Robie <jonathan.robie@redhat.com>  2009-07-09 13:22:53 ---
We already use pseudo-functions for NameTests, e.g.

element(customer)

Why not use a similar notation for expanded names?


ExpandedName  ::=  "expanded-name" "(" URILiteral "," NCName ")"

expanded-name(http://example.com/customer, customer)

We could extend ElementTest, AttributeTest, and SchemaElementTest to allow
expanded names:

element(expanded-name(http://example.com/customer, customer))

A little verbose, but clear, and easily parsed in the various environments we
are considering.


-- 
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 Thursday, 9 July 2009 13:23:04 UTC