You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by PHDB _ <ph...@hotmail.com> on 2003/01/30 17:24:05 UTC

Multiple include

Hi !

I have a little question about multiple "include" in XML Schema.
Is it a problem if I have the following including schema ?

      |-B.xsd<--G.xsd
      |
      |-C.xsd<--G.xsd
      |
A.xsd<---D.xsd<--G.xsd
      |
      |-E.xsd<--G.xsd

i.e. if G.xsd is included several times indirectly in A.xsd through its 
inclusion in B C D and E, does it cost time at parsing or is it well handled 
by Xerces ?
NB : G.xsd is a noNamespace Schema (it contains baseTypes that re-use often) 
and all other Schemas are in the same namespace...

TieBreaker :
Is it allowed to have a mutual inclusion ? i.e. A.xsd includes B.xsd and 
B.xsd includes A.xsd (A and B are in the same namespace) ?

Thks









_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis !  
http://www.msn.fr/msger/default.asp


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org