xmlschemastypes.c


Log

Author Commit Date CI Message
Daniel Veillard 26ab0e6c 2006-10-11T12:32:51 applied patch from Mikhail Zabaluev to separate library flags for shared * libxml-2.0.pc.in: applied patch from Mikhail Zabaluev to separate library flags for shared and static builds, fixes #344594. If this bites you, use xml2-config. Daniel
Daniel Veillard 14b56439 2006-03-09T18:41:40 more cleanups based on coverity reports. Daniel * relaxng.c xmlschemas.c xmlschemastypes.c: more cleanups based on coverity reports. Daniel
Kasimier T. Buchcik 1869be56 2006-02-20T13:37:55 Fixed xs:boolean to reject the empty string (reported by Bas Driessen on * xmlschemas.c xmlschemastypes.c: Fixed xs:boolean to reject the empty string (reported by Bas Driessen on the mailing-list). Fixed schema XSI-acquisition and construction: the schemata (xmlSchema) didn't get the targetNamespace in some cases, thus the component resolution mechanism failed to work. The XSI stuff needs to be tested more intensively; think about how to test this for regression.
Daniel Veillard 6a0baa0c 2005-12-10T11:11:12 fixed a number of warnings shown by HP-UX compiler and reported by Rick * HTMLparser.c configure.in parserInternals.c runsuite.c runtest.c testapi.c xmlschemas.c xmlschemastypes.c xmlstring.c: fixed a number of warnings shown by HP-UX compiler and reported by Rick Jones Daniel
Kasimier T. Buchcik 72f50c18 2005-11-28T16:36:30 Fixed parsing of xs:decimal to allow/deny special lexical forms. Fixed the * xmlschemastypes.c: Fixed parsing of xs:decimal to allow/deny special lexical forms. Fixed the totalDigits for values in the range (x < 1) && (x > -1) && (x != 0); E.g "0.123" has now a totalDigits of 3 (was 4 previously). Adjusted the comparison function for decimals due to this change. As a side effect comparison against zeroes was optimized.
Daniel Veillard 5e9576a4 2005-11-21T11:23:47 Albert Chin found another signed/unsigned problem in the date and time * xmlschemastypes.c: Albert Chin found another signed/unsigned problem in the date and time code raised on IRIX 6.5 Daniel
Kasimier T. Buchcik 69dea3a0 2005-11-07T14:02:44 Fixed the type of the totalDigits value to be positiveInteger. Fixed crash * xmlschemas.c xmlschemastypes.c: Fixed the type of the totalDigits value to be positiveInteger. Fixed crash in an error report function when we gave it the document node; only element and attribute nodes are processed now (reported by Rob Richards).
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
Daniel Veillard 9e2110bb 2005-08-08T20:33:54 applied patch from Marcus Boerger to remove warnings on Windows. Daniel * nanoftp.c nanohttp.c xmlschemastypes.c: applied patch from Marcus Boerger to remove warnings on Windows. 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.
Daniel Veillard d369b138 2005-07-14T15:54:44 found the last bug raised by NIST tests in comparing base64 strings, * xmlschemastypes.c: found the last bug raised by NIST tests in comparing base64 strings, result from runsuite: ## NIST test suite for Schemas version NIST2004-01-14 Ran 23170 tests (3953 schemata), no errors 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 7f6e0243 2005-06-15T13:36:10 Added missing function descriptions. * xmlschemastypes.c: Added missing function descriptions.
Kasimier T. Buchcik 1c720df4 2005-06-09T14:54:59 Changed non-prefixed QNames to be bound to a default namespace if * xmlschemastypes.c: Changed non-prefixed QNames to be bound to a default namespace if existent.
Kasimier T. Buchcik 8dd1e1bc 2005-06-09T13:14:38 Fixed a bug which I invented: hexBinary's string values were not * xmlschemastypes.c: Fixed a bug which I invented: hexBinary's string values were not duplicated corrently when creating a computed value in xmlSchemaValAtomicType.
Kasimier T. Buchcik 4efd90d9 2005-06-09T10:32:53 Changed the validation process to be able to work in streaming mode. Some * xmlschemas.c xmlschemastypes.c include/libxml/schemasInternals.h include/libxml/xmlschemastypes.h: Changed the validation process to be able to work in streaming mode. Some datatype fixes, especially for list and union types. Due to the changes the error report output has changed in most cases. Initial migration to functions usable by both, the parser and the validator. This should ease a yet-to-come XS construction API in the long term as well.
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 690a6809 2005-05-12T13:16:01 Changed the VALID_TZO macro to restrict the timezone to -840 to 840. * xmlschemastypes.c: Changed the VALID_TZO macro to restrict the timezone to -840 to 840.
Kasimier T. Buchcik 285b3672 2005-05-12T13:10:22 Applied patch from Steve Nairn (bug #303670) for "signed int" of the * xmlschemastypes.c: Applied patch from Steve Nairn (bug #303670) for "signed int" of the date-time timezone field. Silenced a warning.
Kasimier T. Buchcik 64dc4d2c 2005-04-19T15:58:31 Fixed date-time related validation (reported by David Crossley, bug * xmlschemastypes.c: Fixed date-time related validation (reported by David Crossley, bug #300576).
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.
Daniel Veillard bda59576 2005-04-01T17:15:17 fixed a lack of comment and missing test for a pointer in the API. Daniel * xmlschemastypes.c: fixed a lack of comment and missing test for a pointer in the API. Daniel
Kasimier T. Buchcik aba15f76 2005-04-01T15:17:27 Corrected 'length' facet validation for QNames and notations. Corrected * xmlschemastypes.c: Corrected 'length' facet validation for QNames and notations. Corrected xmlSchemaGetCanonValue: some data types did not return a value if already in normalized form. * xmlschemas.c include/libxml/schemasInternals.h: Eliminated creation of structs for <restriction>, <extension>, <simpleContent>, <complexContent>, <list> and <union>: the information is now set directly on the corresponding simple/ complex type. Added some more complex type constraints. Added facet derivation constraints. Introduced "particle" components, which seem to be really needed if applying constraints. Corrected/change some of the parsing functions. This is all a bit scary, since a significant change to the code. * result/schemas/src-element2-*.err result/schemas/element-*.err: Adapted regression test results.
Daniel Veillard 5d4644ef 2005-04-01T13:11:58 revamped the elfgcchack.h format to cope with gcc4 change of aliasing * doc/apibuild.py doc/elfgcchack.xsl: revamped the elfgcchack.h format to cope with gcc4 change of aliasing allowed scopes, had to add extra informations to doc/libxml2-api.xml to separate the header from the c module source. * *.c: updated all c library files to add a #define bottom_xxx and reimport elfgcchack.h thereafter, and a bit of cleanups. * doc//* testapi.c: regenerated when rebuilding the API Daniel
Daniel Veillard cc5e2330 2005-03-16T21:55:35 more debug messages from Matthew Burgess xmlSchemaValidateLengthFacet API * xmlschemas.c: more debug messages from Matthew Burgess * xmlschemastypes.c: xmlSchemaValidateLengthFacet API missing check. Daniel
Kasimier T. Buchcik 9dbb0cea 2005-03-16T16:39:23 Aaaannnd putting back the previous changes done by Daniel, which I * xmlschemastypes.c: Aaaannnd putting back the previous changes done by Daniel, which I overwrote with the previous commit.
Kasimier T. Buchcik 478d693f 2005-03-16T16:29:18 Hopefully finished validation against facets to use the normalized value * xmlschemas.c xmlschemastypes.c include/libxml/xmlschemastypes.h: Hopefully finished validation against facets to use the normalized value of both, the facets and instance values. Added xmlSchemaValidateLengthFacetWhtsp(), xmlSchemaValidateFacetWhtsp() and xmlSchemaGetValType() to the schema API.
Daniel Veillard 9fcb491c 2005-03-16T12:57:31 do not package .la files applied patch from Gerry Murphy for xmllint * libxml.spec.in: do not package .la files * xmllint.c: applied patch from Gerry Murphy for xmllint return code * xmlschemastypes.c: fixed a couple of missing tests of parameters at public API entry points. Daniel
William M. Brack ec3b4b7d 2005-03-15T15:50:17 a couple of more changes to various decimal-handling routines. Fixes * xmlschemastypes.c: a couple of more changes to various decimal-handling routines. Fixes python some problems turned up by the python tests. * Makefile.am: change SchemasPythonTests message to warn that there are 10 'expected' errors (rather than 6) since we now reject a '+' sign on an unsigned.
Kasimier T. Buchcik 6c81d0ea 2005-03-15T14:58:11 In preparation to use normalized values of facets during validation: * xmlschemastypes.c xmlschemastypes.h: In preparation to use normalized values of facets during validation: changed the arguments of some string comparison functions; added a static xmlSchemaValidateFacetInternal() with more arguments to be more flexible. Prepared XML_SCHEMA_FACET_ENUMERATION validation to use the comparison functions. Fixed some assignments in xmlSchemaValAtomicType(): total digit count, lo, mi, hi.
William M. Brack 273670f4 2005-03-11T15:55:14 enhanced the parsing of XML_SCHEMAS_DECIMAL and much of the routine * xmlschemastypes.c: enhanced the parsing of XML_SCHEMAS_DECIMAL and much of the routine xmlSchemaCompareDecimals. The changes were necessary to fix a problem reported on the mailing list by John Hockaday.
Kasimier T. Buchcik 2ee855d0 2005-03-07T11:14:14 Tiny changes in the comparison functions I forgot to commit last time. * xmlschemastypes.c: Tiny changes in the comparison functions I forgot to commit last time.
Kasimier T. Buchcik 285ebabb 2005-03-04T18:04:59 Enabled IDC parsing and validation. Added xmlSchemaCopyValue to the API; * xmlschemas.c: Enabled IDC parsing and validation. * xmlschemastypes.c include/libxml/xmlschemastypes.h: Added xmlSchemaCopyValue to the API; this was done due to validation of default attributes against IDCs: since IDC keys consume the precomputed value, one needs a copy. * pattern.c: Enabled IDC support; this is currently done via calling xmlPatterncompile with a flag arg of 1.
William M. Brack 12d37ab6 2005-02-21T13:54:07 fixed problem when XMLLINT_INDENT was empty (bug 168033). fixed * xmlsave.c: fixed problem when XMLLINT_INDENT was empty (bug 168033). * xpath.c: fixed compilation warning, no change to logic. * xmlschemastypes.c: fixed compilation warning, no change to logic.
Daniel Veillard b5839c3b 2005-02-19T18:27:14 a bit of cleanup rebuilt the API the tests and the documentation as a * xmlschemastypes.c: a bit of cleanup * elfgcchack.h testapi.c doc/*: rebuilt the API the tests and the documentation as a result. Daniel
Daniel Veillard 5e094143 2005-02-18T19:36:12 applied patch from Aron Stansvik to add xmlTextReaderByteConsumed() added * xmlreader.c include/libxml/xmlreader.h: applied patch from Aron Stansvik to add xmlTextReaderByteConsumed() * testReader.c: added a test option * xmlschemastypes.c: fix a lack of pointer checking in APIs Daniel
Kasimier T. Buchcik b06b4ded 2005-02-17T19:00:23 Added validation for the attribute "id" in the schemata; doing this needed * xmlschemas.c: Added validation for the attribute "id" in the schemata; doing this needed error report fixes for notations, facets and group. Changed NOTATION validation to work with the declared NOTATIONs in the schema; this does have no impact on the validation via the relaxng module. * xmlschemastypes.c include/libxml/xmlschemastypes.h: Added xmlSchemaNewNOTATIONValue to the API to be able to do the NOTATION validation described above. * test/schemas/element-err_0.xsd test/schemas/annot-err_0.xsd: Fixed the values of the "id" attributes, which were not validated previously.
Kasimier T. Buchcik 6e224f12 2005-02-17T11:10:44 Fixed comparison for default/fixed attribute values, if the type was * xmlschemas.c: Fixed comparison for default/fixed attribute values, if the type was 'xsd:string'. Changed the comparison for IDCs to use the whitespace aware comparison function. * xmlschemastypes.c include/libxml/xmlschemastypes.h: Added xmlSchemaGetCanonValue, xmlSchemaNewStringValue and xmlSchemaCompareValuesWhtsp to the API. Added functions to compare strings with whitespace combinations of "preserve", "replace" and "collapse".
Daniel Veillard df292f7a 2005-01-16T19:00:15 better fix for #151694 not killing c14n regression tests fixing bug * parser.c: better fix for #151694 not killing c14n regression tests * xmlschemastypes.c: fixing bug #157653 Daniel
Daniel Veillard 6fc5db00 2005-01-16T00:05:58 trying to fix at least the message from bug #158628 added first xmlsave * xmlschemastypes.c: trying to fix at least the message from bug #158628 * include/libxml/xmlsave.h xmlsave.c: added first xmlsave option for format, c.f. bug #159997 Daniel
William M. Brack 094dd86c 2004-11-14T14:28:34 further enhancement, now all compilation warnings have been fixed. added * gentest.py, testapi.c: further enhancement, now all compilation warnings have been fixed. * xmlschemastypes.c: added NULL check for one function
Kasimier T. Buchcik 91feaf84 2004-11-12T14:04:58 Correct symbol space for 'all' and 'choice'. Added 'replace' normalization * xmlschemas.c: Correct symbol space for 'all' and 'choice'. * xmlschemastypes.c include/xmlschemastypes.h: Added 'replace' normalization for 'normalizedString'. Added xmlSchemaWhiteSpaceReplace to the API.
Daniel Veillard d0cf7f6e 2004-11-09T16:17:02 integrated in "make tests" added -q option, and more conditional features * Makefile.am gentest.py testapi.c: integrated in "make tests" added -q option, and more conditional features fixes * catalog.c debugXML.c parser.c testThreads.c xmllint.c xmlschemastypes.c xmlwriter.cinclude/libxml/catalog.h include/libxml/debugXML.h: various compilation and conditional cleanups. * doc/*: regenerated Daniel
Daniel Veillard 42595323 2004-11-08T10:52:06 more types, more coverage more problems fixed Daniel * gentest.py testapi.c: more types, more coverage * parser.c parserInternals.c relaxng.c valid.c xmlIO.c xmlschemastypes.c: more problems fixed Daniel
Daniel Veillard ce682bc2 2004-11-05T17:22:25 autogenerate a minimal NULL value sequence for unknown pointer types This * gentest.py testapi.c: autogenerate a minimal NULL value sequence for unknown pointer types * HTMLparser.c SAX2.c chvalid.c encoding.c entities.c parser.c parserInternals.c relaxng.c valid.c xmlIO.c xmlreader.c xmlsave.c xmlschemas.c xmlschemastypes.c xmlstring.c xpath.c xpointer.c: This uncovered an impressive amount of entry points not checking for NULL pointers when they ought to, closing all the open gaps. Daniel
Daniel Veillard 6927b106 2004-10-27T17:29:04 preparing release 2.6.15 cleanups Daniel * ChangeLog NEWS configure.in doc/*: preparing release 2.6.15 * debugXML.c nanoftp.c xmlschemas.c xmlschemastypes.c: cleanups Daniel
Daniel Veillard c7e3cc49 2004-09-28T12:33:52 another patch from Malcolm Tredinnick fixing warning generated by the * acconfig.h config.h.in configure.in xmlIO.c xmlregexp.c xmlschemas.c xmlschemastypes.c: another patch from Malcolm Tredinnick fixing warning generated by the Nonstop Kernel Open System Services compiler #151710 Daniel
Daniel Veillard 49e8963c 2004-09-23T16:24:36 fixing an out of bound adressing issue Daniel * xmlschemastypes.c: fixing an out of bound adressing issue Daniel
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
Daniel Veillard eebd633b 2004-08-26T10:30:44 remove a warning on Solaris fix a crashing bug #151111 Daniel * parser.c: remove a warning on Solaris * xmlschemastype.c: fix a crashing bug #151111 Daniel
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
William M. Brack 4e3a9fa1 2004-08-03T22:41:11 elaborated on description of xmlValidityWarningFunc and * include/libxml/valid.h: elaborated on description of xmlValidityWarningFunc and xmlValidityErrorFunc (bug 144760) * xmlIO.c, xmlschemastypes.c, include/libxml/schemasinternals.h: minor fixes to comments for doc rebuilding errors. * doc/*.html: rebuilt the docs
William M. Brack 96d2effc 2004-06-30T11:48:47 warning message cleanup. Now compiles warning-free, all tests passed. * xmlschemas.c, xmlschemastypes.c: warning message cleanup. Now compiles warning-free, all tests passed. * SAX2.c: small change to comments for documentation. No change to logic.
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 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
Daniel Veillard ebe25d49 2004-03-25T09:35:49 applied patch from Mark Vadoc avoiding using xmlParse* option and use * debugXML.c testXPath.c xmllint.c xmlschemastypes.c: applied patch from Mark Vadoc avoiding using xmlParse* option and use xmlRead* instead * win32/Makefile.bcb: patch to Borland C++ builder from Eric Zurcher to avoid problems with some pathnames. Daniel
Daniel Veillard 11c466ab 2004-03-14T12:20:15 applied patch from John Belmonte for anyURI. Daniel * xmlschemastypes.c: applied patch from John Belmonte for anyURI. Daniel
William M. Brack fbf2c5ea 2004-02-03T17:55:56 fixed validation of maxLength with no content using patch submitted by * xmlschemastypes.c: fixed validation of maxLength with no content using patch submitted by Eric Haszlakiewicz (bug 133259)
Daniel Veillard 1516d5b3 2004-01-22T07:27:45 applied patch from John Belmonte for normalizedString datatype support. * xmlschemastypes.c: applied patch from John Belmonte for normalizedString datatype support. 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
William M. Brack 76e95df0 2003-10-18T16:20:14 Changed all (?) occurences where validation macros (IS_xxx) had * include/libxml/parserInternals.h HTMLparser.c HTMLtree.c SAX2.c catalog.c debugXML.c entities.c parser.c relaxng.c testSAX.c tree.c valid.c xmlschemas.c xmlschemastypes.c xpath.c: Changed all (?) occurences where validation macros (IS_xxx) had single-byte arguments to use IS_xxx_CH instead (e.g. IS_BLANK changed to IS_BLANK_CH). This gets rid of many warning messages on certain platforms, and also high- lights places in the library which may need to be enhanced for proper UTF8 handling.
Daniel Veillard 4aede2e6 2003-10-17T12:43:59 remove the warning for startDocument(), as it is used by glade (or * legacy.c: remove the warning for startDocument(), as it is used by glade (or glade-python) * parser.c relaxng.c xmlschemastypes.c: fixed an assorted set of invalid accesses found by running some Python based regression tests under valgrind. There is still a few leaks reported by the relaxng regressions which need some attention. * doc/Makefile.am: fixed a make install problem c.f. #124539 * include/libxml/parserInternals.h: addition of xmlParserMaxDepth patch from crutcher Daniel
Daniel Veillard d0c9c32f 2003-10-10T00:49:42 cleanup fix a funny typo converted the Schemas code to the new error * Makefile.am: cleanup * encoding.c: fix a funny typo * error.c xmlschemas.c xmlschemastypes.c include/libxml/xmlerror.h: converted the Schemas code to the new error handling. PITA, still need to check output from regression tests. Daniel
Daniel Veillard 1ac24d36 2003-08-27T14:15:15 fixed an error reporting bug in Relax-NG when we end up with multiple * relaxng.c: fixed an error reporting bug in Relax-NG when we end up with multiple states, select the "best" one. Fix #120682 * result/relaxng/tutor11_2_3.err: small change resulting * xmlschemastypes.c: applied base64 support patch from Anthony Carrico
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
William M. Brack c193956e 2003-08-05T15:52:22 small changes to syntax to get rid of compiler warnings. No changes to * error.c HTMLparser.c testC14N.c testHTML.c testURI.c xmlcatalog.c xmlmemory.c xmlreader.c xmlschemastypes.c python/libxml.c include/libxml/xmlmemory.h: small changes to syntax to get rid of compiler warnings. No changes to logic.
Daniel Veillard 34ba3879 2003-07-15T13:34:05 removed some warnings by casting xmlChar to unsigned int and a couple of * DOCBparser.c HTMLparser.c entities.c parser.c relaxng.c xmlschemas.c xpath.c: removed some warnings by casting xmlChar to unsigned int and a couple of others. * xmlschemastypes.c: fixes a segfault on empty hexBinary strings Daniel
Daniel Veillard 560c2a44 2003-07-06T21:13:49 preparing release 1.5.8 changed some preprocessor block applied patch from * configure.in doc/*: preparing release 1.5.8 * nanohttp.c: changed some preprocessor block * xmlschemastypes.c: applied patch from Charles Bozeman adding hexBinary schema datatype and adding support for totalDigits and fractionDigits facets. Daniel
Daniel Veillard 75bb3bbf 2003-05-12T15:25:56 added --schema option to run WXS schema validation tried to improve error * xmllint.c: added --schema option to run WXS schema validation * xmlschemas.c xmlschemastypes.c include/libxml/schemasInternals.h: tried to improve error reporting in the Schema code, some cleanup too. Daniel
Daniel Veillard a77cf71f 2003-05-09T23:09:55 trying to fix #112673 Daniel * xmlschemastypes.c: trying to fix #112673 Daniel
Daniel Veillard 18f113da 2003-04-23T15:18:26 trivial fix for 109774 removing a warning Daniel * xmlschemastypes.c: trivial fix for 109774 removing a warning 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 b3721c25 2003-03-31T11:22:25 fixed date comparison to handle the tzo The only failures left are * xmlschemastypes.c: fixed date comparison to handle the tzo The only failures left are disagreements on Notations and '+1' not being allowed for ulong, uint, ushort and ubyte. Daniel
Daniel Veillard 455cc073 2003-03-31T10:13:23 fixed gMonth parsing routine accordingly to the XML Schemas errata * xmlschemastypes.c: fixed gMonth parsing routine accordingly to the XML Schemas errata http://www.w3.org/2001/05/xmlschema-errata#e2-12 Daniel
Daniel Veillard e637c4ad 2003-03-30T21:10:09 more work on XML Schemas datatypes and facets support. Currently only * relaxng.c xmlschemastypes.c: more work on XML Schemas datatypes and facets support. Currently only schemas with binHex or base64 don't compile. A few error left in the test suite: found 1035 test instances: 919 success 23 failures most are gdate or gdateyear failing check, and a few cases where James clark tests results are strange. * valid.c: allow to reuse the Notation checking routine without having a validation context. * SAX.c: removed a #if 0 Daniel
Daniel Veillard b6c7f415 2003-03-29T16:41:55 forgot to apply one check from #106931 patch more work on XML Schemas * xinclude.c: forgot to apply one check from #106931 patch * xmlschemastypes.c: more work on XML Schemas datatypes Daniel
Daniel Veillard c4c21551 2003-03-29T10:53:38 more work on cleaning up XML Schemas datatypes based on James Clark tests * relaxng.c include/libxml/relaxng.h xmlschemastypes.c: more work on cleaning up XML Schemas datatypes based on James Clark tests test/xsdtest/xsdtest.xml Daniel
Daniel Veillard 80b19092 2003-03-28T13:29:53 implemented comparisons for Schemas values. fixed some bugs in duration * relaxng.c: implemented comparisons for Schemas values. * xmlschemastypes.c include/libxml/xmlschemastypes.h: fixed some bugs in duration handling, comparisons for durations and decimals, removed all memory leaks pointed out by James testsuite. Current status is now found 238 test schemas: 197 success 41 failures found 1035 test instances: 803 success 130 failures 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 6560a42c 2003-03-27T21:25:38 two patches from James Bursa on the HTML parser and a typo reindenting, * HTMLparser.c tree.c: two patches from James Bursa on the HTML parser and a typo * xmlschemastypes.c: reindenting, fixing a memory access problem with dates. Daniel
Daniel Veillard 09628210 2003-03-25T15:10:27 removing a warning with Sun compiler bug #109154 Daniel * xmlschemastypes.c: removing a warning with Sun compiler bug #109154 Daniel
Daniel Veillard 580ced8e 2003-03-21T21:22:48 fixed Red Hat bug #86118 use libxml2.spec instead of libxml.spec fixed * configure.in Makefile.am: fixed Red Hat bug #86118 use libxml2.spec instead of libxml.spec * relaxng.c: fixed some of the error reporting excessive verbosity * catalog.c debugXML.c valid.c xmlreader.c xmlschemas.c xpath.c xmlschemastypes.c: removed some warnings from gcc * doc/libxml2-api.xml: rebuilt Daniel
Daniel Veillard ef2e4ec1 2003-03-20T16:23:26 added integer and fixed one of the IDREFS regression tests pbm updated * xmlschemastypes.c: added integer and fixed one of the IDREFS regression tests pbm * result/relaxng/docbook_0.err: updated Daniel
Daniel Veillard 249d7bbe 2003-03-19T21:02:29 attempt to cope with ID/IDREF(S) declared both in the DTD and in the * valid.c xmlschemastypes.c: attempt to cope with ID/IDREF(S) declared both in the DTD and in the Schemas <grin/> * relaxng.c: more debug, added a big optimization for <mixed> * test/relaxng/testsuite.xml: augmented the testsuite * test/relaxng/ result/relaxng: added the RelaxNG spec and a DocBook example to the regression tests Daniel
Daniel Veillard a1a9d041 2003-03-18T16:53:17 removed a warning more cleanup, added ENTITY and ENTITIES support * tree.c: removed a warning * xmlschemastypes.c: more cleanup, added ENTITY and ENTITIES support * check-relaxng-test-suite.py check-xsddata-test-suite.py: cleanup/improvements of the regression tests batch * test/relaxng/testsuite.xml: augmented libxml2 own testsuite Daniel
Daniel Veillard 28c52ab5 2003-03-18T11:39:17 fixed error msg cleanup deallocation added a function to handle lists of * relaxng.c: fixed error msg cleanup deallocation * xmlschemastypes.c: added a function to handle lists of atomic types, added support for IDREFS Daniel
Daniel Veillard c3da18a1 2003-03-18T00:31:04 added Datatype ID and IDREF, usable from RelaxNG now need to add a new * relaxng.c valid.c xmlschemastypes.c: added Datatype ID and IDREF, usable from RelaxNG now * include/libxml/xmlschemastypes.h: need to add a new interface because the validation modifies the infoset * test/relaxng/testsuite.xml: extended the testsuite Daniel
Daniel Veillard 5f704afe 2003-03-05T10:01:43 made powten array static it should not be exported fix bug #107361 by * xmlschemastype.c: made powten array static it should not be exported * HTMLparser.c: fix bug #107361 by reusing the code from the XML parser function. * testHTML.c: get rid of valgrind messages on the HTML SAX tests Daniel
Daniel Veillard 8bc6cf9a 2003-02-27T17:42:22 added param support for relaxng type checking, started to increment the * relaxng.c xmlschemas.c xmlschemastypes.c include/libxml/xmlschemastypes.h: added param support for relaxng type checking, started to increment the pool of simple types registered, still much work to be done on simple types and facets checkings. Daniel
Daniel Veillard d431074c 2003-02-18T21:12:46 float/double check bugfix exported a function for NMTOKEN validation add a * xmlschemastypes.c: float/double check bugfix * tree.c include/libxml/tree.h: exported a function for NMTOKEN validation * xmlreader.c: add a TODO for Jody * relaxng.c: bugfix bugfix bugfix found 373 test schemas: 300 success 73 failures found 529 test instances: 507 success 10 failures * result/relaxng/*: updated the results Daniel
Daniel Veillard d2298791 2003-02-14T16:54:11 more testing on the Relax-NG front, cleaning up the regression tests * check-relaxng-test-suite.py relaxng.c: more testing on the Relax-NG front, cleaning up the regression tests failures current state and I forgot support for "mixed": found 373 test schemas: 280 success 93 failures found 529 test instances: 401 success 68 failures * tree.c include/libxml/tree.h xmlschemastypes.c: finished and moved the Name, NCName and QName validation routine in tree.c * uri.c: fixed handling of URI ending up with #, i.e. having an empty fragment ID. * result/relaxng/*: updated the results Daniel
Daniel Veillard c5a70f26 2003-02-06T23:41:59 added the boolean base type. Daniel * xmlschemastypes.c: added the boolean base type. Daniel
Daniel Veillard 96a4b252 2003-02-06T08:22:32 started implementing some of the missing default simple types updated the * xmlschemastypes.c: started implementing some of the missing default simple types * result/relaxng/*: updated the results Daniel
Daniel Veillard e5b110b3 2003-02-04T14:43:39 try to fix # 105049 a couple of changes and extensions updated a function * HTMLparser.c: try to fix # 105049 * relaxng.c xmlschemastypes.c: a couple of changes and extensions * tree.c: updated a function comment Daniel
Daniel Veillard c6e997c9 2003-01-27T12:35:42 more work on Relax-NG augmented/updated the regression tests added a * relaxng.c: more work on Relax-NG * test/relaxng/* result/relaxng/*: augmented/updated the regression tests * xmlschemastypes.c: added a number of base type definition but not the associated checks, those are still TODOs Daniel
Daniel Veillard 01c13b5b 2002-12-10T15:19:08 code cleanup, especially the function comments. fixed a small bug when * DOCBparser.c HTMLparser.c c14n.c debugXML.c encoding.c hash.c nanoftp.c nanohttp.c parser.c parserInternals.c testC14N.c testDocbook.c threads.c tree.c valid.c xmlIO.c xmllint.c xmlmemory.c xmlreader.c xmlregexp.c xmlschemas.c xmlschemastypes.c xpath.c: code cleanup, especially the function comments. * tree.c: fixed a small bug when freeing nodes which are XInclude ones. Daniel
Daniel Veillard dda8f1ba 2002-09-26T09:47:36 make sure ATTRIBUTE_UNUSED is always put after the attribute declaration, * xinclude.c xmlschemas.c xmlschemastypes.c xpath.c: make sure ATTRIBUTE_UNUSED is always put after the attribute declaration, not before Daniel
Daniel Veillard 118aed78 2002-09-24T14:13:13 fixed the data callback on transition functionality which was broken when * xmlregexp.c: fixed the data callback on transition functionality which was broken when using the compact form * result/schemas/*: updated the results, less verbose, all tests pass like before * DOCBparser.c testAutomata.c testC14N.c testSchemas.c testThreads.c testXPath.c valid.c xinclude.c xmllint.c xmlregexp.c xmlschemas.c xmlschemastypes.c xpath.c python/libxml.c: removed a bunch of annoying warnings * xpath.c: try to provide better error report when possible Daniel
Daniel Veillard b5c05735 2002-09-20T13:36:25 as pointed by Igor Float and Double parsing ain't finished yet Daniel * xmlschemastypes.c: as pointed by Igor Float and Double parsing ain't finished yet Daniel