Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
2.2.0
-
None
-
Operating System: Windows XP
Platform: PC
-
18341
Description
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