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: Thu, 09 Jul 2009 13:22:53 +0000
To: public-qt-comments@w3.org
Message-Id: <E1MOtaP-00016p-CV@wiggum.w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:28 UTC