Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.6.0
-
None
-
None
-
Linux Fedora Core 2 (i386 pentium III), Xerces C++
Description
The file 'tgmtest.xml' fails to validate against 'tgmtest.xsd' the sample
program from xerces c++ (2.6.0):
% PSVIWriter -f -o=stdout -e=stderr tgmtest.xml
% head -2 stderr
Error at file /disk2/local2/src/xerces-c-src_2_6_0/bin/tgmtest.xsd, \
Line 94, Char 43
Message:The type 'xs:anyType' specified as the base in the simpleContent\
element must not have complexContent
But running the same set against xmllint (from version 20608) works:
% xmllint --schema tgmtest.xsd tgmtest.xml > t
tgmtest.xml validates
A similar bug was found in the jira bug database: XERCESC-697.