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

RE: Access to elements from schema imported once removed!


once removed products
Title: RE: Access to elements from schema imported once removed!
Thanks - can you bottom-line that please?
 
Joe Chiusano


From: Kasimier Buchcik [mailto:kbuchcik@4...]
Sent: Mon 9/5/2005 10:40 AM
To: Chiusano Joseph
Cc: XML-dev
Subject: RE: Access to elements from schema imported once removed!

Hi,

On Mon, 2005-09-05 at 10:18 -0400, Chiusano Joseph wrote:
> From a quick glance, in your "imported schema", element "globalElement
> is not in the "urn:foo" namespace because it does not have a namespace
> prefix, and you have not specified a default namespace for that
> schema. If you add a default namespace declaration to the imported
> schema that makes the "urn:foo" namespace your default namespace, it
> should work.

The target-namespace of a top-level element declaration is dependent
on the targetNamespace attribute of the parent <schema> element only;
i.e. the value of the "name" attribute is not a QName. On the other
hand, references to schema components _are_ QNames, so namespace
declarations are taken into account when referencing.

Regards,

Kasimier


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.