Log

Author Commit Date CI Message
Daniel Veillard 8aa7afa6 2005-05-10T09:50:01 applied patch from Steve Nairn tof fix the compilation problem exposed in * testapi.c: applied patch from Steve Nairn tof fix the compilation problem exposed in bug #303640 Daniel
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 22678566 2005-05-09T16:01:05 Changed the XPath "." to resolve only on the first level for XML Schema * pattern.c: Changed the XPath "." to resolve only on the first level for XML Schema IDCs. This should not affect pattern-like resolution on every level.
Daniel Veillard 942d6c7b 2005-05-08T11:39:56 fixed #169630 segfault in xmlMemDisplay Daniel * xmlmemory.c: fixed #169630 segfault in xmlMemDisplay Daniel
Daniel Veillard 99dd7636 2005-05-06T11:40:56 fixing bug #303068 increasing the nanoftp buffer. fixed __attribute() * nanoftp.c: fixing bug #303068 increasing the nanoftp buffer. * doc/apibuild.py: fixed __attribute() parsing problem * doc/* testapi.c: regenerated the descriptions and docs. Daniel
Daniel Veillard dbfe05af 2005-05-04T09:18:00 on linux/gcc use weak definitions to avoid linking with pthread library on * Makefile.am configure.in threads.c: on linux/gcc use weak definitions to avoid linking with pthread library on non-threaded environments. * xpath.c: applied patch from Mark Vakoc w.r.t. a buggy namespace list allocation. Daniel
Igor Zlatkovic cbdf6515 2005-05-03T19:02:47 ignored the bindist directory
Kasimier T. Buchcik 455472f2 2005-04-29T10:04:43 Fixed a test for duplicate attributes: Non-prefixed attributes were * parser.c: Fixed a test for duplicate attributes: Non-prefixed attributes were treated as being bound to the default namespace.
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 c0e833f0 2005-04-19T15:02:20 Removed 5 unnecessary dereferences (reported by Andriy, bug #301074). * xmlschemas.c xmlregexp.c: Removed 5 unnecessary dereferences (reported by Andriy, bug #301074).
William M. Brack 3d426663 2005-04-19T14:40:28 Added some code to avoid integer overflow for ceil, floor and round * xpath.c: Added some code to avoid integer overflow for ceil, floor and round functions (bug 301162)
Kasimier T. Buchcik 187ea5f6 2005-04-19T11:25:43 Removed workaround for bug #172215, since it does more harm in some * xmlschemas.c: Removed workaround for bug #172215, since it does more harm in some scenarios. Added some of the "Particle Restriction OK" constraints - not yet enabled.
Kasimier T. Buchcik eabc1d65 2005-04-18T11:04:28 Added test results. * result/schemas/changelog093*: Added test results.
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.
William M. Brack d6e347e8 2005-04-15T01:34:41 Applied Daniel's fix for memory leak in dtd prefix (bug 300550). minor * valid.c: Applied Daniel's fix for memory leak in dtd prefix (bug 300550). * xpath.c: minor change to comment only
Daniel Veillard 18ffe20c 2005-04-14T17:50:59 added the call to the breakpoint routine when a monitored block is * xmlmemory.c: added the call to the breakpoint routine when a monitored block is reallocated or freed Daniel
Daniel Veillard 351f2d6e 2005-04-13T02:55:12 applied patch from Aron Stansvik for bug #172525 about HTTP query string * nanohttp.c: applied patch from Aron Stansvik for bug #172525 about HTTP query string parameter being lost Daniel
Daniel Veillard f9cf6f5a 2005-04-12T01:02:29 applied patch from Brent Hendricks adding namespace removal at the python * python/libxml.c python/libxml.py: applied patch from Brent Hendricks adding namespace removal at the python level #300209 * python/tests/Makefile.am python/tests/nsdel.py: added the regression test Daniel
Daniel Veillard d49370e9 2005-04-11T23:28:16 Updated Steve Ball and Mac OS X binaries URL, Daniel
William M. Brack 2c19a7bf 2005-04-10T01:03:23 fixed several places where memory cleanup was not properly done after an * xpath.c: fixed several places where memory cleanup was not properly done after an error was detected (problem was reported on the mailing list by Pawel Palucha)
Kasimier T. Buchcik 016d92e3 2005-04-08T20:08:40 Added substitution group constraints; changed the build of the * xmlschemas.c: Added substitution group constraints; changed the build of the pre-computed substitution groups. Channeled errors during xsi assembling of schemas to the validation context. Fixed a big memory leak, which occured when using IDCs: the precomputed value of attributes was not freed if the attribute did not resolve to an IDC field (discovered with the help of Randy J. Ray's schema, posted to the xmlschema-dev maling list).
Kasimier T. Buchcik 1a99a397 2005-04-08T11:23:56 Added "Particle correct 2" to parsing of model groups. Added handling * xmlschemas.c: Added "Particle correct 2" to parsing of model groups. Added handling substitution groups inside <choice> and <sequence>; for <all> this is not supported yet. Changed circular checks for model groups definitions. "memberTypes" are processed at different levels now: component resolution first, construction later; this goes hand in hand with a global change to handle component resolution in a distinct phase. Fixed invalid default values for elements to mark the schema as invalid; this just resulted in an error report previously, but the schema was handled as valid. Separated the assignment of the model groups to referencing model group definition references (i.e. particles); this was needed to perform the circularity check for model group definitions. Added "Element Declaration Properties Correct (e-props-correct)" constraints. Separated component resolution for simple/complex types. * include/libxml/schemasInternals.h: Added a flag for substitution group heads.
Daniel Veillard 142fb21c 2005-04-07T12:48:10 Updated links to bindings, daniel
Igor Zlatkovic f12177d9 2005-04-06T21:14:06 make install cleanup
Igor Zlatkovic f52de60f 2005-04-06T20:42:35 fixed mingw compilation
Igor Zlatkovic 53dbdd77 2005-04-06T20:06:50 *** empty log message ***
Igor Zlatkovic c52020fc 2005-04-06T20:06:08 added Eclipse project files to ignore
Daniel Veillard 4ddaa56d 2005-04-06T14:09:08 fixed the bug in lang() as raised by Elliotte Rusty Harold added a * xpath.c: fixed the bug in lang() as raised by Elliotte Rusty Harold * result/XPath/tests/langsimple test/XPath/tests/langsimple test/XPath/docs/lang: added a regression test Daniel
Daniel Veillard 6056ae93 2005-04-05T21:48:57 applied fix from Rob Richards to compile on Windows. Daniel * nanoftp.c: applied fix from Rob Richards to compile on Windows. Daniel
Kasimier T. Buchcik 5e371a04 2005-04-05T15:08:05 Added "Type Derivation OK (Complex)" constraints and anchored them in the * xmlschemas.c: Added "Type Derivation OK (Complex)" constraints and anchored them in the "Element Locally Valid (Element)" constraints. This restricts the type substitution via "xsi:type".
Daniel Veillard f3598458 2005-04-05T11:10:45 patch from Matthew Burgess to improve some schemas facets validation * xmlschemas.c: patch from Matthew Burgess to improve some schemas facets validation messages. Daniel
Daniel Veillard 0dcc50ae 2005-04-04T09:34:15 Fixed Kasimier name, daniel
Daniel Veillard 771971f2 2005-04-02T10:49:51 preparing release 2.6.19, updated docs and rebuilding. Daniel * doc/* configure.in NEWS: preparing release 2.6.19, updated docs and rebuilding. Daniel
Daniel Veillard cdc1a59a 2005-04-02T10:28:13 integrated fixup-tests.py Daniel * xstc/Makefile.am: integrated fixup-tests.py Daniel
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 755307a9 2005-04-01T15:55:45 A tiny script to fixup some of the schema files used for the tests. * xstc/fixup-tests.py: A tiny script to fixup some of the schema files used for the tests.
Kasimier T. Buchcik 256401b2 2005-04-01T15:36:42 Committing again, since the CVS server aborted. * xmlschemas.c include/libxml/schemasInternals.h result/schemas/src-element2-*.err result/schemas/element-*.err: Committing again, since the CVS server aborted.
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 64354ea7 2005-03-31T15:22:56 fixed bug reported by Petr Pajas, in the absence of encoding UTF-8 should * xmlsave.c: fixed bug reported by Petr Pajas, in the absence of encoding UTF-8 should really be assumed. This may break if the HTTP headers indicates for example ISO-8859-1 since this then becomes a well formedness error. Daniel
Daniel Veillard 7331e5ca 2005-03-31T14:59:00 fixed #172260 redundant assignment. fixed xmlSAXParseDoc() and * SAX.c: fixed #172260 redundant assignment. * parser.c include/libxml/parser.h: fixed xmlSAXParseDoc() and xmlParseDoc() signatures #172257. Daniel
Daniel Veillard 32acf0c3 2005-03-31T14:12:37 fix potential crash if ctxt->sax->ignorableWhitespace is NULL as reported * parser.c: fix potential crash if ctxt->sax->ignorableWhitespace is NULL as reported by bug #172255 Daniel
Daniel Veillard 63d68a37 2005-03-31T13:50:00 fixed a problem in Relax-NG validation #159968 added the test to the * relaxng.c: fixed a problem in Relax-NG validation #159968 * test/relaxng/list.* result/relaxng/list_*: added the test to the regression suite Daniel
Daniel Veillard f2531afe 2005-03-31T11:06:29 fixed bug #168504 Daniel * python/libxml.c: fixed bug #168504 Daniel
Daniel Veillard c284c64f 2005-03-31T10:24:24 use XML_SOCKLEN_T instead of SOCKLEN_T since apparently IBM can't avoid * config.h.in configure.in nanoftp.c nanohttp.c xmllint.c macos/src/config-mac.h: use XML_SOCKLEN_T instead of SOCKLEN_T since apparently IBM can't avoid breaking common defines #166922 Daniel
Daniel Veillard 394902e0 2005-03-31T08:43:44 fix unitinialized variable in not frequently used code bug #172182 Daniel * encoding.c: fix unitinialized variable in not frequently used code bug #172182 Daniel
Daniel Veillard 0e460da3 2005-03-30T22:47:10 another patch from Brent Hendricks to add new handlers with the various * python/generator.py python/libxml.py: another patch from Brent Hendricks to add new handlers with the various validity contexts * python/tests/Makefile.am python/tests/validDTD.py python/tests/validRNG.py python/tests/validSchemas.py: also added the regression tests he provided Daniel
Daniel Veillard bb8502c0 2005-03-30T07:40:35 applied patch from Brent Hendricks to avoid leak in python bindings when * python/generator.py python/libxml.c: applied patch from Brent Hendricks to avoid leak in python bindings when using schemas error handlers. Daniel
Daniel Veillard aa9a983d 2005-03-29T20:30:17 fixing bug 168196, <a name=""> must be URI escaped too Daniel * HTMLtree.c: fixing bug 168196, <a name=""> must be URI escaped too Daniel
Daniel Veillard 5cd3e8c4 2005-03-27T11:25:28 cleanup of the Prop related functions and xmlNewNodeEatName by Rob * tree.c: cleanup of the Prop related functions and xmlNewNodeEatName by Rob Richards Daniel
William M. Brack ba1d317a 2005-03-25T03:05:46 fixed problem with 'minimal library' compilation (LIBXML_PATTERN_ENABLED * gentest.py, testapi.c: fixed problem with 'minimal library' compilation (LIBXML_PATTERN_ENABLED not properly checked) reported by Greg Morgan
Kasimier T. Buchcik 53b5e052 2005-03-24T11:05:13 Fixed call to a facet error report: the type of the error was wrong, * xmlschemas.c: Fixed call to a facet error report: the type of the error was wrong, resulting in a segfault (bug #171220, reported by GUY Fabrice).
Kasimier T. Buchcik a62f75f1 2005-03-21T22:01:47 Removed a stupid bug in xmlSchemaValidateAttributes, failing to build a * xmlschemas.c: Removed a stupid bug in xmlSchemaValidateAttributes, failing to build a linked list correctly (bug #169898, reported by bing song, hmm...).
Kasimier T. Buchcik b34ad1b6 2005-03-21T20:10:31 Fixed a segfault, which occured during bubbling of IDC nodes (bug #170779 * xmlschemas.c: Fixed a segfault, which occured during bubbling of IDC nodes (bug #170779 and #170778, reported by GUY Fabrice): a variable was missed to be reset in a loop. Deactivated bubbling, if not referenced by a keyref.
Aleksey Sanin 9e75e9fe 2005-03-20T19:16:47 special case "DAV:" namespace in c14n relative namespaces check and add * c14n.c include/libxml/xmlerror.h: special case "DAV:" namespace in c14n relative namespaces check and add structured error messages to c14n code
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.
Daniel Veillard bc69d4f9 2005-03-17T10:04:46 fixed a = -> == error pointed by GUY Fabrice Daniel * xmlschemas.c: fixed a = -> == error pointed by GUY Fabrice 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 b08d741d 2005-03-16T01:43:05 added Makefile.am, missed in last commit
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.
Daniel Veillard 57c000e3 2005-03-13T18:34:29 preparing release of 2.6.18 updated docs and rebuilt reactivated gcc * NEWS configure.in testapi.c doc/*: preparing release of 2.6.18 updated docs and rebuilt * libxml.spec.in: reactivated gcc profiling for gcc >= 4.0.0 Daniel
Daniel Veillard cffc1c7a 2005-03-12T18:54:55 removed a static buffer in xmlByteConsumed(), as pointed by Ben Maurer, * encoding.c: removed a static buffer in xmlByteConsumed(), as pointed by Ben Maurer, fixes #170086 * xmlschemas.c: remove a potentially uninitialized pointer warning Daniel
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 b474fa40 2005-03-11T12:34:42 The schema parser will stop if components could not be resolved. This is * xmlschemas.c: The schema parser will stop if components could not be resolved. This is not conforming to the spec but for now will avoid internal errors during type fixup and content model creation. Restructured inclusion/import of schemata: this avoids duplicate, self and circular inclusion. Chameleon includes are still workarounded. Added restriction to disallow references to non-imported namespaces. Corrected parsing of <group>. * result/schemas/bug167754_0_0*: Added a missing test result.
Daniel Veillard e5d68dee 2005-03-10T15:03:40 Enriched encoding.html with more link and foreword warning to avoid * doc/xml.html doc/encoding.html: Enriched encoding.html with more link and foreword warning to avoid problem with ignorant programmers, c.f #169721 Daniel
Daniel Veillard 7697a198 2005-03-10T14:03:08 added a regression test from Rob Richards for the previous bug Daniel * python/tests/Makefile.am python/tests/readernext.py: added a regression test from Rob Richards for the previous bug Daniel
Daniel Veillard 5963aa79 2005-03-10T12:23:24 applied fix for xmlTextReaderNext() bug from Rob Richards Daniel * xmlreader.c: applied fix for xmlTextReaderNext() bug from Rob Richards Daniel
Daniel Veillard ff4c1852 2005-03-10T10:37:28 second patch from Rick Jones, portability fix for HP-UX first fix from * xmlmodule.c: second patch from Rick Jones, portability fix for HP-UX * doc/examples/xpath1.c doc/examples/xpath2.c: first fix from Rick Jones to avoid warnings. Daniel
Daniel Veillard c0c6ce29 2005-03-10T09:22:07 some gcc4 portability patches, including a serious aliasing bug exposed in * include/libxml/hash.h libxml.h libxml.spec.in: some gcc4 portability patches, including a serious aliasing bug exposed in s390 when trying to convert data pointer to code pointer. Daniel
Kasimier T. Buchcik 7f3efa97 2005-03-07T17:41:58 Tiny restructuring of the validation start-up functions. Added cleanup of * xmlschemas.c: Tiny restructuring of the validation start-up functions. Added cleanup of the validation context at the end of validation. This takes care of the validation context being reused.
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 9b77aa0b 2005-03-04T22:04:16 Added IDC validation of anySimpleType attribute values; anyway the IDC key * xmlschemas.c: Added IDC validation of anySimpleType attribute values; anyway the IDC key comparison is restricted to anySimpleType <--> string based types. For other types we would possibly need the canonical lexical representation of them; this sounds not performant, since we would need to build such a representation each time we want to compare against anySimpleType. TODO: think about buffering the canonical values somewhere. Fixed error reports for default attributes to work without a node being specified. This all and the enabling of IDC validation fixes bug #165346 (reported by Benoit Gr?goire - could not read his last name correctly from bugzilla).
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.
Daniel Veillard 25c90c58 2005-03-02T10:47:41 try to fix a problem with valgrind. applied memory leak fix from Brent * Makefile.am doc/examples/Makefile.am python/tests/Makefile.am xstc/Makefile.am: try to fix a problem with valgrind. * python/generator.py python/libxml.c python/tests/Makefile.am python/tests/tstmem.py: applied memory leak fix from Brent Hendricks c.f. bug #165349 Daniel
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.
Daniel Veillard 36616dd2 2005-02-25T07:31:49 new version with fixes from Rob Richards Daniel * threads.c: new version with fixes from Rob Richards Daniel
Daniel Veillard 62121e2b 2005-02-24T15:38:52 applied patch from Rich Salz for multithreading on Windows. Daniel * threads.c: applied patch from Rich Salz for multithreading on Windows. Daniel
Daniel Veillard 614fdc13 2005-02-23T14:05:37 applied a patch from Rob Richards fixing a couple of bugs in the writer * xmlwriter.c: applied a patch from Rob Richards fixing a couple of bugs in the writer Daniel
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 bd8fb0ad 2005-02-21T13:49:46 applied patch from Rob Richards to fix a problem with * xmlwriter.c: applied patch from Rob Richards to fix a problem with xmlTextWriterStartAttributeNS Daniel
Daniel Veillard fa1f77f2 2005-02-21T10:44:36 fixed remaining known bugs in the XPath streaming, and switched XPath to * pattern.c xpath.c: fixed remaining known bugs in the XPath streaming, and switched XPath to use it by default when possible Daniel
Daniel Veillard 5c4cb2d0 2005-02-20T13:30:02 Added links to the wiki, Daniel
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 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 ff858ca8 2005-02-18T11:37:58 Started support for IDC resolution to default attributes. If building the * xmlschemas.c: Started support for IDC resolution to default attributes. If building the content model for <all>: ensured to put element declarations and not the particles into the content model automaton (this was bug #167754, reported by Frans Englich).
Kasimier T. Buchcik 2a0fdd91 2005-02-17T21:34:45 Some experimental addition for parsing of expressions and streamable * pattern.c pattern.h: Some experimental addition for parsing of expressions and streamable validation. Added xmlStreamPushAttr to the API.
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".
Kasimier T. Buchcik bd2a7d16 2005-02-16T12:27:25 Further work on IDCs, especially evaluation for attribute nodes. * xmlschemas.c: Further work on IDCs, especially evaluation for attribute nodes.
Daniel Veillard 56de87ee 2005-02-16T00:22:29 fix the comment to describe the real return values lot of work on the * encoding.c: fix the comment to describe the real return values * pattern.c xpath.c include/libxml/pattern.h: lot of work on the patterns, pluggin in the XPath default evaluation, but disabled right now because it's not yet good enough for XSLT. pattern.h streaming API are likely to be changed to handle relative and absolute paths in the same expression. Daniel
Kasimier T. Buchcik 25799cee 2005-02-15T14:39:48 Added IDC evaluation for attribute nodes. Made 'nil'ed elements work. * xmlschemas.c: Added IDC evaluation for attribute nodes. Made 'nil'ed elements work. Added a specific error message for 'strict' attribute wildcards. * include/libxml/xmlerror.h: Added an error code for wildcards. * result/schemas/anyAttr-processContents-err1_0_0.err: Adapted.
William M. Brack 015ccb2c 2005-02-13T08:18:52 This change started out as a simple desire to speed up the execution time of testapi.c, which was being delayed by nameserver requests for non-existent URL's. From there it just sort of grew, and grew.... * nanohttp.c, nanoftp.c: changed the processing of URL's to use the uri.c routines instead of custom code. * include/libxml/xmlerror.h: added code XML_FTP_URL_SYNTAX * uri.c: added accepting ipV6 addresses, in accordance with RFC's 2732 and 2373 (TODO: allow ipV4 within ipV6) * gentest.py, testapi.c: fixed a few problems with the testing of the nanoftp and nanohttp routines. * include/libxml/xmlversion.h: minor change to fix a warning on the docs generation * regenerated the docs
William M. Brack a22da299 2005-02-12T01:08:22 fixed xmlXIncludeParseFile to prevent overwriting XML_COMPLETE_ATTRS when * xinclude.c: fixed xmlXIncludeParseFile to prevent overwriting XML_COMPLETE_ATTRS when setting pctxt->loadsubset (bug 166199) * Makefile.am, python/tests/Makefile.am, xstc/Makefile.am: added code to add $(top_builddir)/.libs to LD_LIBRARY_PATH whenever PYTHONPATH is set, to assure new libxml2 routines are used.
William M. Brack 3a1cd21d 2005-02-11T14:35:54 fixed problem when no initial "chunk" was given to xmlCreatePushParser * parser.c: fixed problem when no initial "chunk" was given to xmlCreatePushParser (bug 162613)
William M. Brack 4e1c2db8 2005-02-11T10:58:55 fixed compilation warning changed xmlWarningMsg so ctxt->errNo is not set * dict.c: fixed compilation warning * parser.c: changed xmlWarningMsg so ctxt->errNo is not set * xmllint.c: changed to return non-zero status if error on xinclude processing * xmlsave.c: minor deletion of a redundant condition statement