OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Access to elements from schema imported once removed!

[ Lists Home | Date Index | Thread Index ]

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


From: Kasimier Buchcik [mailto:kbuchcik@4commerce.de]
Sent: Mon 9/5/2005 10:40 AM
To: Chiusano Joseph
Cc: XML-dev
Subject: RE: [xml-dev] 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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS