[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Multiple include


c multiple include
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



>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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.