[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Namespace prefixes in Schemas

Subject: Re: Namespace prefixes in Schemas
From: Abel Online <abel.online@xxxxxxxxx>
Date: Wed, 16 Aug 2006 13:13:56 +0200
Re:  Namespace prefixes in Schemas
Antsnio Mota wrote:

So "to match the namespace URI rather than the prefix" should be the
correct beahviour of any XPath processor,

Yes.


or is that left to the
processor implementation?

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. Meaning, that if there's a namespace declaration, the XML must be considered as XML + Namespaces. If there's no namespace declaration, it can be considered as just XML.


Not that this is necessarily the cause for processors to act as if the prefix is part of the node name.


Neverthleless, i'm going to try to get some help on the Sarissa list too.


Thanks for your time.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.