Re: Circular imports? (newbie)

Gary Maltzen wrote:
> 
> Although XMLSchema spec section 4.2.2 clearly states that it is invalid 
> to import into a namespace a schema from the same namespace, it is not 
> clearly spelled out that (whether?) it holds for descendant imports.
> 

import means allowing access to components from another namespace.

> In particular we are trying to understand a schema presented us where a 
> schema (A:parent) from namespace A imports a schema (B:child) from 
> namespace B which, in turn, imports a schema (A:generation) from 
> namespace A. It appears to me that these schema should not validate.
> 

no, such cross-imports are perfectly legal.  I don't know where you read 
any prohibition of them.

> Reviewing the archives I see questions about circularity of schema but 
> not quite this issue.
> 
> (Please reply ONLY to list)
> 
> 


-- 
Anli Shundi                     ashundi@tibco.com
TIBCO Software Inc.             (919) 969 6518
www.tibco.com

Received on Wednesday, 18 May 2005 12:26:37 UTC