Re: abstract elements and late binding namespaces

> Here is the first errors. What you have done by including a schema 
> with no namespace into a schema with a namespace is something that is 
> called a 'Chameleon' include (see [1] for more details). What this 
> means is that you bring in all the components of the included schema 
> to the namespace of the including schema. So, in the above element 
> declaration you have declared that the header and record element 
> should be in the substitutionGroup of abstractHeader and 
> abstractRecord respectively. The problem is that abstractHeader and 
> abstractRecord now have the namespace "http://the.namespace" just like 
> your other components so you need to reference them using the TNS 
> prefix. The following should do the trick: 


Sorry, forgot the link...

Cheers,
/Eddie

[1] http://www.xfront.com/ZeroOneOrManyNamespaces.pdf

Received on Thursday, 13 June 2002 20:12:08 UTC