Subject: RE: Namespace prefixes in Schemas
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 16 Aug 2006 12:35:04 +0100
|
> No. It is an error if the processor matches only by prefix.
> But, the colon was a legal part of an XML name, before
> namespaces came around.
> Without the namespace declaration, the XML is still "well
> formed" if the node names contain prefixes and colons.
But XPath 1.0 section 5 says: XML documents operated on by XPath must
conform to the XML Namespaces Recommendation [XML Names].
Michael Kay
http://www.saxonica.com/
|