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=7607>.
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=7607

Duplicate global elements reported for import+include of same file

           Summary: Duplicate global elements reported for import+include of
                    same file
           Product: Xerces2-J
           Version: 2.0.0
          Platform: PC
               URL: http://http://
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: XML Schema Structures
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


(We're using jars dated 3/28/02).

I believe that this was fixed in a prior release, but seems to be a problem 
again. 

I have a set of schema files in namespace ns1. All of the files include a xsd 
files, A.xsd, B.xsd, etc. Some files include A.xsd and another file V.xsd which 
also includes A.xsd. All of this works fine.

I have another set of xsd files in another namespace ns2. Similarly, these 
files include files X.xsd, Y.xsd, etc., (in ns2) and also import files from 
ns1. 

Trouble is, when Xerces parses xml files that reference a schema in ns2, the 
result is a stream of many error messages such as:

[Error] Components.xsd:54:44: cos-element-consistent: Error for 
type 'DocumentReferences'.  Multiple elements with 
name 'LedgerDocumentReference,ns1', with different types, appear in the model 
group.

I believe that this occurs because the duplicate import/include statements are 
not being correcly identified.

This is a showstopper for us - we really need fast action so that we can 
release the new schema version of our standard and have it validate correctly 
with Xerces. 

It does validate correctly with MSXML, XMLSpy, and XSV.

Thanks,

Mark Feblowitz
XML Architect
Open Applications Group &
Frictionless Commerce Incorporated

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to