Comment 2 for bug 929351

Revision history for this message
Cezar Andrei (cezar-andrei) wrote : Re: [Zorba-coders] [Bug 929351] Re: schema resolution only finds 1 resource

You can have multiple schema files all with the same target namespace.
Xerces does support it loading them all, it's a fairly common practice.

Cezar

On Thu, Feb 9, 2012 at 1:55 AM, Chris Hillery <email address hidden>wrote:

> If you want to have a single URI resolve to multiple resources, you need
> to register a Component URI Mapper; see
>
> http://www.zorba-
> xquery.com/html/documentation/2.1.0/zorba/uriresolvers
>
> However, this mechanism is currently only used for module import. It
> would be easy to call it for schema resolution as well, but I"m not sure
> how or if Xerces supports loading schemas from multiple files.
>
> Can you give an example of a multi-part schema?
>
> --
> You received this bug notification because you are a member of Zorba
> Coders, which is the registrant for Zorba.
> https://bugs.launchpad.net/bugs/929351
>
> Title:
> schema resolution only finds 1 resource
>
> Status in Zorba - The XQuery Processor:
> New
>
> Bug description:
> The schema for a single target namespace can be distributed across
> several files (or other resources).
> However, it seems (from looking at the URI resolution code) that only 1
> resource can be returned.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zorba/+bug/929351/+subscriptions
>
> --
> Mailing list: https://launchpad.net/~zorba-coders
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~zorba-coders
> More help : https://help.launchpad.net/ListHelp
>