Default namespaces and <includes>

I would appreciate some clarification as to what the
XML Schema spec says about the operation of
namespace definitions on included schemas.

For example, assume I set up a default namespace
on the schema element of the including schema.

If I now <include> a schema, do all the
namespace mappings active at the point of the
include carry into the included document?

I am thinking particularly of the best practice
document on default namespaces, approach 2.
That's the one where the XML Schema namespace
is qualified, and the default namespace is the
target namespace.

It shows references from the including document to
the included document not including a namespace
prefix. It doesn't give an example of the reverse.

I believe the reverse should be true, given my very
rough understanding of how includes work. However
I would like to know where the XMl Schema spec
covers this.

Thanks
Michael



------------------------------------------
This e-mail is confidential.  If you are not the intended recipient, any use, disclosure or copying of this document is unauthorised and prohibited.  If you have received this document in error, please delete the email and notify me by return email or by phoning the NEMMCO Helpdesk on 1300 300 295.

Received on Thursday, 27 September 2001 03:28:11 UTC