test/schemas


Log

Author Commit Date CI Message
Nick Wellnhofer e4f85f1b 2023-04-07T11:46:35 [CVE-2023-28484] Fix null deref in xmlSchemaFixupComplexType Fix a null pointer dereference when parsing (invalid) XML schemas. Thanks to Robby Simpson for the report! Fixes #491.
Nick Wellnhofer 1d4f5d24 2022-09-13T16:40:31 schemas: Fix null-pointer-deref in xmlSchemaCheckCOSSTDerivedOK Found by OSS-Fuzz.
Nick Wellnhofer 1c7d91ab 2022-02-03T23:31:19 Fix handling of XSD with empty namespace An empty namespace means no default namespace. Fixes #303.
Nick Wellnhofer 6705f4d2 2019-09-16T15:45:27 Remove executable bit from non-executable files
Nick Wellnhofer e8c9cd5c 2019-09-16T15:36:02 Fix Schema determinism check of ##other namespaces Non-compound (##local) and compound string atoms are always disjoint regardless of whether the compound atom is negated (##other). Closes #40.
Nick Wellnhofer 8efc5b28 2019-09-13T12:24:23 14:00 is a valid timezone for xs:dateTime Closes #100
Remi Gacogne 4609e6c9 2012-05-11T15:31:05 XSD: optional element in complex type extension For https://bugzilla.gnome.org/show_bug.cgi?id=609796 Libxml2 fails to validate an instance document against a schema if an element whose type is a complex extension of some base type with an optional child element and that child element is not specified in the instance document. For example, suppose I have some complex type BaseType that is defined to have one child element in a sequence group that has minOccurs set to 0
Daniel Veillard 4013e83e 2009-08-26T17:24:31 579746 XSD validation not correct / nilable groups * xmlschemas.c: when a particle need to be processed via counted transition, if the group is nillable, the counting won't work, so keep track of nillable subset as they are built and generate the appropriate epsilon transitions as needed * test/schemas/579746* result/schemas/579746*: add related test cases based on the bug report
Daniel Veillard d80d0728 2009-08-22T18:56:01 559410 - Regexp bug on (...)? constructs * xmlregexp.c: fix a regexp bug on some (...)? constructs * test/schemas/nvdcve* result/schemas/nvdcve*: add the tests to the regression suite
Daniel Veillard be390ed0 2009-08-12T12:40:39 Test case for 570702
Jason Childs edc68aad 2009-08-07T20:29:33 582906 XSD validating multiple imports of the same schema * xmlschemas.c: When validating a schema that includes the same file that has no targetNamespace defined an internal erro was thrown, depending on the orig namespace that should be allowed though * test/schemas/582906-* result/schemas/582906-*: 2 tests case, one where this is allowed, and one where this is forbidden
Jason Childs d9960720 2009-08-07T19:01:32 Bug 582887 – problems validating complex schemas * xmlschemas.c: fixes the problem faced when importing the same schemas multiple times but from different places which is allowed * test/schemas/582887* result/schemas/582887*: adding the specific test to the regressions
Daniel Veillard bf9c1dad 2008-08-26T07:46:42 add the testchar to 'make check' Volker Grabsch pointed out a typo * Makefile.am: add the testchar to 'make check' * xmlschemas.c: Volker Grabsch pointed out a typo * xmlregexp.c: production [19] from XML Schemas regexps were a mistake removed in version REC-xmlschema-2-20041028, Volker Grabsch provided a patch to remove it * test/schemas/regexp-char-ref_0.xml test/schemas/regexp-char-ref_0.xsd test/schemas/regexp-char-ref_1.xsd result/schemas/regexp-char-ref_0_0 result/schemas/regexp-char-ref_1_0: Volker Grabsch also provided regession tests for this Daniel svn path=/trunk/; revision=3776
Daniel Veillard 041b687e 2008-02-08T10:37:18 apply patch from Andrew Tosh to fix behaviour when '.' is used in a * xmlregexp.c: apply patch from Andrew Tosh to fix behaviour when '.' is used in a posCharGroup * test/schemas/poschargrp0_0.* result/schemas/poschargrp0_0_0*: added the test to the regression suite Daniel svn path=/trunk/; revision=3687
Daniel Veillard 3888f472 2007-08-23T09:29:03 applied patch from Frank Gross fixing Schemas IDC import bug #455953 and * xmlschemas.c test/schemas/*455953* result/schemas/bug455953*: applied patch from Frank Gross fixing Schemas IDC import bug #455953 and also add the test to the regression suite Daniel svn path=/trunk/; revision=3652
Kasimier T. Buchcik 92b394fc 2006-05-09T19:59:54 Fixed bug #341150, reported by Michael Romer. In * xmlschemas.c: Fixed bug #341150, reported by Michael Romer. In xmlSchemaBuildContentModelForSubstGroup(), xmlAutomataNewOnceTrans2() was incorrectly used instead of xmlAutomataNewTransition2() to mimic a xs:choice for substitution-groups. * test/schemas/subst-group-1_1.xsd test/schemas/subst-group-1_0.xml result/schemas/subst-group-1_0_1 result/schemas/subst-group-1_0_1.err: Added regression test supplied by Michael Romer for bug #341150.
Kasimier T. Buchcik b63d2fab 2006-04-19T11:20:49 Fixed incorrect validation of restricted enumerations. Added related * xmlschemas.c test/schemas/restriction-enum-1* result/schemas/restriction-enum-1*: Fixed incorrect validation of restricted enumerations. Added related regression tests.
Kasimier T. Buchcik b0d74c66 2005-12-13T11:52:35 Added regression test for bug #321475 (reported by Gabor Nagy). Fixing of * test/schemas/bug321475* result/schemas/bug321475*: Added regression test for bug #321475 (reported by Gabor Nagy). Fixing of bug #323510 seemed to have fixed this bug as well.
Kasimier T. Buchcik 183fa3e7 2005-12-12T15:20:28 Added regression test for bug #323510. * test/schemas/bug323510* result/schemas/bug323510*: Added regression test for bug #323510.
Kasimier T. Buchcik bf442eb2 2005-11-30T11:24:18 Added regression tests for the latest IDC and xs:decimal bugs. * test/schemas/decimal* test/schemas/bug322411*: Added regression tests for the latest IDC and xs:decimal bugs.
Kasimier T. Buchcik 77e76829 2005-11-11T12:52:32 Changed xmlSchemaFormatIDCKeySequence() to use * xmlschemas.c: Changed xmlSchemaFormatIDCKeySequence() to use xmlSchemaGetCanonValueWhtspExt() in order to correctly report values for xs:anySimpleType. * test/schemas/idc-keyref-err1* result/schemas/idc-keyref-err1*: Added a test for this change.
Kasimier T. Buchcik 91b23143 2005-09-12T19:44:00 And adapting another one. * test/schemas/import1_0.xsd: And adapting another one.
Daniel Veillard 4f917e24 2005-08-22T16:01:43 applied patch from Kuba Nowakowski fixing bug #313982 also added the test * xmlschemastypes.c: applied patch from Kuba Nowakowski fixing bug #313982 * result/schemas/bug313982* test/schemas/bug313982*: also added the test case to the regression suite. Daniel
Kasimier T. Buchcik 76d73f5b 2005-08-09T13:56:25 Added some more tests for element wildcards. * test/schemas/any7_2.xml test/schemas/any6_2.xsd test/schemas/any8_1.xsd test/schemas/any8_0.xml: Added some more tests for element wildcards.
Kasimier T. Buchcik 800cbac3 2005-08-09T12:31:55 Fixed #312957 reported by Carol Hunter: streaming XPath states were not * xmlschemas.c: Fixed #312957 reported by Carol Hunter: streaming XPath states were not popped in every case, thus failed to resolve correctly for subsequent input. * test/schemas/bug312957* result/schemas/bug312957*: Added the test submitted by Carol Hunter.
Daniel Veillard 6e65e157 2005-08-09T11:09:52 trying to nail down the remaining ##other issues completed the tests and * xmlregexp.c xmlschemas.c: trying to nail down the remaining ##other issues * result/schemas/any7* test/schemas/any7: completed the tests and added the results * result/schemas/any3_0_0.err result/schemas/any5_0_0.err result/schemas/any5_1_0.err: this slightly chnages the output from 3 existing tests Daniel
Daniel Veillard 10752284 2005-08-08T13:05:13 fixed bug #310264, basically it's about reentrancy of count based * xmlregexp.c: fixed bug #310264, basically it's about reentrancy of count based transition, when going though the counter must be reset to 0 * test/schemas/bug310264* result/schemas/bug310264*: added the regression test. Daniel
Kasimier T. Buchcik 11162b7c 2005-07-28T00:50:22 Added creation of the content type of xs:anyType. This is needed when * xmlschemastypes.c: Added creation of the content type of xs:anyType. This is needed when trying to extend xs:anyType (although it makes no sense to extend it; IMHO the schema people should have ruled this out). This was reported by Yong Chen to the mailing list. * xmlschemas.c: Fixed handling of xs:anyType in xmlSchemaCheckCOSCTExtends() (reported by Young Chen). Tiny adjustment to an error report output. * test/schemas/extension2* result/schemas/extension2*: Added a test case provided by Young Chen.
Kasimier T. Buchcik 5c68274c 2005-07-23T21:28:30 Added regression tests (they fail currently), but did not added results * test/schemas/any6* test/schemas/any7*: Added regression tests (they fail currently), but did not added results yet.
Daniel Veillard 9efc476b 2005-07-19T14:33:55 fixing bug #172215 about foreign namespaces by adding support for negated * xmlregexp.c xmlschemas.c include/libxml/xmlautomata.h: fixing bug #172215 about foreign namespaces by adding support for negated string transitions. Error messages still need to be improved. * test/schemas/any5* result/schemas/any5*: adding regression tests for this. Daniel
Daniel Veillard a980befc 2005-07-18T21:34:03 fixed xsd:all when used in conjunction with substitution groups adding * xmlschemas.c: fixed xsd:all when used in conjunction with substitution groups * test/schemas/allsg_* result/schemas/allsg_*: adding specific regression tests, strangely missing from NIST/Sun/Microsoft testsuites Daniel
Kasimier T. Buchcik 6d30ff2c 2005-07-06T11:44:51 Fixed bug #309338, reported by Kupriyanov Anotolij. Added a regression * xmlschemastypes.c: Fixed bug #309338, reported by Kupriyanov Anotolij. * test/schemas/bug309338* result/schemas/bug309338*: Added a regression test for the above bug.
Kasimier T. Buchcik 21edf9b4 2005-06-21T08:46:25 Added regression tests (from Dhyanesh). * test/schemas/empty-value* result/schemas/empty-value*: Added regression tests (from Dhyanesh).
Kasimier T. Buchcik 8cd0903f 2005-06-15T09:11:00 Added schema tests submitted by Tom Browder (bug #306806). * test/schemas/bug306806_1.xsd test/schemas/bug306806_0.xml: Added schema tests submitted by Tom Browder (bug #306806).
Kasimier T. Buchcik bd6c3f7d 2005-05-25T17:29:36 Fixed facet errors to be channelled back for union type members; * xmlschemas.c: Fixed facet errors to be channelled back for union type members; facet-validation will stop now on the first error. Reported by GUY Fabrice to the mailing-list. * xmlschemastypes.c: Changed to ignore lengh-related facet validation for QNames and NOTATIONs as proposed by the schema people. * test/schemas/union2* result/schemas/union2*: Added regression tests for union types (by GUY Fabrice).
Kasimier T. Buchcik 3eec790c 2005-05-10T09:16:19 Added regression a test provided by Heiko Oberdiek (bug #303566). * test/schemas/bug303566_1* result/schemas/bug303566_1_1*: Added regression a test provided by Heiko Oberdiek (bug #303566). level for XML Schema IDCs (bug #303566 reported by Heiko Oberdiek). This should not affect pattern-like resolution on every level.
Kasimier T. Buchcik c872afbd 2005-04-18T10:57:04 Added output of canonical values in identity-constraint error messages. * xmlschemas.c: Added output of canonical values in identity-constraint error messages. * xmlschemastypes.c include/libxml/xmlschemastypes.h: Added xmlSchemaGetCanonValueWhtsp() to the API. Further enhancement of the canonical value conversion. * test/schemas/changelog093_0.*: Added test with an XSD submitted by Randy J. Ray.
Kasimier T. Buchcik 289dbb45 2005-03-17T12:39:31 Removed inheritance of "mixed" content type for short-hand restrictions of * xmlschemas.c: Removed inheritance of "mixed" content type for short-hand restrictions of "anyType" (reported by Guy Fabrice to the mailing list). Added the namespace conversion (chameleon includes) for the base type reference of <restriction> and <extension>. * test/schemas/bug152470_1.xsd: Adapted due to the above change of "mixed" inheritance.
Kasimier T. Buchcik ba70cc0d 2005-02-28T10:28:21 Changed xmlSearchNsByHref to call xmlNsInScope with the prefix instead of * tree.c: Changed xmlSearchNsByHref to call xmlNsInScope with the prefix instead of the namespace name. * test/schemas/annot-err_0.xsd test/schemas/element-err_0.xsd: Adapted invalid values of the "id" attribute, since they are validated now.
Kasimier T. Buchcik 0c347767 2005-02-18T11:47:38 Added the regression test of Frans Englich for bug #167754. * test/schemas/bug167754_0*: Added the regression test of Frans Englich for bug #167754.
Kasimier T. Buchcik 87876407 2004-09-29T13:29:03 Parsing of <complexContent> - handle attribute 'mixed', catch illegal * xmlschemas.c include/libxml/xmlerror.h include/libxml/xmlschemas.h include/libxml/schemasInternals.h: Parsing of <complexContent> - handle attribute 'mixed', catch illegal attributes. Parsing of <complexType> - handle attributes 'abstract', 'final' and 'block', catch illegal attributes. Validation of complex types - handle abstract types. Added handling of default/fixed attributes and element values. Per validation option attribute nodes/text nodes are created on the instance. Added the corresponding constraints for fixed/default. Added xmlSchemaSetValidOptions, xmlSchemaGetValidOptions to the external API. Extended element declaration constraints. Got rid of perseverative creation of temporery validation/parser contexts. Added handling of xsi:schemaLocation and xsi:noNamespaceSchemaLocation. Fixed xsi:type component resolution if using non-prefixed QNames. * xmlregexp.c xmlschemas.c include/libxml/xmlautomata.h: Enabled namespace awareness of the content model if using the model group "all". * test/schemas/bug152470_1.xsd: Removed an "abstract" attribute, which broke the test. * xstc/xstc.py: Workaround to accomodate case insensitive test definitions in ms-test.def.xml (was missing in a previous commit).
Kasimier T. Buchcik 876a6db1 2004-09-16T11:31:52 Simpified attribute wildcard creation and assignment to get rid of memory * xmlschemas.c include/libxml/schemasInternals.h test/schemas/bug152470_1.* result/schemas/bug152470_1_1*: Simpified attribute wildcard creation and assignment to get rid of memory leaks. Restructured the validation process. Restructured and expanded parsing of <attributeGroup>. Added initial handing of xsi:type. Advanced handling of xsi:nil (should work now for simple types). Added construction of schemata using xsi:schemaLocation and xsi:noNamespaceSchemaLocation; this is not enabled, since no corresponding API exists yet. Moved the content model to complex type components. Resolution of types for attributes will look for simple types only (incl. all the built-in simple types). Extended parsing of 'anyAttribute'. Fixed content-type type for complex types if derived from 'anyType' using the short-hand form (see bug # 152470, submitted by Thilo Jeremias). * include/libxml/xmlschematypes.h: Cleaned up some comments. * xstc/xstc.py: Workaround to accomodate case insensitive test definitions in ms-test.def.xml. * result/schemas/deter0_0_0.err result/schemas/ns0_0_2.err result/schemas/ns0_1_2.err: Adapted.
Daniel Veillard f34a20e6 2004-08-31T08:42:17 "" is a valid hexbinary string dixit xmlschema-dev update the test. added * xmlschemastypes.c: "" is a valid hexbinary string dixit xmlschema-dev * result/schemas/hexbinary_0_1.err test/schemas/hexbinary_1.xml: update the test. * test/ns5 result//ns5*: added a test for the namespace bug fixed in previous commit. * Makefile.am: added a message in the regression tests Daniel
Kasimier T. Buchcik bea2354a 2004-08-25T20:35:45 Added missing test file. Substituted the obsolete xmlSchemaValidError(s) * test/schemas/import-bad-1_0.imp: Added missing test file. * xmlschemas.c include/libxml/xmlerror.h include/libxml/xmlschemas.h: Substituted the obsolete xmlSchemaValidError(s) for xmlParserErrors - see #150840. Changed the import of schemas to allow failure of location of a resource to be imported. * result/schemas/all_* result/schemas/any3_0_0.err result/schemas/choice_* result/schemas/import1_0_0.err result/schemas/list0_0_1.err result/schemas/list0_1_0.err result/schemas/list0_1_1.err result/schemas/ns0_0_2.err result/schemas/ns0_1_2.err: Adapted regression test results.
William M. Brack 2f2a6632 2004-08-20T23:09:47 modified parsing of <list>, <union>, <restriction>, <sequence>, <choice>, * xmlschemas.c: modified parsing of <list>, <union>, <restriction>, <sequence>, <choice>, <include>, <import>. Fixed schema defaults (elementFormDefault, etc.) for included schemas. Fixed a bug which reported attributes as invalid on elements declarations with the built-in type 'anyType'. Added "lax" validation of the content of elements of type 'anyType'. Fixed: element declarations with the same name were treated as duplicate if located in the subtree of <choice> -> <sequence>. (This was bug 150623, submitted by Roland Lezuo) Fixed cleanup of error codes in xmlSchemaValidateDoc as proposed by Igor Kapitanker. (This was bug 150647, submitted by Igor Kapitanker) * xmlschemastypes.c: Changed the type of anyType to XML_SCHEMAS_ANYTYPE. * include/libxml/xmlerror.h: Added schema parser errors. * result/schemas/bug145246_0_0* result/schemas/extension1_0_2.err: Changed test results. * result/schemas/ct-sc-nobase_0_0* result/schemas/facet-whiteSpace_0_0* result/schemas/import1_0_0* result/schemas/import2_0_0* result/schemas/include2_0_0* result/schemas/include3_0_0* result/schemas/restriction-attr1_0_0* result/schemas/seq-dubl-elem1_0_0* result/schemas/xsd-list-itemType_0_0*: Added new rest results. test/schemas/bug145246.xsd.imp test/schemas/ct-sc-nobase_0* test/schemas/facet-whiteSpace_0* test/schemas/import1_0* test/schemas/import2_0* test/schemas/include2_0* test/schemas/include3_0* test/schemas/restriction-attr1_0* test/schemas/seq-dubl-elem1_0* test/schemas/xml.xsd test/schemas/xsd-list-itemType_0*: Added new tests and missing files.
Daniel Veillard c0826a77 2004-08-10T14:17:33 applied Schemas patches from Kasimier Buchcik lot of new tests for things * configure.in xmlregexp.c xmlschemas.c xmlschemastypes.c include/libxml/schemasInternals.h include/libxml/xmlerror.h include/libxml/xmlschemastypes.h: applied Schemas patches from Kasimier Buchcik * test/ result/ bug141333* annot-err* any[1-4]* bug145246* element-err* element-minmax-err* include1* restrict-CT-attr-ref*: lot of new tests for things fixed by the patch Daniel
Daniel Veillard 485f26ff 2004-06-29T17:07:01 Added missing file, corrected output, Daniel
Daniel Veillard 01fa6156 2004-06-29T17:04:39 applied Schemas patches from Kasimier Buchcik, there is still one open * xmlschemas.c xmlschemastypes.c include/libxml/xmlerror.h include/libxml/schemasInternals.h include/libxml/xmlschemastypes.h: applied Schemas patches from Kasimier Buchcik, there is still one open issue about referencing freed memory. * test/schemas/* result/schemas/*: updated with new tests from Kasimier Daniel
Daniel Veillard 50355f00 2004-06-08T17:52:16 applied another patch from Kasimier Buchcik for Schema Component * xmlschemas.c include/libxml/xmlerror.h: applied another patch from Kasimier Buchcik for Schema Component Constraints * test/schemas/* result/schemas/*: added the regression tests Daniel
Daniel Veillard 88399388 2004-06-04T09:29:37 added a bunch of tests from Kasimier Buchcik posted on May 11 Daniel * test/schemas/* result/schemas/*: added a bunch of tests from Kasimier Buchcik posted on May 11 Daniel
Daniel Veillard 8acdfbf5 2004-06-03T16:00:59 new patch from Kasimier Buchcik for processContents of wildcards attribute * xmlschemas.c: new patch from Kasimier Buchcik for processContents of wildcards attribute handling * test/schemas/anyAttr-* result/schemas/anyAttr-*: added specific regression tests Daniel
Daniel Veillard 3646d646 2004-06-02T19:19:14 applied a patch from Kasimier Buchcik implementing attribute uses and * xmlschemas.c include/libxml/schemasInternals.h include/libxml/xmlerror.h: applied a patch from Kasimier Buchcik implementing attribute uses and wildcards. * test/schemas/* result/schemas/*: added/fixed a bunch of tests Daniel
Daniel Veillard 669adfcd 2004-05-29T20:12:46 applied a patch from Charles Bozeman fixing a side effect in date handling * test/schemas/date_0.xml xmlschemastypes.c: applied a patch from Charles Bozeman fixing a side effect in date handling Daniel
William M. Brack e709195e 2004-05-11T15:09:58 Applied patches supplied by Kasimier Buchcik. changed test to account for * xmlschemas.c, include/libxml/schemasInternals.h, include/libxml/xmlerror.h: Applied patches supplied by Kasimier Buchcik. * test/schemas/po1_0.xml, test/schemas/po1_0.xsd: changed test to account for above patch.
Daniel Veillard c85d0fec 2004-04-16T16:46:51 applied patches from Kasimier Buchcik for the attribute use support added * xmlschemas.c include/libxml/schemasInternals.h include/libxml/xmlerror.h: applied patches from Kasimier Buchcik for the attribute use support * test/schemas/attruse* result/schemas/attruse*: added the tests to the regression suite. Daniel
Daniel Veillard 377e1a90 2004-04-16T16:30:05 move the TODO as comments as the function while not finished are usable * xmlsave.c: move the TODO as comments as the function while not finished are usable as-is * xmlschemas.c include/libxml/xmlerror.h: patch from Kasimier Buchcik implementing union * test/schemas/union_0_0.x* result/schemas/union_0_0*: added example * python/Makefile.am: applied fix from Mike Hommey Daniel
Daniel Veillard ebcdebd6 2004-03-05T00:15:50 QName handling fixes for the XML Schemas support from Adam Dickmeiss also * xmlschemas.c: QName handling fixes for the XML Schemas support from Adam Dickmeiss * test/schemas/po1_0.xsd: also fix the schemas * test/schemas/ns[12]* result/schemas/ns[12]*: added the specific regression tests Daniel
Daniel Veillard 1aefc862 2004-03-04T11:40:48 applied patch from Adam Dickmeiss for mixed content added his regression * xmlschemas.c: applied patch from Adam Dickmeiss for mixed content * test/schemas/mixed* result/schemas/mixed*: added his regression tests too. Daniel
Daniel Veillard 0ddb21c4 2004-02-12T12:43:49 fixing bug #132930 with the provided patch, a bit suspicious about it but * xmlregexp.c: fixing bug #132930 with the provided patch, a bit suspicious about it but this is fairly contained and regression tests still passes. * test/schemas/all1* result/schemas/all1*: added the test to the regression suite. Daniel
Daniel Veillard bd2904b9 2003-11-25T15:38:59 added xsd:include support, fixed testSchemas behaviour when a schemas * include/libxml/schemasInternals.h include/libxml/xmlerror.h testSchemas.c xmlschemas.c: added xsd:include support, fixed testSchemas behaviour when a schemas failed to parse. * test/schemas/vdv-* result/schemas/vdv-first5_0_0*: added one test for xsd:include from Eric Van der Vlist Daniel
Daniel Veillard f2a12835 2003-11-24T13:04:35 more XML Schemas fixes based on Eric van der Vlist examples added * xmlregexp.c xmlschemas.c: more XML Schemas fixes based on Eric van der Vlist examples * result/schemas/vdv-first4* test/schemas/vdv-first4*: added regression tests * doc/examples/Makefile.am doc/examples/index.py: do not regenerate the index on make all target, but only on make rebuild to avoid troubles. Daniel
Daniel Veillard be9c6320 2003-11-22T20:37:51 lot of bug fixes, cleanup, starting to add proper namespace support too. * xmlschemas.c xmlschemastypes.c include/libxml/xmlerror.h include/libxml/schemasInternals.h: lot of bug fixes, cleanup, starting to add proper namespace support too. * test/schemas/* result/schemas/*: added a number of tests fixed the result from some regression tests too. Daniel
Daniel Veillard 1d913863 2003-11-21T00:28:39 applied patch from Robert Stepanek to start import os schemas support, * xmlschemas.c: applied patch from Robert Stepanek to start import os schemas support, cleaned up stuff and the patch. * test/schemas/import0_0.* result/schemas/import0_0_0*: added test to regression, fixed a few regressions too. Daniel
Daniel Veillard 70bcb0ea 2003-08-08T14:00:28 hum try to avoid some troubles when the library is not initialized and one * HTMLtree.c tree.c threads.c: hum try to avoid some troubles when the library is not initialized and one try to save, the locks in threaded env might not been initialized, playing safe * xmlschemastypes.c: apply patch for hexBinary from Charles Bozeman * test/schemas/hexbinary_* result/schemas/hexbinary_*: also added his tests to the regression suite. Daniel
Daniel Veillard a84c0b30 2003-06-02T16:58:46 commiting some work done while in the Maldives (hence the timezone on the * relaxng.c xmlschemas.c include/libxml/schemasInternals.h: commiting some work done while in the Maldives (hence the timezone on the laptop !) * result/schemas/length3* test/schemas/deter0_* test/schemas/group0_*: some tests added too Daniel
Daniel Veillard 82bbbd4f 2003-05-11T20:16:09 fixed some problems in the handling of errors, and attributes addressed by * xmlschemas.c: fixed some problems in the handling of errors, and attributes addressed by references. * test/schemas/* result/schemas/*: dropped the verbosity level and added a couple of new tests Daniel
Daniel Veillard 37fc84d1 2003-05-09T19:38:15 fixing bug #104081 with xs:all with an element holding minOccurs="0" added * xmlschemas.c: fixing bug #104081 with xs:all with an element holding minOccurs="0" * test/schemas/all_* result/schemas/all_*: added some regression tests for that bug * xmllint.c xmlreader.c: patches from Joerg Schmitz-Linneweber and Garry Pennington to compile without schemas support. Daniel
Daniel Veillard d3b9cd88 2003-04-09T11:24:17 update from Charles Bozeman for date and duration types updated too Daniel * xmlschemas.c xmlschemastypes.c include/libxml/xmlschemas.h: update from Charles Bozeman for date and duration types * test/schemas/date_0.* test/schemas/dur_0.* result/schemas/date_0.* result/schemas/dur_0.*: updated too Daniel
Daniel Veillard a507fbf3 2003-03-31T16:09:37 try to work on bug #109225 and provide better error reports. this change * relaxng.c: try to work on bug #109225 and provide better error reports. * result/relaxng/* : this change the output of a number of tests * xinclude.c: fixing the parsed entity redefinition problem raised on the list. * test/schemas/date_0.xsd: updated the date test c.f. E2-12 Daniel
Daniel Veillard 91a1325b 2003-03-27T23:44:43 fixed bugs and memory leaks in the W3C XML Schemas code implemented * xmlschemas.c include/libxml/xmlschemas.h: fixed bugs and memory leaks in the W3C XML Schemas code * xmlschemastypes.c: implemented nonPositiveInteger * test/schemas/length2_0.xsd result/schemas/length2_0_0.err: fixed the test and result. Daniel
Daniel Veillard b39bc393 2002-10-26T19:29:51 Christian Glahn found a problem with a recent patch to * parser.c: Christian Glahn found a problem with a recent patch to xmlParseBalancedChunkMemoryRecover() * xmlschemas.c: Charles Bozeman fixed some Schemas validation problems * result/schemas/elem* result/schemas/seq* test/schemas.elem* test/schemas/seq*: added the test cases from Charles Daniel
Daniel Veillard 3237023d 2002-10-16T14:08:14 fixed the validation of sequences content model when some of the blocks * xmlregexp.c xmlschemas.c: fixed the validation of sequences content model when some of the blocks have min or max, and a couple of bugs found in the process. * result/schemas/list0* test/schemas/list0*: added some specific regression tests Daniel
Daniel Veillard 5a872413 2002-05-22T06:40:27 a bit of work on import. Charles Bozeman provided a compare function for * xmlschemas.c: a bit of work on import. * xmlschemastypes.c: Charles Bozeman provided a compare function for date/time types so min/max facet restrictions should work, indeterminate comparisons return an error instead of equal. * test/schemas/date_0* result/schemas/date_0_0: specific test from Charles Bozeman too Daniel
Daniel Veillard 070803b3 2002-05-03T07:29:38 patch Charles Bozeman for validation of all the date, time, and duration * xmlschemastypes.c: patch Charles Bozeman for validation of all the date, time, and duration types * test/schemas/dur_0* result/schemas/dur_0*: associated tests * configure.in: fixed an error pointed by an user * xml2-config.in: fixed an error pointed by an user Daniel
Daniel Veillard 13e04c6c 2002-04-23T17:51:29 fixed validation of attribute groups. added an example from the primer * xmlschemas.c: fixed validation of attribute groups. * test/schemas result/schemas: added an example from the primer Daniel
Daniel Veillard 88c5891a 2002-04-23T07:12:20 more work on Schemas updated the test list Daniel * Makefile.am xmlschemas.c xmlschemastypes.c: more work on Schemas * test/schemas result/schemas: updated the test list Daniel
Daniel Veillard e19fc23b 2002-04-22T16:01:24 updated a bit made a comment more specific more work on the Schemas * TODO: updated a bit * parser.c: made a comment more specific * xmlregexp.c xmlschemas.c xmlschemastypes.c: more work on the Schemas conformance. * test/schemas result/schemas: updated the test list Daniel
Daniel Veillard 441bc32e 2002-04-20T17:38:48 implementing xs:all with minOccurs = 0 added more tests covering xs:all * xmlregexp.c xmlschemas.c include/libxml/xmlautomata.h: implementing xs:all with minOccurs = 0 * tes/schemas/* result/schemas/*: added more tests covering xs:all Daniel
Daniel Veillard b4398969 2002-04-19T07:01:55 more Schemas work added more tests coming from the spec. Daniel * xmlschemas.c: more Schemas work * test/schemas/* result/schemas/*: added more tests coming from the spec. Daniel
Daniel Veillard decd64d6 2002-04-18T14:41:51 more Schemas work added more tests coming from the spec. Daniel * Makefile.am xmlschemas.c: more Schemas work * test/schemas/* result/schemas/*: added more tests coming from the spec. Daniel
Daniel Veillard b509f154 2002-04-17T16:28:10 more work on the automata interfaces and debug of counted choices added a * xmlregexp.c xmlschemas.c include/libxml/xmlautomata.h: more work on the automata interfaces and debug of counted choices * test/schemas/* result/schemas/*: added a number of tests Daniel
Daniel Veillard 8651f536 2002-04-17T09:06:27 a bit of work on Schemas try to make it more useful changed the Schemas * xmlschemas.c xmlschemastypes.c include/libxml/xmlschemas.h: a bit of work on Schemas * testSchemas.c: try to make it more useful * test/schemas/* result/schemas/* Makefile.am: changed the Schemas regression test procedure, started adding a few samples Daniel
Daniel Veillard 4255d504 2002-04-16T15:50:10 merged the current state of XML Schemas implementation, it is not * Makefile.am TODO_SCHEMAS configure.in genUnicode.py testAutomata.c testRegexp.c testSchemas.c xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c include/libxml/Makefile.am include/libxml/schemasInternals.h include/libxml/xmlautomata.h include/libxml/xmlregexp.h include/libxml/xmlschemas.h include/libxml/xmlschemastypes.h include/libxml/xmlunicode.h include/libxml/xmlversion.h.in : merged the current state of XML Schemas implementation, it is not configured in by default, a specific --schemas configure option has been added. * test/automata test/regexp test/schemas Makefile.am result/automata result/regexp result/schemas: merged automata/regexp/schemas regression tests Daniel