summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix a problem with strcpy() in xmlXPathFormatNumber() valgrind pointed outDaniel Veillard2003-09-122-2/+7
| | | | | | * xpath.c: fix a problem with strcpy() in xmlXPathFormatNumber() valgrind pointed out the strings overlapped. cleanup . Daniel
* applied speedup to xmlSearchNs() as suggested by Luca Padovani. Cleaned upDaniel Veillard2003-09-122-70/+128
| | | | | | | * tree.c: applied speedup to xmlSearchNs() as suggested by Luca Padovani. Cleaned up xmlSearchNsByHref() in the process applying the same trick. Daniel
* Ooops forgot to commit them, DanielDaniel Veillard2003-09-122-0/+5
|
* adding namespace checkings while making sure they still parse asDaniel Veillard2003-09-1139-17/+493
| | | | | | | | | | | | | | * parser.c parserInternals.c tree.c include/libxml/parser.h include/libxml/xmlerror.h: adding namespace checkings while making sure they still parse as wellformed documents. Add an nsWellFormed status report to the context, and provide new appropriate error codes. * Makefile.am result/namespaces/* test/namespaces/*: add specific regression testing for the new namespace support * test/att5 result/noent/att5 result/att5 result/att5.sax: add more coverage for the attribute parsing and normalization code. Daniel
* backport of a thread bugfix from 2_5_X branch DanielDaniel Veillard2003-09-113-188/+196
| | | | | * threads.c: backport of a thread bugfix from 2_5_X branch Daniel
* fixed a bug in one corner case of attribute parsing. DanielDaniel Veillard2003-09-112-1/+5
| | | | | * parser.c: fixed a bug in one corner case of attribute parsing. Daniel
* Time to commit 3 days of work rewriting the parser internal,Daniel Veillard2003-09-1017-156/+376
| | | | | | | | | | | | | | | | | | | | | fixing bugs and migrating to SAX2 interface by default. There is some work letf TODO, like namespace validation and attributes normalization (this break C14N right now) * Makefile.am: fixed the test rules * include/libxml/SAX2.h include/libxml/parser.h include/libxml/parserInternals.h SAX2.c parser.c parserInternals.c: changing the parser, migrating to SAX2, adding new interface to switch back to SAX1 or initialize a SAX block for v1 or v2. Most of the namespace work is done below SAX, as well as attribute defaulting * globals.c: changed initialization of the default SAX handlers * hash.c tree.c include/libxml/hash.h: added QName specific handling * xmlIO.c: small fix * xmllint.c testSAX.c: provide a --sax1 switch to test the old version code path * result/p3p result/p3p.sax result/noent/p3p test/p3p: the new code pointed out a typo in a very old test namespace Daniel
* 2.6.0beta1 changes Fixing attribute normalization, might not be totallyDaniel Veillard2003-09-106-54/+248
| | | | | | | | | | | | | | | * configure.in doc/* : 2.6.0beta1 changes * SAX2.c hash.c parser.c parserInternals.c: Fixing attribute normalization, might not be totally fixed but this should make sure SAX event provide the right strings for attributes except entities for which libxml2 is different by default This should fix #109564 * result/attrib.xml.sax result/ent3.sax result/p3p.sax: minor changes in attribute callback values * result/c14n/with-comments/example-4 result/c14n/without-comments/example-4: this also fixes a subtle bug in the canonicalization tests. Daniel
* Time to commit 3 days of work rewriting the parser internal,Daniel Veillard2003-09-106-244/+1201
| | | | | | | | | | | | | | | | | | | | | fixing bugs and migrating to SAX2 interface by default. There is some work letf TODO, like namespace validation and attributes normalization (this break C14N right now) * Makefile.am: fixed the test rules * include/libxml/SAX2.h include/libxml/parser.h include/libxml/parserInternals.h SAX2.c parser.c parserInternals.c: changing the parser, migrating to SAX2, adding new interface to switch back to SAX1 or initialize a SAX block for v1 or v2. Most of the namespace work is done below SAX, as well as attribute defaulting * globals.c: changed initialization of the default SAX handlers * hash.c tree.c include/libxml/hash.h: added QName specific handling * xmlIO.c: small fix * xmllint.c testSAX.c: provide a --sax1 switch to test the old version code path * result/p3p result/p3p.sax result/noent/p3p test/p3p: the new code pointed out a typo in a very old test namespace Daniel
* Added infor about 2.5.11, DanielDaniel Veillard2003-09-094-22/+30
|
* Implemented detection of compressed files, setting doc->compressedWilliam M. Brack2003-09-084-12/+31
| | | | | | * xmlIO.c include/libxml/xmlIO.h parser.c: Implemented detection of compressed files, setting doc->compressed appropriately (bug #120503).
* 2.6.0beta1 changes Fixing attribute normalization, might not be totallyDaniel Veillard2003-09-071-187/+189
| | | | | | | | | | | | | | | * configure.in doc/* : 2.6.0beta1 changes * SAX2.c hash.c parser.c parserInternals.c: Fixing attribute normalization, might not be totally fixed but this should make sure SAX event provide the right strings for attributes except entities for which libxml2 is different by default This should fix #109564 * result/attrib.xml.sax result/ent3.sax result/p3p.sax: minor changes in attribute callback values * result/c14n/with-comments/example-4 result/c14n/without-comments/example-4: this also fixes a subtle bug in the canonicalization tests. Daniel
* try to cope with the fact that apps may still have allocated smaller SAXDaniel Veillard2003-09-073-188/+193
| | | | | | * parser.c: try to cope with the fact that apps may still have allocated smaller SAX callbak block Daniel
* allow to give -1 for undefined length in lookups first round of work onDaniel Veillard2003-09-076-146/+1120
| | | | | | | | | * dict.c: allow to give -1 for undefined length in lookups * include/libxml/parser.h parser.c parserInternals.c testSAX.c: first round of work on the new SAX2 interfaces, the API will change but commiting before changing for historical reference. Daniel
* fixed bug #121210 (callback to sax->error, sax->warning with wrongWilliam M. Brack2003-09-063-21/+28
| | | | | * SAX2.c, xmlIO.c: fixed bug #121210 (callback to sax->error, sax->warning with wrong params).
* patch from Stéphane Bidoul to export globals entry points to the pythonDaniel Veillard2003-09-052-2/+7
| | | | | | * include/libxml/globals.h: patch from Stéphane Bidoul to export globals entry points to the python bindings Daniel
* when creating a DOCTYPE use "html" lowercase by default instead of "HTML"Daniel Veillard2003-09-036-13/+30
| | | | | | | | | | * HTMLparser.c: when creating a DOCTYPE use "html" lowercase by default instead of "HTML" * parser.c xmlreader.c: optimization, gain a few % parsing speed by avoiding calls to "areBlanks" when not needed. * include/libxml/parser.h include/libxml/tree.h: some structure extensions for future work on using per-document dictionaries. Daniel
* removing the SAXresults tree, keeping result in the same tree, addedDaniel Veillard2003-09-03102-215/+38016
| | | | | | | * Makefile.am results/*.sax SAXResult/*: removing the SAXresults tree, keeping result in the same tree, added SAXtests to the default "make tests" Daniel
* 2.6.0beta1 changes Fixing attribute normalization, might not be totallyDaniel Veillard2003-09-032-2/+2
| | | | | | | | | | | | | | | * configure.in doc/* : 2.6.0beta1 changes * SAX2.c hash.c parser.c parserInternals.c: Fixing attribute normalization, might not be totally fixed but this should make sure SAX event provide the right strings for attributes except entities for which libxml2 is different by default This should fix #109564 * result/attrib.xml.sax result/ent3.sax result/p3p.sax: minor changes in attribute callback values * result/c14n/with-comments/example-4 result/c14n/without-comments/example-4: this also fixes a subtle bug in the canonicalization tests. Daniel
* removing the SAXresults tree, keeping result in the same tree, addedDaniel Veillard2003-09-032-0/+19
| | | | | | | * Makefile.am results/*.sax SAXResult/*: removing the SAXresults tree, keeping result in the same tree, added SAXtests to the default "make tests" Daniel
* Added a link and image for the protest against software patents, rebuiltDaniel Veillard2003-09-0329-26/+34
| | | | | the web pages, Daniel
* additional macros, mingw sectionIgor Zlatkovic2003-09-021-0/+13
|
* *** empty log message ***Igor Zlatkovic2003-09-021-0/+5
|
* fixed problem parsing xhtml docs small modification to avoid problem inWilliam M. Brack2003-09-015-14/+18
| | | | | | | * doc/index.py: fixed problem parsing xhtml docs * doc/xmlreader.html,doc/guidelines.html: small modification to avoid problem in python parsing. * doc/search.php: fixed upper case filename problem for XSLT docs
* patch from Mark Vakoc that allows compiling with XInclude but withoutDaniel Veillard2003-09-012-1/+11
| | | | | | * xinclude.c: patch from Mark Vakoc that allows compiling with XInclude but without XPointer support. Daniel
* Applied a patch from Kevin P. Fleming to add --libtool-libs option toDaniel Veillard2003-09-013-0/+15
| | | | | | * configure.in xml2-config.in: Applied a patch from Kevin P. Fleming to add --libtool-libs option to xml2-config script. Daniel
* 2.6.0beta1 changes Fixing attribute normalization, might not be totallyDaniel Veillard2003-09-011-3/+4
| | | | | | | | | | | | | | | * configure.in doc/* : 2.6.0beta1 changes * SAX2.c hash.c parser.c parserInternals.c: Fixing attribute normalization, might not be totally fixed but this should make sure SAX event provide the right strings for attributes except entities for which libxml2 is different by default This should fix #109564 * result/attrib.xml.sax result/ent3.sax result/p3p.sax: minor changes in attribute callback values * result/c14n/with-comments/example-4 result/c14n/without-comments/example-4: this also fixes a subtle bug in the canonicalization tests. Daniel
* Applied a patch from Kevin P. Fleming to add --libtool-libs option toDaniel Veillard2003-09-011-0/+2
| | | | | | * configure.in xml2-config.in: Applied a patch from Kevin P. Fleming to add --libtool-libs option to xml2-config script. Daniel
* new file added, giving some description of the documentation generationWilliam M. Brack2003-09-014-3/+35
| | | | | | * doc/README.docs, doc/Makefile.am: new file added, giving some description of the documentation generation process * doc/search.php: fixed problem with upper case on filenames
* updates by Eric ZurcherIgor Zlatkovic2003-08-291-19/+37
|
* *** empty log message ***Igor Zlatkovic2003-08-291-0/+4
|
* 2.6.0beta1 changes Fixing attribute normalization, might not be totallyDaniel Veillard2003-08-291-523/+620
| | | | | | | | | | | | | | | * configure.in doc/* : 2.6.0beta1 changes * SAX2.c hash.c parser.c parserInternals.c: Fixing attribute normalization, might not be totally fixed but this should make sure SAX event provide the right strings for attributes except entities for which libxml2 is different by default This should fix #109564 * result/attrib.xml.sax result/ent3.sax result/p3p.sax: minor changes in attribute callback values * result/c14n/with-comments/example-4 result/c14n/without-comments/example-4: this also fixes a subtle bug in the canonicalization tests. Daniel
* enhanced code to compensate for pollution from Igor's header taint (quickWilliam M. Brack2003-08-293-533/+862
| | | | | | * doc/apibuild.py, doc/libxml2-api.xml: enhanced code to compensate for pollution from Igor's header taint (quick before Daniel notices)
* fixed a namespace error on attribute reporting bug pointed out by TobiasDaniel Veillard2003-08-285-3/+15
| | | | | | | | * SAX2.c: fixed a namespace error on attribute reporting bug pointed out by Tobias Reif * test/p3p result/p3p result/noent/p3p: this test case was wrong using xmlsn instead of xmlns... Daniel
* fixed typos reported by Mark VakocIgor Zlatkovic2003-08-282-2/+2
|
* *** empty log message ***Igor Zlatkovic2003-08-281-0/+5
|
* add: doc/tutorial/api.html doc/tutorial/ar01s09.htmlMDT 2003 John Fleck2003-08-2814-22/+166
| | | | | | | | | | | | | Thu Aug 28 08:59:51 MDT 2003 John Fleck <jfleck@inkstain.net> add: * doc/tutorial/api.html * doc/tutorial/ar01s09.html * doc/tutorial/includexpath.c updated * doc/tutorial/*.html fix my bad - forgot to check in new files when I last updated
* *** empty log message ***Igor Zlatkovic2003-08-281-0/+1
|
* Added support for Borland C++Igor Zlatkovic2003-08-282-48/+464
|
* fixed time inclusion for various compilersIgor Zlatkovic2003-08-282-7/+6
|
* minor path fixIgor Zlatkovic2003-08-281-7/+18
|
* added few casts to shut the compiler warningsIgor Zlatkovic2003-08-285-5/+10
|
* no more win32config.hIgor Zlatkovic2003-08-281-3/+1
|
* fixed for mingwIgor Zlatkovic2003-08-284-24/+39
|
* fixing bug #120870 try to avoid problem with uninitialized mutexes DanielDaniel Veillard2003-08-283-1/+11
| | | | | | * globals.c threads.c: fixing bug #120870 try to avoid problem with uninitialized mutexes Daniel
* fixed an error reporting bug in Relax-NG when we end up with multipleDaniel Veillard2003-08-274-759/+1075
| | | | | | | | * 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
* realigned parameters after taintIgor Zlatkovic2003-08-2717-560/+1074
|
* *** empty log message ***Igor Zlatkovic2003-08-271-0/+5
|
* *** empty log message ***Igor Zlatkovic2003-08-271-0/+5
|
* fixed defs for Borland compiler, as reported by Eric ZurcherIgor Zlatkovic2003-08-271-2/+4
|