[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: use of multiple schemas in a XML document for fail-overpur
Hey Robert, You might want to know that your snippets ar wrong, it should be: xsi:schemaLocation="foo http://blah.com/XXX.xsd" . Also: The locations that are noted here are "hints" to where the schema processor should find the schema. You can provide as many different locations as you want: the schema validator decides if it wants to use it, and if that is the case, if it can cope with multiple locations... Maybe you could tell us which schema valdiator you are using, so we can give more direct tips? Mik Robert Mundkowsky wrote: > Hi, > > Is there a way to specify the same schema multiple times in a XML > document for “fail over” purposes? > > For example, consider the following problem: > > Given: > > xsi:noNamespaceSchemaLocation="foo http://blah.com/XXX.xsd" > > If XXX.xsd is not reachable then how can that XML document be validated? > > Is it possible to do the following? > > xsi:noNamespaceSchemaLocation="foo http://notblah.com/XXX.xsd > > foo http://blah.com/XXX.xsd" > > Where both schemas are the same. > > **Robert Mundkowsky** > > *FORELL Enterprises <http://www.eforell.com/>* > > Software Engineer II > > 6061 Dale Street Suite N > > Buena Park, CA 90621 > > tel: 714-690-7720 > > fax: 714-670-8133 > > robertfm@e... <mailto:robertfm@e...> >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|