xmlregexp.c


Log

Author Commit Date CI Message
Daniel Veillard bf9c1dad 2008-08-26T07:46:42 add the testchar to 'make check' Volker Grabsch pointed out a typo * Makefile.am: add the testchar to 'make check' * xmlschemas.c: Volker Grabsch pointed out a typo * xmlregexp.c: production [19] from XML Schemas regexps were a mistake removed in version REC-xmlschema-2-20041028, Volker Grabsch provided a patch to remove it * test/schemas/regexp-char-ref_0.xml test/schemas/regexp-char-ref_0.xsd test/schemas/regexp-char-ref_1.xsd result/schemas/regexp-char-ref_0_0 result/schemas/regexp-char-ref_1_0: Volker Grabsch also provided regession tests for this Daniel svn path=/trunk/; revision=3776
Daniel Veillard ad55998f 2008-05-12T13:15:35 avoid a regexp crash, should fix #523738 Daniel * xmlregexp.c: avoid a regexp crash, should fix #523738 Daniel svn path=/trunk/; revision=3744
Daniel Veillard 10bda629 2008-03-13T07:27:24 found a nasty bug in regexp automata build, reported by Ashwin and Bjorn * xmlregexp.c: found a nasty bug in regexp automata build, reported by Ashwin and Bjorn Reese Daniel svn path=/trunk/; revision=3705
Daniel Veillard 041b687e 2008-02-08T10:37:18 apply patch from Andrew Tosh to fix behaviour when '.' is used in a * xmlregexp.c: apply patch from Andrew Tosh to fix behaviour when '.' is used in a posCharGroup * test/schemas/poschargrp0_0.* result/schemas/poschargrp0_0_0*: added the test to the regression suite Daniel svn path=/trunk/; revision=3687
Daniel Veillard 00fde4e4 2007-11-19T17:38:33 remove a cut-and-paste copy error Daniel * xmlregexp.c: remove a cut-and-paste copy error Daniel svn path=/trunk/; revision=3665
Daniel Veillard c821e03c 2007-08-28T17:33:45 another nasty regexp case fixed. added to regression suite Daniel * xmlregexp.c: another nasty regexp case fixed. * test/regexp/ranges2 result/regexp/ranges2: added to regression suite Daniel svn path=/trunk/; revision=3658
William M. Brack ec72008b 2007-08-24T02:57:38 Enhanced to include port number (if not == 80) on the "Header:" URL (bug * nanohttp.c: Enhanced to include port number (if not == 80) on the "Header:" URL (bug #469681). * xmlregexp.c: Fixed a typo causing a warning message. svn path=/trunk/; revision=3657
Daniel Veillard 76d59b6d 2007-08-22T16:29:21 try to fix for the nth time the automata generation in case of complex * xmlregexp.c: try to fix for the nth time the automata generation in case of complex ranges. I suppose that time it is actually okay Daniel svn path=/trunk/; revision=3650
Daniel Veillard cb4284e2 2007-04-25T13:55:20 applied patch from Richard Jones to for the silent flag on valgrind when * xstc/Makefile.am doc/examples/Makefile.am Makefile.am: applied patch from Richard Jones to for the silent flag on valgrind when doing "make valgrind" * xmlregexp.c: raise a regexp error when '\' is misused to escape a standard character. Daniel svn path=/trunk/; revision=3606
William M. Brack 56578371 2007-04-11T14:33:46 small enhancement for quantifier range with min occurs of 0; fixes bug * xmlregexp.c: small enhancement for quantifier range with min occurs of 0; fixes bug 425542. svn path=/trunk/; revision=3597
William M. Brack a9cbf283 2007-03-21T13:16:33 fixed problem with 0x2d in Char Range (bug #420596) added regression test * xmlregexp.c: fixed problem with 0x2d in Char Range (bug #420596) * test/regexp/bug420596, result/regexp/bug420596: added regression test for this svn path=/trunk/; revision=3594
Daniel Veillard fcd18ff8 2006-11-02T10:28:04 another small change on the algorithm for the elimination of epsilon * xmlregexp.c: another small change on the algorithm for the elimination of epsilon transitions, should help on #362989 too Daniel
Daniel Veillard 0e05f4c2 2006-11-01T15:33:04 applied documentation patches from Markus Keim fixed one bug and added a * tree.c: applied documentation patches from Markus Keim * xmlregexp.c: fixed one bug and added a couple of optimisations while working on bug #362989 Daniel
Daniel Veillard 777737ea 2006-10-17T21:23:17 applied fix from Christopher Boumenot for bug #362714 on regexps missing * xmlregexp.c: applied fix from Christopher Boumenot for bug #362714 on regexps missing ']' Daniel
Daniel Veillard 54eb0243 2006-03-21T23:17:57 applied patch from Youri Golovanov fixing bug #316338 and adding a couple * xmlregexp.c: applied patch from Youri Golovanov fixing bug #316338 and adding a couple of optimizations in the regexp compilation engine. * test/regexp/bug316338 result/regexp/bug316338: added regression tests based on the examples provided in the bug report. Daniel
Daniel Veillard 11ce4004 2006-03-10T00:36:23 end of first pass on coverity reports. Daniel * runtest.c schematron.c testAutomata.c tree.c valid.c xinclude.c xmlcatalog.c xmlreader.c xmlregexp.c xpath.c: end of first pass on coverity reports. Daniel
Daniel Veillard fc011b7f 2006-02-12T19:14:15 bug fixes for #327167 as well as some cleanups and more thorough tests on * xmlregexp.c: bug fixes for #327167 as well as some cleanups and more thorough tests on atoms comparisons. Daniel
Daniel Veillard d0271473 2006-01-02T10:22:02 compilation and doc build fixes from Michael Day Daniel * xmlreader.c include/libxml/xmlreader.h xmlschemas.c: compilation and doc build fixes from Michael Day Daniel
Daniel Veillard 0b1ff14b 2005-12-28T21:13:33 bug in xmlRegExecPushString2() pointed out by Sreeni Nair. Daniel * xmlregexp.c: bug in xmlRegExecPushString2() pointed out by Sreeni Nair. Daniel
Daniel Veillard 9a00fd29 2005-11-09T08:56:26 applied patch from Geert Jansen to implement the save function to a * xmlsave.c xmlIO.c include/libxml/xmlIO.h include/libxml/xmlsave.h: applied patch from Geert Jansen to implement the save function to a xmlBuffer, and a bit of cleanup. Daniel
Daniel Veillard fc6eca0d 2005-11-01T15:24:02 fix bug #319897, problem with counted atoms when the transition itself is * xmlregexp.c: fix bug #319897, problem with counted atoms when the transition itself is counted too * result/regexp/hard test/regexp/hard: augmented the regression tests with the problem exposed. Daniel
Daniel Veillard 7802ba56 2005-10-27T11:56:20 avoid function parameters names 'list' as this seems to give troubles with * valid.c xmlregexp.c include/libxml/valid.h include/libxml/xmlregexp.h: avoid function parameters names 'list' as this seems to give troubles with VC6 and stl as reported by Samuel Diaz Garcia. Daniel
Daniel Veillard aa622012 2005-10-20T15:55:25 commiting a some fixes and debug done yesterday in the London airport. * xmlregexp.c: commiting a some fixes and debug done yesterday in the London airport. Daniel
Daniel Veillard 567a45b5 2005-10-18T19:11:55 removed the error message removed 2 instability warnings from function * runtest.c: removed the error message * relaxng.c xmlschemas.c: removed 2 instability warnings from function documentation * include/libxml/schemasInternals.h: changed warning about API stability * xmlregexp.c: trying to improve runtime execution of non-deterministic regexps and automata. Not fully finished but should be way better. Daniel
Rob Richards 54a8f67c 2005-10-07T02:33:00 remove warnings under Windows. * schematron.c xmlregexp.c: remove warnings under Windows.
Daniel Veillard 5de0938f 2005-09-26T17:18:17 seems a test to avoid duplicate transition is really needed at all times. * xmlregexp.c: seems a test to avoid duplicate transition is really needed at all times. Luka Por gave an example hitting this. Changed back the internal API. Daniel
Daniel Veillard 94cc103b 2005-09-15T13:09:00 detect combinatory explosion and return with a runtime error in those * xmlregexp.c: detect combinatory explosion and return with a runtime error in those case, c.f. #316338 though maybe we should not see such an explosion with that specific regexp, more checking needs to be done. Daniel
Daniel Veillard ccb4d41c 2005-08-23T13:41:17 regenerated fixed a compilation problem some cleanups and one bug fix * elfgcchack.h testapi.c doc/*: regenerated * schematron.c: fixed a compilation problem * xmlregexp.c include/libxml/xmlregexp.h: some cleanups and one bug fix * result/expr/base: slightly changes the number of Cons. Daniel
Daniel Veillard 5eee767c 2005-08-22T21:22:27 rescanned code and rebuilt small cleanup cleanup problems from code * elfgcchack.h testapi.c doc/*: rescanned code and rebuilt * xmlregexp.c: small cleanup * include/libxml/schematron.h include/libxml/xmlexports.h include/libxml/xmlversion.h.in: cleanup problems from code scanner Daniel
Daniel Veillard 0090bd52 2005-08-22T14:43:43 exported xmlExpExpDerive(), added it to the testRegexp command line tool * testRegexp.c xmlregexp.c include/libxml/xmlregexp.h: exported xmlExpExpDerive(), added it to the testRegexp command line tool when providing multiple expressions. Daniel
Daniel Veillard 465a000b 2005-08-22T12:07:04 fixed an uninitialized variable extended the API to add the parser, * valid.c: fixed an uninitialized variable * xmlregexp.c include/libxml/xmlregexp.h: extended the API to add the parser, serializer and some debugging * include/libxml/xmlversion.h.in: made the new support compiled by default if Schemas is included * testRegexp.c: cleanup and integration of the first part of the new code with a special switch * xmllint.c: show up Expr in --version if compiled in * include/libxml/tree.h: moved the xmlBuffer definition up Daniel
Daniel Veillard 81a8ec6b 2005-08-22T00:20:58 pushing the formal expression handling code to have it in CVs from now. * xmlregexp.c include/libxml/xmlregexp.h: pushing the formal expression handling code to have it in CVs from now. Not plugged, and misses APIs it's not compiled in yet. Daniel
Daniel Veillard 4f82c8a1 2005-08-09T21:40:08 fixed a determinism detection problem exposed by ##other tests commited by * xmlregexp.c: fixed a determinism detection problem exposed by ##other tests commited by Kasimier, also added a small speedup of determinism detection. * test/results/any6_2_0* any8_1_0* any7_1_2* any7_2_2*: added the results to the regression tests now Daniel
Daniel Veillard 6e65e157 2005-08-09T11:09:52 trying to nail down the remaining ##other issues completed the tests and * xmlregexp.c xmlschemas.c: trying to nail down the remaining ##other issues * result/schemas/any7* test/schemas/any7: completed the tests and added the results * result/schemas/any3_0_0.err result/schemas/any5_0_0.err result/schemas/any5_1_0.err: this slightly chnages the output from 3 existing tests Daniel
Daniel Veillard 10752284 2005-08-08T13:05:13 fixed bug #310264, basically it's about reentrancy of count based * xmlregexp.c: fixed bug #310264, basically it's about reentrancy of count based transition, when going though the counter must be reset to 0 * test/schemas/bug310264* result/schemas/bug310264*: added the regression test. Daniel
Daniel Veillard db68b74d 2005-07-30T13:18:24 allows an extra argument to subset the tests big speedup for validation, * runtest.c: allows an extra argument to subset the tests * xmlregexp.c: big speedup for validation, basically avoided transition creation explosion when removing epsilon transition Daniel
Daniel Veillard 77005e6f 2005-07-19T16:26:18 fixed the error reporting for not transitions fixed output Daniel * xmlregexp.c xmlschemas.c: fixed the error reporting for not transitions * result/schemas/any5_0_0* result/schemas/any5_0_2* result/schemas/any5_1_0*: fixed output Daniel
Daniel Veillard 9efc476b 2005-07-19T14:33:55 fixing bug #172215 about foreign namespaces by adding support for negated * xmlregexp.c xmlschemas.c include/libxml/xmlautomata.h: fixing bug #172215 about foreign namespaces by adding support for negated string transitions. Error messages still need to be improved. * test/schemas/any5* result/schemas/any5*: adding regression tests for this. Daniel
Daniel Veillard 99c394d9 2005-07-14T12:58:49 fixed where xmlMemoryDump() should be called. fixed handling of {0}, \n, * testRegexp.c: fixed where xmlMemoryDump() should be called. * xmlregexp.c: fixed handling of {0}, \n, \r and \t, two bugs affecting NIST regression tests Daniel
Daniel Veillard de0e498b 2005-07-03T14:35:44 expanded test found and fixed the leak exposed by Microsoft regtests * runsuite.c: expanded test * xmlregexp.c: found and fixed the leak exposed by Microsoft regtests Daniel
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).
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 cee2b3a5 2005-01-25T00:22:52 warning patches from Peter Breitenlohner serious DTD parsing speedups, * testdso.c xmlregexp.c: warning patches from Peter Breitenlohner * include/libxml/valid.h valid.c parser.c: serious DTD parsing speedups, start to deprecate 3 ElementDef related entry point and replace them with better ones. Daniel
Daniel Veillard cc026dc6 2005-01-12T13:21:17 extended xmlRegExecErrInfo() and xmlRegExecNextValues() to return error * include/libxml/xmlregexp.h xmlregexp.c: extended xmlRegExecErrInfo() and xmlRegExecNextValues() to return error transition strings too, and sink state detection and handling. Daniel
Daniel Veillard fc0b6f6a 2005-01-09T17:48:02 William noticed I forgot to add special support for xmlmodules.c define * gentest.py testapi.c: William noticed I forgot to add special support for xmlmodules.c define * xmlregexp.c include/libxml/xmlregexp.h: added terminal to xmlRegExecErrInfo() API, adding new xmlRegExecNextValues() entry point and refactored to use both code. Daniel
Daniel Veillard 9070015b 2005-01-08T22:05:09 fixing behaviour for xmlRegExecErrInfo in case of rollback Daniel * xmlregexp.c: fixing behaviour for xmlRegExecErrInfo in case of rollback Daniel
Daniel Veillard 7bd8b4b8 2005-01-07T13:56:19 small update trying to add an API to get useful error informations back * TODO: small update * xmlregexp.c: trying to add an API to get useful error informations back from a failing regexp context. Daniel
Daniel Veillard a82b1826 2004-11-08T16:24:57 more coverage more fixes Daniel * gentest.py testapi.c: more coverage * debugXML.c parser.c xmlregexp.c xpath.c: more fixes Daniel
Kasimier T. Buchcik 87876407 2004-09-29T13:29:03 Parsing of <complexContent> - handle attribute 'mixed', catch illegal * xmlschemas.c include/libxml/xmlerror.h include/libxml/xmlschemas.h include/libxml/schemasInternals.h: Parsing of <complexContent> - handle attribute 'mixed', catch illegal attributes. Parsing of <complexType> - handle attributes 'abstract', 'final' and 'block', catch illegal attributes. Validation of complex types - handle abstract types. Added handling of default/fixed attributes and element values. Per validation option attribute nodes/text nodes are created on the instance. Added the corresponding constraints for fixed/default. Added xmlSchemaSetValidOptions, xmlSchemaGetValidOptions to the external API. Extended element declaration constraints. Got rid of perseverative creation of temporery validation/parser contexts. Added handling of xsi:schemaLocation and xsi:noNamespaceSchemaLocation. Fixed xsi:type component resolution if using non-prefixed QNames. * xmlregexp.c xmlschemas.c include/libxml/xmlautomata.h: Enabled namespace awareness of the content model if using the model group "all". * test/schemas/bug152470_1.xsd: Removed an "abstract" attribute, which broke the test. * xstc/xstc.py: Workaround to accomodate case insensitive test definitions in ms-test.def.xml (was missing in a previous commit).
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 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 f9b5fa2d 2004-05-10T07:52:15 enhanced xmlRegStateAddTrans to check if transition is already present * xmlregexp.c: enhanced xmlRegStateAddTrans to check if transition is already present and, if so, to ignore the request to add it. This has a very dramatic effect on memory requirements as well as efficiency. It also fixes bug 141762.
William M. Brack ddf71d61 2004-05-06T04:17:26 enhanced the handling of subexpression ranges which have a minOccurs of 0 * xmlregexp.c: enhanced the handling of subexpression ranges which have a minOccurs of 0 (bug 140478 again); cleaned up comments throughout the module.
William M. Brack 0e00b28d 2004-04-26T15:40:47 enhanced xmlFARegExec range evaluation for min occurs 0 problems - fixes * xmlregexp.c: enhanced xmlFARegExec range evaluation for min occurs 0 problems - fixes bug 140478.
Daniel Veillard 2cbf596c 2004-03-31T15:50:43 patched a bug in parsing production 1 and 2 of xmlschemas regexp that * xmlregexp.c: patched a bug in parsing production 1 and 2 of xmlschemas regexp that William pointed out while working on #134120 * test/regexp/branch result/regexp/branch: added a specific regression test Daniel
William M. Brack 10f1ef4c 2004-03-20T14:51:25 enhanced the logic of parsing char groups to better handle initial or * xmlregexp.c: enhanced the logic of parsing char groups to better handle initial or ending '-' (bug 135972)
Daniel Veillard 0ddb21c4 2004-02-12T12:43:49 fixing bug #132930 with the provided patch, a bit suspicious about it but * xmlregexp.c: fixing bug #132930 with the provided patch, a bit suspicious about it but this is fairly contained and regression tests still passes. * test/schemas/all1* result/schemas/all1*: added the test to the regression suite. Daniel
William M. Brack dc99df93 2003-12-27T01:54:25 fixed xmlFAParseCharRange for Unicode ranges with patch from Charles * xmlregexp.c: fixed xmlFAParseCharRange for Unicode ranges with patch from Charles Bozeman.
William M. Brack 9887395b 2003-12-26T06:03:14 fixed problem causing segfault on validation error condition (reported on * xmlregexp.c: fixed problem causing segfault on validation error condition (reported on mailing list)
Daniel Veillard ebe48c60 2003-12-03T12:12:27 fix bug #128401 affecting regexp quantifiers Daniel * config.h.in configure.in xmlregexp.c: fix bug #128401 affecting regexp quantifiers Daniel
Daniel Veillard f8b9de32 2003-11-24T14:27:26 fixing some Negative Character Group and Character Class Subtraction * xmlregexp.c: fixing some Negative Character Group and Character Class Subtraction handling. Daniel
Daniel Veillard f2a12835 2003-11-24T13:04:35 more XML Schemas fixes based on Eric van der Vlist examples added * xmlregexp.c xmlschemas.c: more XML Schemas fixes based on Eric van der Vlist examples * result/schemas/vdv-first4* test/schemas/vdv-first4*: added regression tests * doc/examples/Makefile.am doc/examples/index.py: do not regenerate the index on make all target, but only on make rebuild to avoid troubles. Daniel
William M. Brack 871611bb 2003-10-18T04:53:14 enhanced macros to avoid breaking ABI from previous versions. modified to * genChRanges.py, chvalid.c, include/libxml/chvalid.h, include/libxml/parserInternals.h: enhanced macros to avoid breaking ABI from previous versions. * catalog.c, parser.c, tree.c: modified to use IS_* macros defined in parserInternals.h. Makes maintenance much easier. * testHTML.c, testSAX.c, python/libxml.c: minor fixes to avoid compilation warnings * configuration.in: fixed pushHTML test error; enhanced for better devel (me) testing
Daniel Veillard 659e71ec 2003-10-10T14:10:40 Setting up the framework for structured error reporting, touches a lot of * HTMLparser.c c14n.c catalog.c error.c globals.c parser.c parserInternals.c relaxng.c valid.c xinclude.c xmlIO.c xmlregexp.c xmlschemas.c xpath.c xpointer.c include/libxml/globals.h include/libxml/parser.h include/libxml/valid.h include/libxml/xmlerror.h: Setting up the framework for structured error reporting, touches a lot of modules, but little code now the error handling trail has been cleaned up. Daniel
Daniel Veillard ff46a044 2003-10-08T08:53:17 error handling cleanup of the Regexp module. Daniel * xmlregexp.c include/libxml/xmlerror.h: error handling cleanup of the Regexp module. Daniel
William M. Brack 779af007 2003-08-01T15:55:39 =Bug 118559 (continued)
Daniel Veillard a76fe5ca 2003-04-24T16:06:47 integrated the Out Of Memory test from Havoc Pennington #109368 a lot of * Makefile.am testOOM.c testOOMlib.[ch] : integrated the Out Of Memory test from Havoc Pennington #109368 * SAX.c parser.c parserInternals.c tree.c uri.c valid.c xmlmemory.c xmlreader.c xmlregexp.c include/libxml/tree.h include/libxml/parser.h: a lot of memory allocation cleanups based on the results of the OOM testing * check-relaxng-test-suite2.py: seems I forgot to commit the script. Daniel
Daniel Veillard 3c908dca 2003-04-19T00:07:51 added xmlMallocAtomic() to be used when allocating blocks which do not * DOCBparser.c HTMLparser.c c14n.c catalog.c encoding.c globals.c nanohttp.c parser.c parserInternals.c relaxng.c tree.c uri.c xmlmemory.c xmlreader.c xmlregexp.c xpath.c xpointer.c include/libxml/globals.h include/libxml/xmlmemory.h: added xmlMallocAtomic() to be used when allocating blocks which do not contains pointers, add xmlGcMemSetup() and xmlGcMemGet() to allow registering the full set of functions needed by a garbage collecting allocator like libgc, ref #109944 Daniel
Daniel Veillard 52b48c7a 2003-04-13T19:53:42 Starting work precompiling parts of RelaxNG schemas. Not plugged onto * relaxng.c xmlregexp.c include/libxml/xmlautomata.h include/libxml/xmlregexp.h: Starting work precompiling parts of RelaxNG schemas. Not plugged onto validity checking yet, just the regexp building part. Needed to extend some of the automata and regexp APIs. Daniel
Daniel Veillard ef8dd7be 2003-03-23T12:02:56 fixing bug #108976 get the ID/REFs to reference the ID in the document * parser.c: fixing bug #108976 get the ID/REFs to reference the ID in the document content and not in the entity copy * SAX.c include/libxml/parser.h: more checking of the ID/REF stuff, better solution for #107208 * xmlregexp.c: removed a direct printf, dohhh * xmlreader.c: fixed a bug on streaming validation of empty elements in entities * result/VC/ElementValid8 test/VCM/v20.xml result/valid/xhtml1.xhtml: cleanup of the validation tests * test/valid/id* test/valid/dtds/destfoo.ent result/valid/id*: added more ID/IDREF tests to the suite Daniel
Daniel Veillard ea7751d5 2002-12-20T00:16:24 working on DTD validation on top of xml reader interfaces. Allows to * testReader.c xmlreader.c valid.c include/libxml/tree.h include/libxml/valid.h include/libxml/xmlreader.h: working on DTD validation on top of xml reader interfaces. Allows to validate arbitrary large instances. This required some extensions to the valid module interface and augmenting the size of xmlID and xmlRef structs a bit. * uri.c xmlregexp.c: simple cleanup. Daniel
Daniel Veillard a9b66d00 2002-12-11T14:23:49 new API building Python script, does the C parsing directly, generates a * doc/apibuild.py doc/libxml2-api.xml doc/Makefile.am: new API building Python script, does the C parsing directly, generates a better API description including structure fieds defs and enums. Still a couple of bugs, but good enough for the python wrappers now. * DOCBparser.c SAX.c nanohttp.c parser.c parserInternals.c tree.c valid.c xmlIO.c xmlmemory.c xmlreader.c xmlregexp.c xmlschemas.c include/libxml/schemasInternals.h include/libxml/tree.h: more cleanup based on the python analysis script reports. * libxml.spec.in: make sure the API XML description is part of the devel package. 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 3237023d 2002-10-16T14:08:14 fixed the validation of sequences content model when some of the blocks * xmlregexp.c xmlschemas.c: fixed the validation of sequences content model when some of the blocks have min or max, and a couple of bugs found in the process. * result/schemas/list0* test/schemas/list0*: added some specific regression tests Daniel
Daniel Veillard bd9afb52 2002-09-25T22:25:35 improving some documentation comments found and fixed a mem leak with * tree.c: improving some documentation comments * xmlregexp.c: found and fixed a mem leak with python regression tests * doc/*: rebuilt the doc and the API XML file including the xmlregexp.h xmlautomata.h and xmlunicode.h headers * python/generator.py python/libxml2class.txt python/libxml_wrap.h python/types.c: added access to the XML Schemas regexps from python * python/tests/Makefile.am python/tests/regexp.py: added a simple regexp bindings test 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 23e73571 2002-09-19T19:56:43 made configuring with regexps/automata/unicode the default but without * Makefile.am configure.in include/libxml/xmlversion.h.in: made configuring with regexps/automata/unicode the default but without schemas ATM * testRegexp.c valid.c xmlregexp.c include/libxml/xmlregexp.h: fixed the regexp based DTD validation performance and memory problem by switching to a compact form for determinist regexps and detecting the determinism property in the process. Seems as fast as the old DTD validation specific engine :-) despite the regexp built and compaction process. Daniel
Daniel Veillard a646cfdb 2002-09-17T21:50:03 small cleanup switched DTD validation to use only regexp when configured * HTMLparser.c: small cleanup * valid.c xmlregexp.c: switched DTD validation to use only regexp when configured with them. A bit of debugging around the determinism checks is still needed Daniel
Daniel Veillard 4402ab42 2002-09-12T16:02:56 fixed a bug reported by Jeff Goff, the determinism was tested before * xmlregexp.c xmlschemas.c: fixed a bug reported by Jeff Goff, the determinism was tested before eliminating the epsilon transitions :-( Daniel
Daniel Veillard e19fc23b 2002-04-22T16:01:24 updated a bit made a comment more specific more work on the Schemas * TODO: updated a bit * parser.c: made a comment more specific * xmlregexp.c xmlschemas.c xmlschemastypes.c: more work on the Schemas conformance. * test/schemas result/schemas: updated the test list Daniel
Daniel Veillard 441bc32e 2002-04-20T17:38:48 implementing xs:all with minOccurs = 0 added more tests covering xs:all * xmlregexp.c xmlschemas.c include/libxml/xmlautomata.h: implementing xs:all with minOccurs = 0 * tes/schemas/* result/schemas/*: added more tests covering xs:all Daniel
Daniel Veillard 8a001f62 2002-04-20T07:24:11 first implementation of the all particle, this may need to be revisited * xmlregexp.c: first implementation of the all particle, this may need to be revisited for case where not all transitions must be crossed. Daniel
Daniel Veillard 7646b18d 2002-04-20T06:41:40 another entity processing update from Markus Henke Daniel * tree.c: another entity processing update from Markus Henke Daniel
Daniel Veillard b509f154 2002-04-17T16:28:10 more work on the automata interfaces and debug of counted choices added a * xmlregexp.c xmlschemas.c include/libxml/xmlautomata.h: more work on the automata interfaces and debug of counted choices * test/schemas/* result/schemas/*: added a number of tests Daniel
Daniel Veillard 4255d504 2002-04-16T15:50:10 merged the current state of XML Schemas implementation, it is not * Makefile.am TODO_SCHEMAS configure.in genUnicode.py testAutomata.c testRegexp.c testSchemas.c xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c include/libxml/Makefile.am include/libxml/schemasInternals.h include/libxml/xmlautomata.h include/libxml/xmlregexp.h include/libxml/xmlschemas.h include/libxml/xmlschemastypes.h include/libxml/xmlunicode.h include/libxml/xmlversion.h.in : merged the current state of XML Schemas implementation, it is not configured in by default, a specific --schemas configure option has been added. * test/automata test/regexp test/schemas Makefile.am result/automata result/regexp result/schemas: merged automata/regexp/schemas regression tests Daniel