Subject: RE: Namespace prefixes in Schemas
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 16 Aug 2006 12:32:45 +0100
|
> So "to match the namespace URI rather than the prefix" should
> be the correct beahviour of any XPath processor
Yes.
XPath 1.0 section 2.3:
A node test that is a QName is true if and only if the type of the node (see
[5 Data Model]) is the principal node type and has an expanded-name equal to
the expanded-name specified by the QName.
section 5:
an expanded-name... is a pair consisting of a local part and a namespace URI
Michael Kay
http://www.saxonica.com/
|