[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


robert mundkowsky
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!

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.