aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* get rid of some compilation warnings. fix the performance problem reportedDaniel Veillard2003-08-141-3/+0
| | | | | | | | * DOCBparser.c globals.c include/libxml/xmlmemory.h: get rid of some compilation warnings. * xinclude.c: fix the performance problem reported by Kevin Ruscoe plus some cleanup and better error reporting. Daniel
* applied UTF-16 encoding handling patch provided by Mark Itzcovitz moreDaniel Veillard2003-08-141-1/+1
| | | | | | | | * encoding.c: applied UTF-16 encoding handling patch provided by Mark Itzcovitz * encoding.c parser.c: more cleanup and fixes for UTF-16 when not having iconv support. Daniel
* changing an enum definition to get a correct API XML description. This wasDaniel Veillard2003-08-091-2/+2
| | | | | | | * include/libxml/xmlreader.h doc/libxml2-api.xml: changing an enum definition to get a correct API XML description. This was apparently breaking Windows build. Daniel
* small changes to syntax to get rid of compiler warnings. No changes toWilliam M. Brack2003-08-051-1/+6
| | | | | | | | * error.c HTMLparser.c testC14N.c testHTML.c testURI.c xmlcatalog.c xmlmemory.c xmlreader.c xmlschemastypes.c python/libxml.c include/libxml/xmlmemory.h: small changes to syntax to get rid of compiler warnings. No changes to logic.
* added a new API to split a QName without generating any memory allocationDaniel Veillard2003-08-041-0/+3
| | | | | | | | | | | * tree.c include/libxml/tree.h: added a new API to split a QName without generating any memory allocation * valid.c: fixed another problem with namespaces on element in mixed content case * python/tests/reader2.py: updated the testcase with Bjorn Reese fix to reader for unsignificant white space * parser.c HTMLparser.c: cleanup. Daniel
* applying cleanup patch from Bjorn Reese for xmlTextReaderNodeType() andDaniel Veillard2003-07-301-0/+21
| | | | | | | | * xmlreader.c include/libxml/xmlreader.h: applying cleanup patch from Bjorn Reese for xmlTextReaderNodeType() and significant whitespace. There is an enum for node type values now. Daniel
* applying patch from Peter Jacobi to added ISO-8859-x encoding support whenDaniel Veillard2003-07-302-0/+18
| | | | | | | | | * encoding.c: applying patch from Peter Jacobi to added ISO-8859-x encoding support when iconv is not available * configure.in include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h.in: added the glue needed at the configure level and made it the default for Windows Daniel
* fixed problem with comments reported by Nick Kew added routinesWilliam M. Brack2003-07-291-3/+3
| | | | | | * HTMLparser.c: fixed problem with comments reported by Nick Kew * encoding.c: added routines xmlUTF8Size and xmlUTF8Charcmp for some future cleanup of UTF8 handling
* added a new API xmlXIncludeProcessTree() to process XInclude only on aDaniel Veillard2003-07-221-0/+1
| | | | | | | * xinclude.c include/libxml/xinclude.h: added a new API xmlXIncludeProcessTree() to process XInclude only on a subtree this should fix bug #115385 Daniel
* adding Get interface for the error callback and parameters of parsing andDaniel Veillard2003-07-181-0/+8
| | | | | | | | | * 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
* applied the BCB patch by Eric ZurcherIgor Zlatkovic2003-06-142-3/+3
|
* applied a patch from Gman for building docs applied a patch from GaryDaniel Veillard2003-06-091-0/+4
| | | | | | | | | * doc/*: applied a patch from Gman for building docs * valid.c xmllint.c include/libxml/valid.h: applied a patch from Gary Pennington to provide an allocator for xmlValidCtxt * xmlreader.c: applied patch from Jacek Konieczny fixing bug #113580 about data not being passed immediately. Daniel
* commiting some work done while in the Maldives (hence the timezone on theDaniel Veillard2003-06-021-0/+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
* patch from Stéphane Bidoul for setting up threads global defaults. thisDaniel Veillard2003-05-151-0/+20
| | | | | | | | | | | * build_glob.py global.data globals.c parser.c include/libxml/globals.h: patch from Stéphane Bidoul for setting up threads global defaults. * doc/libxml2-api.xml: this extends the API with new functions * python/tests/Makefile.am python/tests/reader2.py python/tests/thread2.py: integrated the associated testcase and fixed the error string used in reader2 Daniel
* added --schema option to run WXS schema validation tried to improve errorDaniel Veillard2003-05-121-0/+2
| | | | | | | | * xmllint.c: added --schema option to run WXS schema validation * xmlschemas.c xmlschemastypes.c include/libxml/schemasInternals.h: tried to improve error reporting in the Schema code, some cleanup too. Daniel
* integrated the Out Of Memory test from Havoc Pennington #109368 a lot ofDaniel Veillard2003-04-242-2/+2
| | | | | | | | | | | | * 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
* a lot of performance work especially the speed of streaming through theDaniel Veillard2003-04-211-0/+1
| | | | | | | | | * globals.c libxml.h parser.c parserInternals.c tree.c xmllint.c xmlreader.c include/libxml/parser.h: a lot of performance work especially the speed of streaming through the reader and push interface. Some thread related optimizations. Nearly doubled the speed of parsing through the reader. Daniel
* added xmlMallocAtomic() to be used when allocating blocks which do notDaniel Veillard2003-04-192-0/+37
| | | | | | | | | | | | * 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
* added support for large file, tested with a 3+GB instance, and someDaniel Veillard2003-04-181-1/+6
| | | | | | | | | * libxml.h include/libxml/parser.h parser.c xmlIO.c DOCBparser.c: added support for large file, tested with a 3+GB instance, and some cleanup. * catalog.c: added a TODO * Makefile.am: added some "make tests" comments Daniel
* augnemting the APIs, cleanups. cleanup bug #111005 added some missingDaniel Veillard2003-04-172-0/+7
| | | | | | | | * 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
* implemented streaming of RelaxNG (when possible) on top of the xmlReaderDaniel Veillard2003-04-152-0/+19
| | | | | | | | | | * relaxng.c xmlreader.c xmllint.c include/libxml/relaxng.h include/libxml/xmlreader.h: implemented streaming of RelaxNG (when possible) on top of the xmlReader interface, provided it as xmllint --stream --relaxng .rng .xml This seems to mostly work. * Makefile.am: updated to test RelaxNG streaming Daniel
* integrated the regexp based validity checking of fragments of the documentDaniel Veillard2003-04-141-1/+3
| | | | | | | | * relaxng.c include/libxml/relaxng.h: integrated the regexp based validity checking of fragments of the document for which the RNG can be compiled to regexps. Works on all regression tests, only fix needed is related to error messages. Daniel
* Starting work precompiling parts of RelaxNG schemas. Not plugged ontoDaniel Veillard2003-04-132-0/+10
| | | | | | | | | * 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
* make sure xmllint --stream and xmllint --stream --valid returns errorsDaniel Veillard2003-04-111-0/+1
| | | | | | | * xmllint.c xmlreader.c include/libxml/xmlreader.h: make sure xmllint --stream and xmllint --stream --valid returns errors code appropriately Daniel
* Added the Expand() and Next() operation to work on subtrees within theDaniel Veillard2003-04-111-0/+2
| | | | | | | | | | * xmlreader.c include/libxml/xmlreader.h: Added the Expand() and Next() operation to work on subtrees within the reader framework. * doc/libxml2-api.xml python/libxml2class.txt: resulting updates * python/tests/reader5.py: added an example for those new functions of the reader. Daniel
* exported htmlCreateMemoryParserCtxt() it was static DanielDaniel Veillard2003-04-091-0/+3
| | | | | | * HTMLparser.c include/libxml/HTMLparser.h: exported htmlCreateMemoryParserCtxt() it was static Daniel
* update from Charles Bozeman for date and duration types updated too DanielDaniel Veillard2003-04-091-0/+1
| | | | | | | | * xmlschemas.c xmlschemastypes.c include/libxml/xmlschemas.h: update from Charles Bozeman for date and duration types * test/schemas/date_0.* test/schemas/dur_0.* result/schemas/date_0.* result/schemas/dur_0.*: updated too Daniel
* fixing bug #107129, removing excessive allocation and calls to *printf inDaniel Veillard2003-04-072-9/+18
| | | | | | | * tree.c valid.c xpath.c include/libxml/tree.h include/libxml/valid.h: fixing bug #107129, removing excessive allocation and calls to *printf in the code to build QName strings. Daniel
* implemented comparisons for Schemas values. fixed some bugs in durationDaniel Veillard2003-03-281-0/+2
| | | | | | | | | | | * relaxng.c: implemented comparisons for Schemas values. * xmlschemastypes.c include/libxml/xmlschemastypes.h: fixed some bugs in duration handling, comparisons for durations and decimals, removed all memory leaks pointed out by James testsuite. Current status is now found 238 test schemas: 197 success 41 failures found 1035 test instances: 803 success 130 failures Daniel
* fixed bugs and memory leaks in the W3C XML Schemas code implementedDaniel Veillard2003-03-271-0/+1
| | | | | | | | | * xmlschemas.c include/libxml/xmlschemas.h: fixed bugs and memory leaks in the W3C XML Schemas code * xmlschemastypes.c: implemented nonPositiveInteger * test/schemas/length2_0.xsd result/schemas/length2_0_0.err: fixed the test and result. Daniel
* first part of the fix to performance bug #108905, addsDaniel Veillard2003-03-261-0/+1
| | | | | | | | * xpath.c include/libxml/xpath.h: first part of the fix to performance bug #108905, adds xmlXPathOrderDocElems() providing document order for nodes. * python/libxml.c: Python may require TRIO as Albert Chin pointed out Daniel
* fixed some problems related to #75813 about handling of Result Value TreesDaniel Veillard2003-03-241-6/+1
| | | | | | * xpath.c: fixed some problems related to #75813 about handling of Result Value Trees Daniel
* fixing bug #108976 get the ID/REFs to reference the ID in the documentDaniel Veillard2003-03-231-0/+8
| | | | | | | | | | | | | | | * 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
* added Datatype ID and IDREF, usable from RelaxNG now need to add a newDaniel Veillard2003-03-182-0/+5
| | | | | | | | | * relaxng.c valid.c xmlschemastypes.c: added Datatype ID and IDREF, usable from RelaxNG now * include/libxml/xmlschemastypes.h: need to add a new interface because the validation modifies the infoset * test/relaxng/testsuite.xml: extended the testsuite Daniel
* fixed the last core RelaxNG bug known #107083, shemas datatype ID/IDREFDaniel Veillard2003-03-171-1/+2
| | | | | | | | | | * relaxng.c: fixed the last core RelaxNG bug known #107083, shemas datatype ID/IDREF support still missing though. * xmlreader.c: fix a crashing bug with prefix raised by Merijn Broeren * test/relaxng/testsuite.xml: augmented the testsuite with complex inheritance tests Daniel
* switched back to the previous Relax-NG code base, the derivation algorithmDaniel Veillard2003-03-161-1/+2
| | | | | | | | | | * relaxng.c: switched back to the previous Relax-NG code base, the derivation algorithm need severe constraining code to avoid combinatorial explosion. Fixed the problem with Sebastian Rahtz TEI based example and other bugs * result/relaxng/*err: updated the results * test/relaxng/testsuite.xml: started a new test suite Daniel
* After coming to the conclusion that the original RelaxNG validation codeDaniel Veillard2003-03-151-0/+5
| | | | | | | | | | | * relaxng.c include/libxml/relaxng.h: After coming to the conclusion that the original RelaxNG validation code was un-fixeable, it got rewritten to use the derivation algorithm from James Clark and redebugged it (nearly) from scratch: found 373 test schemas: 372 success 1 failures found 529 test instances: 529 success 0 failures <sigh/> Daniel
* after and exchange with James Clark it appeared I had bug in URI parsingDaniel Veillard2003-03-071-0/+38
| | | | | | | | | | * test/xsdtest/xsdtest.xml uri.c: after and exchange with James Clark it appeared I had bug in URI parsing code ... * relaxng.c include/libxml/relaxng.h: completely revamped error reporting to not loose message from optional parts. * xmllint.c: added timing for RNG validation steps * result/relaxng/*: updated the result, all error messages changed Daniel
* adding xmlNanoFTPDele() from Philipp Dunkel DanielDaniel Veillard2003-03-051-0/+2
| | | | | | * nanoftp.c include/libxml/nanoftp.h: adding xmlNanoFTPDele() from Philipp Dunkel Daniel
* added param support for relaxng type checking, started to increment theDaniel Veillard2003-02-271-0/+7
| | | | | | | | | * relaxng.c xmlschemas.c xmlschemastypes.c include/libxml/xmlschemastypes.h: added param support for relaxng type checking, started to increment the pool of simple types registered, still much work to be done on simple types and facets checkings. Daniel
* obsoleted xmlNormalizeWindowsPathIgor Zlatkovic2003-02-191-1/+5
|
* introduced xmlCanonicPathIgor Zlatkovic2003-02-191-0/+1
|
* float/double check bugfix exported a function for NMTOKEN validation add aDaniel Veillard2003-02-181-3/+5
| | | | | | | | | | | | * xmlschemastypes.c: float/double check bugfix * tree.c include/libxml/tree.h: exported a function for NMTOKEN validation * xmlreader.c: add a TODO for Jody * relaxng.c: bugfix bugfix bugfix found 373 test schemas: 300 success 73 failures found 529 test instances: 507 success 10 failures * result/relaxng/*: updated the results Daniel
* more bug-hunting added --tree to dump the intermediate rng tree patch fromDaniel Veillard2003-02-161-0/+2
| | | | | | | | | * relaxng.c: more bug-hunting * testRelax.c include/libxml/relaxng.h: added --tree to dump the intermediate rng tree * python/generator.py: patch from Stephane Bidoul to fix the generator on python < 2.2 Daniel
* more testing on the Relax-NG front, cleaning up the regression testsDaniel Veillard2003-02-141-0/+3
| | | | | | | | | | | | | | * check-relaxng-test-suite.py relaxng.c: more testing on the Relax-NG front, cleaning up the regression tests failures current state and I forgot support for "mixed": found 373 test schemas: 280 success 93 failures found 529 test instances: 401 success 68 failures * tree.c include/libxml/tree.h xmlschemastypes.c: finished and moved the Name, NCName and QName validation routine in tree.c * uri.c: fixed handling of URI ending up with #, i.e. having an empty fragment ID. * result/relaxng/*: updated the results Daniel
* comments cleanups use xmllint for doing the RelaxNG tests preparing 2.5.2Daniel Veillard2003-02-051-0/+2
| | | | | | | | | | | | | * HTMLparser.c tree.c xmlIO.c: comments cleanups * Makefile.am: use xmllint for doing the RelaxNG tests * configure.in: preparing 2.5.2 made schemas support default to on instead of off * relaxng.c: removed the verbosity * xmllint.c: added --relaxng option * python/generator.py python/libxml_wrap.h: prepared the integration of the new RelaxNG module and schemas * result/relaxng/*: less verbose output Daniel
* applied HTML improvements from Nick Kew, allowing to do more checking toDaniel Veillard2003-02-051-1/+43
| | | | | | | * HTMLparser.c include/libxml/HTMLparser.h: applied HTML improvements from Nick Kew, allowing to do more checking to HTML elements and attributes. Daniel
* oops forgot a new header, danielDaniel Veillard2003-01-231-1/+2
|
* First commit of the new Relax-NG validation code, not generally usefulDaniel Veillard2003-01-231-0/+62
| | | | | | | | | * Makefile.am configure.in relaxng.c include/libxml/relaxng.h: First commit of the new Relax-NG validation code, not generally useful yet. * test/relaxng/* result/relaxng/*: current state of the regression tests Daniel
* patch from Stéphane Bidoul for better per context error message APIsDaniel Veillard2003-01-201-10/+12
| | | | | | | | | | * xmlreader.c python/drv_libxml2.py python/generator.py python/libxml.c python/libxml.py python/libxml_wrap.h python/types.c: patch from Stéphane Bidoul for better per context error message APIs * python/tests/ctxterror.py python/tests/readererr.py: update of the tests Daniel