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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] [ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
