xmlschemastypes.c


Log

Author Commit Date CI Message
Nick Wellnhofer 5d36664f 2024-07-16T00:35:53 memory: Deprecate xmlGcMemSetup
Nick Wellnhofer 1b640358 2024-06-16T00:39:39 schemas: Stop using xmlValidateNotationUse Simplify symbol availability logic.
Nick Wellnhofer f307237e 2024-06-15T23:53:04 schemas: Use private copy of global NaN and Inf Simplify symbol availability logic.
Tomáš Ženčák ae960cac 2023-11-07T21:08:01 Allow unlimited length decimals, integers etc.
Nick Wellnhofer d0d6174e 2024-02-29T19:38:29 valid: Rework xmlAddID
Maks Mishin 25afd931 2024-02-29T01:29:42 xmlschemastypes: Remove unreachable if statement Pointer `cur` is created by `value` variable and there is no need to check `cur` for NULL because of `value` is checked in the beginning of function. Found by RASU JSC.
Nick Wellnhofer 06c00f65 2023-12-18T19:51:32 schemas: Improve error handling Introduce xmlSchema*ErrFull which checks for memory allocation failures during error reporting. Remove arguments from memory error handlers. Use xmlRaiseMemoryError. Remove TODO macro.
makise-homura 595c19a5 2023-11-08T23:59:56 Avoid EDG -Wtype-limits warnings on unsigned comparisons with zero by conversion from unsigned int to int
Nick Wellnhofer 9b5cce7a 2023-09-21T00:44:50 include: Remove more unnecessary includes
Nick Wellnhofer 4e1c13eb 2023-09-18T14:45:10 debug: Remove debugging code This is barely useful these days and only clutters the code base.
Nick Wellnhofer f8efa589 2023-03-14T13:55:06 malloc-fail: Handle malloc failures in xmlSchemaInitTypes Note that this changes the return value of public function xmlSchemaInitTypes from void to int. This shouldn't break the ABI on most platforms. Found when investigating #500.
Nick Wellnhofer 19b197b6 2023-03-05T14:10:56 malloc-fail: Fix null deref after xmlSchemaCompareDates Found with libFuzzer, see #344.
Nick Wellnhofer 7762e8ed 2023-03-05T14:08:15 malloc-fail: Fix null deref in xmlSchemaValAtomicType Found with libFuzzer, see #344.
Nick Wellnhofer 112340c6 2023-03-05T14:07:57 malloc-fail: Fix null deref in xmlSchemaInitTypes Found with libFuzzer, see #344.
Nick Wellnhofer 2cac6269 2022-09-01T03:14:13 Don't use sizeof(xmlChar) or sizeof(char)
Nick Wellnhofer 0f568c0b 2022-08-26T01:22:33 Consolidate private header files Private functions were previously declared - in header files in the root directory - in public headers guarded with IN_LIBXML - in libxml.h - redundantly in source files that used them. Consolidate all private header files in include/private.
Nick Wellnhofer 2070ade6 2022-03-06T23:19:04 Undeprecate schema init functions These functions aren't called from xmlInitParser, so it's better to keep them public for now.
Nick Wellnhofer 40483d0c 2022-03-06T13:55:48 Deprecate module init and cleanup functions These functions shouldn't be part of the public API. Most init functions are only thread-safe when called from xmlInitParser. Global variables should only be cleaned up by calling xmlCleanupParser.
Damjan Jovanovic 966b0f21 2021-08-19T02:46:32 Add whitespace folding for some atomic data types that it's missing on. XSD validation fails when some atomic types contain surrounding whitespace even though XML Schema Part 2: Datatypes Second Edition, section 4.3.6 says they should be collapsed. Fix this. (I am not sure whether the test is correct.) Issue: #278
Nick Wellnhofer 776d15d3 2022-03-02T00:29:17 Don't check for standard C89 headers Don't check for - ctype.h - errno.h - float.h - limits.h - math.h - signal.h - stdarg.h - stdlib.h - string.h - time.h Stop including non-standard headers - malloc.h - strings.h
Nick Wellnhofer 346c3a93 2022-02-20T18:46:42 Remove elfgcchack.h The same optimization can be enabled with -fno-semantic-interposition since GCC 5. clang has always used this option by default.
Nick Wellnhofer daf2d9c3 2022-02-08T04:30:29 Fix regression in RelaxNG pattern matching XML_SCHEMAS_QNAME is not a string-derived type. Other types up to XML_SCHEMAS_ENTITIES are. Should fix #224.
PaulHiggs 33468d7e 2021-05-03T16:09:44 update for xsd:language type check Fixes #242.
Xiaoming Ni cb7a572b 2020-12-07T20:17:34 xmlschemastypes.c: xmlSchemaGetFacetValueAsULong add, check "facet->val" The xmlSchemaGetFacetValueAsUlong() API is an external API. The validity of external input parameters must be strictly verified. Before accessing "facet->val->value", we need check whether "facet->val" is a null pointer. Signed-off-by: wuqing <wuqing30@huawei.com> Signed-off-by: Xiaoming Ni <nixiaoming@huawei.com>
Nick Wellnhofer 8e7c20a1 2020-08-03T17:30:41 Fix integer overflow when comparing schema dates Found by OSS-Fuzz.
Nick Wellnhofer c0440868 2020-06-22T13:08:11 Copy xs:duration parser from libexslt The duration parser in libexslt checks for integer overflows.
Nick Wellnhofer 18425d3a 2020-06-21T19:14:23 Fix integer overflow in _xmlSchemaParseGYear Found with libFuzzer and UBSan.
Nick Wellnhofer 50f18830 2020-06-21T15:21:45 Fix another memory leak in xmlSchemaValAtomicType Don't collapse language IDs twice. Found with libFuzzer and ASan.
Nick Wellnhofer 20c60886 2020-03-08T17:19:42 Fix typos Resolves #133.
Kevin Puetz e45e06de 2020-01-31T13:16:37 Fix xmlSchemaGetCanonValue formatting for date and dateTime Per https://www.w3.org/TR/xmlschema-2/#dateTime-lexical-representation, the date portion is supposed to use '-' as the delimiter
Nick Wellnhofer 5eeb9d5f 2019-10-14T16:35:00 Fix memory leak in xmlSchemaValAtomicType Don't collapse anyUris twice. Closes #104.
Jared Yanovich 2a350ee9 2019-09-30T17:04:54 Large batch of typo fixes Closes #109.
Nick Wellnhofer 6705f4d2 2019-09-16T15:45:27 Remove executable bit from non-executable files
Nick Wellnhofer 8efc5b28 2019-09-13T12:24:23 14:00 is a valid timezone for xs:dateTime Closes #100
Nick Wellnhofer e3f1c7f7 2019-08-25T14:12:23 Partial fix for comparison of xs:durations See https://bugzilla.gnome.org/show_bug.cgi?id=777139 Thanks to Zhongyuan Zhou for the initial merge request !34.
Jens Eggerstedt b3a95d57 2019-05-21T11:21:29 Fix unsigned int overflow
Nick Wellnhofer e03f0a19 2017-11-09T16:42:47 Fix hash callback signatures Make sure that all parameters and return values of hash callback functions exactly match the callback function type. This is required to pass clang's Control Flow Integrity checks and to allow compilation to asm.js with Emscripten. Fixes bug 784861.
J. Peter Mugaas d2c329a9 2017-10-21T13:49:31 Fix -Wimplicit-fallthrough warnings Add "falls through" comments to quench implicit-fallthrough warnings which are enabled by -Wextra under GCC 7.
Stéphane Michaut 454e397e 2017-08-28T14:30:43 Porting libxml2 on zOS encoding of code First set of patches for zOS - entities.c parser.c tree.c xmlschemas.c xmlschemastypes.c xpath.c xpointer.c: ask conversion of code to ISO Latin 1 to avoid having the compiler assume EBCDIC codepoint for characters. - xmlmodule.c: make sure we have support for modules - xmlIO.c: zOS path names are special avoid dsome of the expectstions from Unix/Windows
Patrick Monnerat 90da33ce 2016-05-03T21:37:52 Portability to non C99 compliant compilers OS400 C compiler is not C99 compliant. It only supports local variable declarations at the beginning of a block. We loose the const as a result but portability is more important.
Patrick Monnerat a1dca81d 2016-04-11T20:03:19 xmlschemastypes.c: accept endOfDayFrag Times set to "24:00:00" mean "end of day" and should not cause an error.
Audric Schiltknecht cad102b8 2016-04-15T22:41:24 Do normalize string-based datatype value in RelaxNG facet checking Original patch is from Jan Pokorný <jpokorny redhat com> https://mail.gnome.org/archives/xml/2013-November/msg00028.html Improve it according to reviews and add test files.
Philip Withnall 4ba5d317 2014-06-20T21:37:21 xmlschemastypes: Fix potential array overflow The year and month need validating before being put into the MAX_DAYINMONTH macro. Coverity issue: #60436 https://bugzilla.gnome.org/show_bug.cgi?id=731990
David Kilzer 30cf439e 2014-07-14T22:29:56 Check for tmon in _xmlSchemaDateAdd() is incorrect For https://bugzilla.gnome.org/show_bug.cgi?id=732705 In _xmlSchemaDateAdd(), the check for |tmon| should be the following since MAX_DAYINMONTH() expects a month in the range [1,12]: if (tmon < 1) tmon = 1; Regression introduced in https://git.gnome.org/browse/libxml2/commit/?id=14b5643947845df089376106517c4f7ba061e4b0
Jan Pokorný 7a7cad6e 2013-11-29T23:26:26 Fix typos in xmlschemas{,types}.c Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Gaurav e79226cc 2013-11-28T22:50:57 Type mismatch in xmlschemastypes.c For https://bugzilla.gnome.org/show_bug.cgi?id=715152
Daniel Veillard 717042d2 2013-07-22T14:28:20 Avoid crash if allocation fails https://bugzilla.gnome.org/show_bug.cgi?id=704527 xmlSchemaNewValue() may fail on OOM error
Daniel Veillard f8e3db04 2012-09-11T13:26:36 Big space and tab cleanup Remove all space before tabs and space and tabs at end of lines.
Nico Weber aae48e64 2012-02-29T09:44:35 Fix a wrong enum type use in Schemas Types
Daniel Veillard bbcf1275 2011-11-10T23:23:10 Fix a schema type duration comparison overflow https://bugzilla.gnome.org/show_bug.cgi?id=653724 Based on the fix suggested by Nick Pope <nick@nickpope.me.uk> but just changing the casts to avoid using long long type
Daniel Veillard 1ea95900 2010-07-28T14:49:55 Small code cleanup on previous patch suggested by Andrew Nosenko
Csaba Raduly 5f8f5e7a 2010-07-28T11:41:23 Fix errors in XSD double validation check - xmlschemastypes.c: "e" and "E" should not be accespted as is, digits are needed
Vincent Lefevre 933e5de9 2009-08-07T16:42:24 Bug 565747 – relax anyURI data character checking * xmlschemastypes.c: anyURI values that contain an apostrophe or a space character or any non-ascii char were rejected, this is opposed to XSD-1.0 datatype rules
Daniel Veillard bfc42632 2008-04-03T10:43:52 horror around the definition of the lexical values for decimal and derived * xmlschemastypes.c: horror around the definition of the lexical values for decimal and derived types, fixing to reject empty values, should fix #503268 Daniel svn path=/trunk/; revision=3728
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