on 7/2/2004 1:59 PM Daniel Veillard wrote:
On Tue, Jun 29, 2004 at 01:09:11PM -0400, Daniel Veillard wrote:

  I just noticed one thing, when running the regression tests:
    ## XML Schemas datatypes Python based test suite
    found 1035 test instances: 995 success 40 failures

before your patch there used to be only 6 failures. The test is a python
script check-xsddata-test-suite.py running off test/xsdtest/xsdtestsuite.xml
which is the Relax-NG based test used by James Clark to check the conformance
of the implementation to W3C XML Schemas datatype.
The logs are in check-xsddata-test-suite.log , some seems relatively annoying
like for example:

    ======== test 153 line 3078 section  ==========
    Error validating datatype float
    Element doc failed to validate content
    Failed to validate correct instance:

I'm pretty sure "1" should be a correct float serialization.
Could you have a look at this ?

Daniel found out that the problem was situated in xmlSchemaCheckFacet of 
xmlschemas.c; Actually I did not check this API function to work with 
the relaxng processor; due to differences in the semantic of the usage 
of this function by both processors, it worked for xml schemas only.
A solution for both processors has been found and Daniel committed the 
changes. Have fun :-)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]