[Home] [By Thread] [By Date] [Recent Entries]
PHDB _ wrote: >Thks for your answers. >I have another additional question. Is it allowed to have a double include >between txo schema ? >i.e. A.xsd includes B.xsd and B.xsd includes A.xsd ? Will it create a loop ? > >Thks I am having trouble understanding why you would need to do this. Do you have a practical example? -rick >>It can cause problems and xerces will complain (depending on the version). >>Note the scenerio you have outlined does not cause a problem until you >>also include B and or C into A. It is better to avoid this situation by >>designing so that all schema are included only once. >> >>To do this you will need to create additional 'proxy' schema to do the >>including for each document level schema you have. >> >>If A needs components from B, C, D, and G >>Then create an additional schema Aa that includes A, B,C,D, and G. >> >>You can do the same thing for B, C and D. >> >>The instance document would then need to point to Aa. > > >_________________________________________________________________ >MSN Messenger : discutez en direct avec vos amis ! >http://www.msn.fr/msger/default.asp > > >----------------------------------------------------------------- >The xml-dev list is sponsored by XML.org <http://www.xml.org>, an >initiative of OASIS <http://www.oasis-open.org> > >The list archives are at http://lists.xml.org/archives/xml-dev/ > >To subscribe or unsubscribe from this list use the subscription >manager: <http://lists.xml.org/ob/adm.pl>
|

Cart



