Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.3, 4.7.4
-
Debian GNU/Linux 6.0 2.6.32-5-686, gcc version 4.4.5 (Debian 4.4.5-8), Qt SDK 4.6.3 (perhaps affects other versions as well)
-
22d475e1ef32875c4933b2bb4c2830cb1bdd3266
Description
Attached is an xsd scheme file which seems to be fairly valid, as for Schema 1.0, but is not allowed by xmlpatternsvalidator or QXmlSchema::QXmlSchema, which both say "Error XSDError in file:test.xsd, at line 11, column 70: Value constraint of attribute intInf is not of attributes type: Double content is not listed in the enumeration facet.." If you change 'INF' into '-INF' or 'NAN', the same takes place. If changed to a finite literal (e.g. 28.5), or 'double' changed into 'string', xmlpatternsvalidator (and QXmlSchema constructor) find no errors.