aboutsummaryrefslogtreecommitdiffstats
path: root/relaxng.c
Commit message (Collapse)AuthorAgeFilesLines
* fixed bug #307377 about validation of choices in list values. addedDaniel Veillard2005-08-101-2/+0
| | | | | | | | | * relaxng.c: fixed bug #307377 about validation of choices in list values. * test/relaxng/307377* result/relaxng/307377* Makefile.am runtest.c: added examples to the regression tests, problem is that streaming version gives slightly more informations. Daniel
* a lot of small cleanups based on Linus' sparse check output. DanielDaniel Veillard2005-07-281-4/+4
| | | | | | | | | * HTMLparser.c SAX2.c encoding.c globals.c parser.c relaxng.c runsuite.c runtest.c schematron.c testHTML.c testReader.c testRegexp.c testSAX.c testThreads.c valid.c xinclude.c xmlIO.c xmllint.c xmlmodule.c xmlschemas.c xpath.c xpointer.c: a lot of small cleanups based on Linus' sparse check output. Daniel
* applied patch from Marcus Boerger to route relaxng and schemas errorDaniel Veillard2005-07-131-0/+20
| | | | | | | | | | * error.c relaxng.c xmlreader.c xmlschemas.c include/libxml/relaxng.h include/libxml/xmlschemas.h: applied patch from Marcus Boerger to route relaxng and schemas error messages when using the reader through the structured interface if activated. * elfgcchack.h doc/* testapi.c: rebuilt since this add new APIs to test. Daniel
* complete, checking on other platforms is needed updated fix a bug raisedDaniel Veillard2005-06-301-0/+10
| | | | | | | | | | * runtest.c: complete, checking on other platforms is needed * README: updated * debugXML.c: fix a bug raised by bill on IRC * relaxng.c: fix a leak in weird circumstances * runsuite.c Makefile.am: standalone test tool agaisnt the regression suites, work in progress Daniel
* fixed a bug exposed by Rob Richards in the mailing-list added theDaniel Veillard2005-06-131-2/+2
| | | | | | | * relaxng.c: fixed a bug exposed by Rob Richards in the mailing-list * result//compare0* test//compare0*: added the regression test in the suite as this went unnoticed ! Daniel
* revamped the elfgcchack.h format to cope with gcc4 change of aliasingDaniel Veillard2005-04-011-0/+2
| | | | | | | | | | | * 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
* fixed a problem in Relax-NG validation #159968 added the test to theDaniel Veillard2005-03-311-0/+7
| | | | | | | * relaxng.c: fixed a problem in Relax-NG validation #159968 * test/relaxng/list.* result/relaxng/list_*: added the test to the regression suite Daniel
* fixed bug #157633 in relaxng choice optimization added regression testsDaniel Veillard2005-01-151-6/+7
| | | | | | | | | * relaxng.c: fixed bug #157633 in relaxng choice optimization * result/relaxng/choice0* test/relaxng/choice0*: added regression tests about it. * doc/*: rebuilt * testdso.c: removed a warning due to a missing void in signature. Daniel
* more types, more coverage more problems fixed DanielDaniel Veillard2004-11-081-0/+4
| | | | | | | * gentest.py testapi.c: more types, more coverage * parser.c parserInternals.c relaxng.c valid.c xmlIO.c xmlschemastypes.c: more problems fixed Daniel
* autogenerate a minimal NULL value sequence for unknown pointer types ThisDaniel Veillard2004-11-051-0/+4
| | | | | | | | | | | | * 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
* more fixes and extending the tests coverage adding a type init interfaceDaniel Veillard2004-11-031-1/+1
| | | | | | | | * gentest.py testapi.c: more fixes and extending the tests coverage * relaxng.c include/libxml/relaxng.h: adding a type init interface * include/libxml/xmlerror.h parser.c xmlreader.c xmlwriter.c: more cleanups and bug fixes raised by the regression tests Daniel
* added checking for names values and dictionnaries generates a tons ofDaniel Veillard2004-10-261-1/+2
| | | | | | | | * debugXML.c include/libxml/xmlerror.h: added checking for names values and dictionnaries generates a tons of errors * SAX2.ccatalog.c parser.c relaxng.c tree.c xinclude.c xmlwriter.c include/libxml/tree.h: fixing the errors in the regression tests Daniel
* adding the tree debug mode fixing various problems reported by the debugDaniel Veillard2004-10-071-1/+1
| | | | | | | | | * debugXML.c include/libxml/debugXML.h include/libxml/xmlerror.h: adding the tree debug mode * parser.c relaxng.c tree.c xpath.c: fixing various problems reported by the debug mode. * SAX2.c: another tree fix from Rob Richards Daniel
* more memory related code cleanups. DanielDaniel Veillard2004-09-231-3/+6
| | | | | | * HTMLparser.c parser.c relaxng.c xmlschemas.c: more memory related code cleanups. Daniel
* fixed a problem with internal cleanup of <DIV> element (bug 143738).William M. Brack2004-06-071-0/+14
| | | | | * relaxng.c: fixed a problem with internal cleanup of <DIV> element (bug 143738).
* fixed problem in xmlRelaxNGCompareNameClasses which was causingWilliam M. Brack2004-04-021-2/+2
| | | | | * relaxng.c: fixed problem in xmlRelaxNGCompareNameClasses which was causing check-relaxng-test-suite.py test 351 to fail.
* implemented fix for M$ IIS redirect provided by Ian Hummel fixed problemWilliam M. Brack2004-04-021-3/+1
| | | | | | | * nanohttp.c: implemented fix for M$ IIS redirect provided by Ian Hummel * relaxng.c: fixed problem with notAllowed compilation (bug 138793)
* fixed problem with IS_COMPILABLE flag (bug 130216)William M. Brack2004-03-271-3/+10
| | | | | * relaxng.c: fixed problem with IS_COMPILABLE flag (bug 130216)
* remove a memory leak on schemas type facets. reduce verbosity incorporatedDaniel Veillard2004-03-221-1/+23
| | | | | | | | | * relaxng.c: remove a memory leak on schemas type facets. * check-relaxng-test-suite.py check-relaxng-test-suite2.py check-xsddata-test-suite.py: reduce verbosity * configure.in Makefile.am: incorporated the Python regressions tests for Relax-NG and Schemas Datatype to "make tests" Daniel
* added an error message when an element is not found within a <choice> (bugWilliam M. Brack2004-03-211-0/+1
| | | | | * relaxng.c: added an error message when an element is not found within a <choice> (bug 126093)
* added check for external reference in xmlRelaxNGGetElements (bug 137718)William M. Brack2004-03-201-1/+2
| | | | | | | * relaxng.c: added check for external reference in xmlRelaxNGGetElements (bug 137718) * test/relaxng/rngbug-001.*, result/relaxng/rngbug-001*: added regression test for above
* enhanced to ignore XML_XINCLUDE_START and XML_XINCLUDE_END nodes (bugWilliam M. Brack2004-03-151-0/+2
| | | | | * relaxng.c: enhanced to ignore XML_XINCLUDE_START and XML_XINCLUDE_END nodes (bug 137153)
* fixing compilation and link option when configuring with --without-validDaniel Veillard2004-02-251-0/+2
| | | | | | | * debugXML.c relaxng.c valid.c xinclude.c xmllint.c xmlreader.c: fixing compilation and link option when configuring with --without-valid should fix #135309 Daniel
* add --timing option use the psvi field of the nodes instead of _privateDaniel Veillard2004-02-221-7/+7
| | | | | | | * testSAX.c: add --timing option * relaxng.c: use the psvi field of the nodes instead of _private which may be used for other purposes. Daniel
* fixing #130453 XInclude element with no href attribute fully integratingDaniel Veillard2004-01-251-1/+35
| | | | | | | | * xinclude.c: fixing #130453 XInclude element with no href attribute * relaxng.c rngparser.c include/libxml2/relaxng.h: fully integrating the compact syntax will require more work, postponed for the 2.6.5 release. Daniel
* applied patch from Mark Vadoc to not use SAX1 unless necessary. DanielDaniel Veillard2004-01-131-4/+4
| | | | | | * HTMLparser.c relaxng.c testRelax.c testSchemas.c: applied patch from Mark Vadoc to not use SAX1 unless necessary. Daniel
* minor error cleanup for gcc-3.3.[12] compilation warnings.William M. Brack2003-11-141-5/+5
| | | | | | * catalog.c,relaxng.c,testAutomata.c,xpointer.c,genChRanges.py, chvalid.c,include/libxml/chvalid.h,doc/examples/test1.c: minor error cleanup for gcc-3.3.[12] compilation warnings.
* Changed all (?) occurences where validation macros (IS_xxx) hadWilliam M. Brack2003-10-181-13/+13
| | | | | | | | | | | | * 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.
* remove the warning for startDocument(), as it is used by glade (orDaniel Veillard2003-10-171-1/+1
| | | | | | | | | | | | | * 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
* Setting up the framework for structured error reporting, touches a lot ofDaniel Veillard2003-10-101-6/+16
| | | | | | | | | | | * 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
* last cleanup of error handling in the Relax-NG module. DanielDaniel Veillard2003-10-071-93/+19
| | | | | | * relaxng.c include/libxml/xmlerror.h: last cleanup of error handling in the Relax-NG module. Daniel
* switched Relax-NG module to teh new error reporting. Better defaultDaniel Veillard2003-10-071-5607/+5724
| | | | | | | | | | * error.c relaxng.c include/libxml/xmlerror.h: switched Relax-NG module to teh new error reporting. Better default report, adds the element associated if found, context and node are included in the xmlError * python/tests/reader2.py: the error messages changed. * result/relaxng/*: error message changed too. Daniel
* Okay this is scary but it is just adding a configure option to disableDaniel Veillard2003-09-291-0/+2
| | | | | | | | | | | | | | | | | | * HTMLtree.c SAX2.c c14n.c catalog.c configure.in debugXML.c encoding.c entities.c nanoftp.c nanohttp.c parser.c relaxng.c testAutomata.c testC14N.c testHTML.c testRegexp.c testRelax.c testSchemas.c testXPath.c threads.c tree.c valid.c xmlIO.c xmlcatalog.c xmllint.c xmlmemory.c xmlreader.c xmlschemas.c example/gjobread.c include/libxml/HTMLtree.h include/libxml/c14n.h include/libxml/catalog.h include/libxml/debugXML.h include/libxml/entities.h include/libxml/nanohttp.h include/libxml/relaxng.h include/libxml/tree.h include/libxml/valid.h include/libxml/xmlIO.h include/libxml/xmlschemas.h include/libxml/xmlversion.h.in include/libxml/xpathInternals.h python/libxml.c: Okay this is scary but it is just adding a configure option to disable output, this touches most of the files. Daniel
* further (final?) minor changes for compilation warnings. No change toWilliam M. Brack2003-09-271-1/+1
| | | | | * encoding.c, parser.c, relaxng.c: further (final?) minor changes for compilation warnings. No change to logic.
* fixed an error reporting bug in Relax-NG when we end up with multipleDaniel Veillard2003-08-271-24/+126
| | | | | | | | * 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
* fixed bug #120386 again a problem introduced when trying to reuse automataDaniel Veillard2003-08-261-0/+19
| | | | | | | | * relaxng.c: fixed bug #120386 again a problem introduced when trying to reuse automata for content validation. Fix a bug report problem on zeroOrMore * result/relaxng/tutor3_7_err: change slightly error reporting. Daniel
* fixed a couple of stupid bugs in the state allocation routines which ledDaniel Veillard2003-08-251-0/+2
| | | | | | | * relaxng.c: fixed a couple of stupid bugs in the state allocation routines which led to bug #120040 and the ones reported by Martijn Faassen Daniel
* =Bug 118559 (continued)William M. Brack2003-08-011-2/+1
|
* fixed a Relax-NG compilation/streaming bug introduced when fixing theDaniel Veillard2003-07-281-5/+42
| | | | | | | | | | * relaxng.c: fixed a Relax-NG compilation/streaming bug introduced when fixing the previous Relax-NG bugs * result/relaxng/*: This slightly changes the output messages of some regression tests. * configure.in: added support of -with-fexceptions for nested C++ support. Daniel
* checked and fixed the compilation of RNG schemas, fixes a couple of bugsDaniel Veillard2003-07-231-25/+61
| | | | | | | * relaxng.c result/relaxng/*: checked and fixed the compilation of RNG schemas, fixes a couple of bugs #117097 and #117001 . This slightly changes the output messages of some regression tests. Daniel
* adding Get interface for the error callback and parameters of parsing andDaniel Veillard2003-07-181-0/+47
| | | | | | | | | * relaxng.c include/libxml/relaxng.h: adding Get interface for the error callback and parameters of parsing and validation contexts * xmlreader.c: patch to fix bug #117702 about incomplete Read() on text nodes. Daniel
* removed some warnings by casting xmlChar to unsigned int and a couple ofDaniel Veillard2003-07-151-8/+8
| | | | | | | | * 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
* commiting some work done while in the Maldives (hence the timezone on theDaniel Veillard2003-06-021-1/+1
| | | | | | | | | * relaxng.c xmlschemas.c include/libxml/schemasInternals.h: commiting some work done while in the Maldives (hence the timezone on the laptop !) * result/schemas/length3* test/schemas/deter0_* test/schemas/group0_*: some tests added too Daniel
* Stéphane Bidoul found an off by one addressing error on the errorDaniel Veillard2003-05-101-1/+1
| | | | | | * relaxng.c: Stéphane Bidoul found an off by one addressing error on the error handling. Daniel
* removed multiple warning, this fixed a bug and should close #111574 DanielDaniel Veillard2003-05-091-2/+2
| | | | | | * DOCBparser.c catalog.c parser.c relaxng.c: removed multiple warning, this fixed a bug and should close #111574 Daniel
* added xmlMallocAtomic() to be used when allocating blocks which do notDaniel Veillard2003-04-191-1/+1
| | | | | | | | | | | | * 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
* some cleanups extended the document to cover RelaxNG and tree operationsDaniel Veillard2003-04-171-23/+20
| | | | | | | | | | * relaxng.c: some cleanups * doc/xmlreader.html: extended the document to cover RelaxNG and tree operations * python/tests/Makefile.am python/tests/reader[46].py: added some xmlReader example/regression tests * result/relaxng/tutor*.err: updated the output of a number of tests Daniel
* valgrind pointed out an uninitialized variable error. DanielDaniel Veillard2003-04-171-1/+1
| | | | | * relaxng.c: valgrind pointed out an uninitialized variable error. Daniel
* augnemting the APIs, cleanups. cleanup bug #111005 added some missingDaniel Veillard2003-04-171-5/+43
| | | | | | | | * include/libxml/relaxng.h relaxng.c include/libxml/xmlreader.h xmlreader.c: augnemting the APIs, cleanups. * parser.c: cleanup bug #111005 * xmlIO.c: added some missing comments Daniel
* more work on RelaxNG streaming validation trying to improve the subsetDaniel Veillard2003-04-161-26/+227
| | | | | | | | | | * relaxng.c xmllint.c: more work on RelaxNG streaming validation trying to improve the subset compiled, and more testing. * doc/downloads.html doc/xml.html doc/xmlmem.html: some updates on the documentation * test/relaxng/tutor11_1_3.xml: fixes the DTD path * result/relaxng/*.err: fix some of the outputs Daniel