Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
4.6.2
-
Windows XP, qt-sdk-4.6.2
Description
If there is a simple (cdata) text in schema file,
QXmlSchema does not report an error
while for example:
http://www.w3.org/2001/03/webdata/xsv says:
Schema validating with XSV 3.1-1 of 2007/12/11 16:20:05
- Target: file:/usr/local/XSV/xsvlog/tmpjeHc8Juploaded
(Real name: schema.xsd) - docElt:
{http://www.w3.org/2001/XMLSchema}
schema
- Validation was strict, starting with type [Anonymous]
- The schema(s) used for schema-validation had
no errors - 1 schema-validity problem was found in the target
Problems with the schema-validity of the target
file:/usr/local/XSV/xsvlog/tmpjeHc8Juploaded:1:40: Invalid per cvc-complex-type.1.2.3: text not allowed: | some cdata text |
In attachment schema file that is invalid, but QXmlSchema says it is ok, and main.cpp with sample validation