schema resolution only finds 1 resource
Bug #929351 reported by
Till Westmann
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
New
|
High
|
Chris Hillery |
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.
Changed in zorba: | |
importance: | Undecided → High |
assignee: | nobody → Chris Hillery (ceejatec) |
tags: | added: schema uri-resolution |
To post a comment you must log in.
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?