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=18341>. 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=18341 Cyclic import doesn't correctly handle type restrictions Summary: Cyclic import doesn't correctly handle type restrictions Product: Xerces-C++ Version: 2.2.0 Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Validating Parser (Schema) (Xerces 1.5 or up only) AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Running "saxcount -n -f -s one.xml" will report this error: Error at file two.xsd, line 13, char 54 Message: Unknown base type one:BookTitle for type S0. One.xml points to one.xsd that in turn imports two.xsd that imports one.xsd. one:BookTitle is defined in one.xsd, and two.xsd uses it in a derivation by restriction. It looks to me that the code that is supposed to pick up the right DOM tree is not switching to the correct schema, so the base type is not found. I have attached the named files, and a patch that seems to be doing the right thing. Alberto --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]