Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.1
-
None
Description
Run DOMCount on the attached test case like this:
DOMCount -v=always -n -s -f test.xml
You will get the following error messages:
Error at file /tmp/test.xsd, line 7, char 47
Message: namespace 'http://www.w3.org/2001/XMLSchema' is referenced without import declaration
Error at file /tmp/test.xsd, line 7, char 47
Message: namespace 'http://www.w3.org/2001/XMLSchema' is referenced without import declaration
Error at file /tmp/test.xsd, line 11, char 37
Message: base type 't:isbn' not found in 'isbn2' definition
There are two problems. The first is the bogus message in the first two errors. The second is the two duplicate error messages. The second problem disappears if we remove isbn2 type from the schema.