You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/11/15 12:45:48 UTC
DO NOT REPLY [Bug 14584] New: -
Unable to load schema which imports or includes partial schemas
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14584>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14584
Unable to load schema which imports or includes partial schemas
Summary: Unable to load schema which imports or includes partial
schemas
Product: Xerces2-J
Version: 2.2.0
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: XML Schema Structures
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: d.g.van.der.laan@eccoo.rug.nl
[ First of all, we are using Xerces 2.2.1, but that version is not yet included
in the version selection list. ]
It seems the new Xerces2 has different behavior concerning schemas which are
build up by including partial (not valid as stand-alone) schemas.
We are using a schema A, with target namespace NS1, which imports a schema B,
with target namespace NS2 and includes a schema C, which also has target
namespace NS1. Schema C uses elements from NS2, but does not include schema B.
Therefore, schema C is not valid stand-alone, but schema A is. So:
A(NS1) ---> import B(NS2)
|
-------> include C(NS1), uses NS2
Using the schema validator of Xerces 1.4, this worked fine. Now we use Xerces
2.2.1, latest build, but the validator keeps complaining schema C may not
reference elements from namespace NS2.
If we import schema B into C, all works fine. But we want to reuse schema C
with different versions of schema B (more or less strict schemas). So we have
schemas A, A', A'', etcetera, importing schemas B, B', B'', etcetera, but which
all include the same schema C.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org