[Zorba-coders] [Bug 929351] Re: schema resolution only finds 1 resource

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided = High

** Changed in: zorba
 Assignee: (unassigned) = Chris Hillery (ceejatec)

-- 
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 : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Bug 929351] Re: schema resolution only finds 1 resource

2012-02-09 Thread Chris Hillery
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 Im 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 : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Bug 929351] Re: schema resolution only finds 1 resource

2012-02-09 Thread Cezar Andrei
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 929...@bugs.launchpad.netwrote:

 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 Im 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 : zorba-coders@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~zorba-coders
 More help   : https://help.launchpad.net/ListHelp

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp