tree.c


Log

Author Commit Date CI Message
Daniel Veillard 2156d438 2004-03-04T15:59:36 fixing compilation bug with some options disabled as well as * debugXML.c testHTML.c tree.c doc/examples/*.c include/libxml/xmlsave.h: fixing compilation bug with some options disabled as well as --with-minimum should fix #134695 Daniel
Daniel Veillard 1a8741c8 2004-03-04T13:40:59 commiting the new xmlsave module before the actuall big code change. * Makefile.am tree.c xmlsave.c include/libxml/xmlsave.h: commiting the new xmlsave module before the actuall big code change. Daniel
Daniel Veillard 06d2524e 2004-02-25T13:01:42 applied a cleanup patch from Peter Breitenlohner removed a doc build * Makefile.am catalog.c configure.in: applied a cleanup patch from Peter Breitenlohner * tree.c: removed a doc build warning by fixing a param comment * doc/* : rebuilt the docs Daniel
Daniel Veillard cb35f01d 2004-02-20T08:18:58 xmlAttrSerializeTxtContent don't segfault if NULL is passed. adding an old * tree.c: xmlAttrSerializeTxtContent don't segfault if NULL is passed. * test/att7 result//att7*: adding an old regression test laying around on my laptop Daniel
Daniel Veillard 49138f19 2004-02-19T12:58:36 some clarification in xmlDocDumpMemory() documentation fixed xmllint * tree.c: some clarification in xmlDocDumpMemory() documentation * xmllint.c: fixed xmllint --stream --timing to get timings back Daniel
Daniel Veillard 3671190b 2004-02-11T13:25:26 added xmlByteConsumed() interface updated the benchmark rebuilt the docs * parserInternals.c xmlIO.c encoding.c include/libxml/parser.h include/libxml/xmlIO.h: added xmlByteConsumed() interface * doc/*: updated the benchmark rebuilt the docs * python/tests/Makefile.am python/tests/indexes.py: added a specific regression test for xmlByteConsumed() * include/libxml/encoding.h rngparser.c tree.c: small cleanups Daniel
William M. Brack 6f108a1d 2004-02-11T00:14:52 fixed missing output of internal DTD param entities when nothing else * tree.c: fixed missing output of internal DTD param entities when nothing else present in DTD (bug 134052)
William M. Brack a9c612c3 2004-02-01T10:04:05 moved serialization of attribute text data (xmlSerializeContent) into a * tree.c, include/libxml/tree.h: moved serialization of attribute text data (xmlSerializeContent) into a separate routine (xmlSerializeTxtContent) so it can be used by xmlwriter.c * xmlwriter.c: changed handling of attribute string to use the routine above (fixed bug 131548)
William M. Brack 7762bb15 2004-01-04T14:49:01 added a routine xmlStrncatNew to create a new string from 2 frags. added * parser.c, include/libxml/parser.h: added a routine xmlStrncatNew to create a new string from 2 frags. * tree.c: added code to check if node content is from dictionary before trying to change or concatenate.
William M. Brack 84d83e34 2003-12-23T03:45:17 inhibited production of "(null):" in xmlGetNodePath when node has default * tree.c: inhibited production of "(null):" in xmlGetNodePath when node has default namespace (Bug 129710)
MST 2003 John Fleck e1f70496 2003-12-20T23:43:28 tree.c - add explanation of namespace inheritance when ns is NULL to Sat Dec 20 16:42:07 MST 2003 John Fleck <jfleck@inkstain.net> * tree.c - add explanation of namespace inheritance when ns is NULL to xmlNewChild and xmlNewTextChild API doc
MST 2003 John Fleck a0e7e934 2003-12-19T03:13:47 tree.c fix misc. typos in doc comments include/libxml/tree.h elaborate on Thu Dec 18 20:10:34 MST 2003 John Fleck <jfleck@inkstain.net> * tree.c fix misc. typos in doc comments * include/libxml/tree.h elaborate on macro define doc
MST 2003 John Fleck 8b03bc56 2003-12-17T03:45:01 tree.c doc/* Elaborate in documentation discussion of xmlNewChild and Tue Dec 16 20:40:40 MST 2003 John Fleck <jfleck@inkstain.net> * tree.c * doc/* Elaborate in documentation discussion of xmlNewChild and xmlNewTextChild. Thanks to Steve Lenti for pointing out the usefulness of a more explicit explanation of the reserved character escaping issue.
Daniel Veillard 2f6ff81a 2003-12-08T12:11:14 tentative fix for #126117 character reference in attributes output problem * tree.c: tentative fix for #126117 character reference in attributes output problem in some cornercase. Daniel
William M. Brack d7cf7f8d 2003-11-14T07:13:16 minor changes to some comments rebuilt the generated HTML pages for * tree.c: minor changes to some comments * doc/*.html: rebuilt the generated HTML pages for changes from jfleck (bug 126945)
Daniel Veillard 254b1260 2003-11-01T17:04:58 second BeOS patch from Marcin 'Shard' Konicki Daniel * tree.c nanohttp.c threads.c: second BeOS patch from Marcin 'Shard' Konicki Daniel
Daniel Veillard e22dd5ce 2003-10-29T12:53:27 applied a couple of patches from Mark Lilback about text nodes coalescing * tree.c: applied a couple of patches from Mark Lilback about text nodes coalescing Daniel
Daniel Veillard f4e56298 2003-10-28T14:27:41 applied patch from Kasimier Buchcik which fixes a problem in xmlSearchNs * tree.c: applied patch from Kasimier Buchcik which fixes a problem in xmlSearchNs introduced in 2.6.0 Damniel
Daniel Veillard cec50a6a 2003-10-28T13:26:51 fix bug #125047 about serializing when finding a document fragment node. * tree.c: fix bug #125047 about serializing when finding a document fragment node. Daniel
Daniel Veillard 2189b59b 2003-10-21T00:08:42 last minute patch from Eric Zurcher making it into 2.6.0 Daniel * tree.c: last minute patch from Eric Zurcher making it into 2.6.0 Daniel
Daniel Veillard 3e35f8e6 2003-10-21T00:05:38 preparing libxml2-2.6.0 updated and regenerated the docs and API moved the * configure.in NEWS doc/libxml2.xsa: preparing libxml2-2.6.0 * doc/*: updated and regenerated the docs and API * SAX2.c error.c tree.c: moved the line number to their proper field in elements now. Daniel
Daniel Veillard c469692e 2003-10-19T21:47:14 cleanup xmlNodeGetContent() reusing xmlNodeBufGetContent(), tested it * tree.c: cleanup xmlNodeGetContent() reusing xmlNodeBufGetContent(), tested it through the xslt regression suite. Daniel
Daniel Veillard 7869729c 2003-10-19T20:44:43 adding xmlNodeBufGetContent() allowing to grab the content without forcing * tree.c include/libxml/tree.h: adding xmlNodeBufGetContent() allowing to grab the content without forcing allocations. * python/libxml2class.txt doc/libxml2-api.xml: rebuilt the API * xpath.c xmldwalk.c: removed a couple of comment errors. Daniel
William M. Brack 9ca682f5 2003-10-19T10:01:59 fixed segfault when input file not present changed output formatting of * xmlIO.c: fixed segfault when input file not present * tree.c: changed output formatting of XML_CDATA_SECTION (bug 120917)
William M. Brack 76e95df0 2003-10-18T16:20:14 Changed all (?) occurences where validation macros (IS_xxx) had * 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.
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 e2238d56 2003-10-09T13:14:55 converted too small cleanup Daniel * HTMLtree.c include/libxml/xmlerror.h: converted too * tree.c: small cleanup Daniel
Daniel Veillard 828ce83d 2003-10-08T19:19:10 more cleanup through the I/O error path Daniel * error.c tree.c xmlIO.c xmllint.c: more cleanup through the I/O error path Daniel
Daniel Veillard 18ec16e7 2003-10-07T23:16:40 converting the tree module too created a simpler internal error reporting * tree.c: converting the tree module too * error.c include/libxml/xmlerror.h: created a simpler internal error reporting function. Daniel
Daniel Veillard 652327a7 2003-09-29T18:02:38 Adding a configure option to remove tree manipulation code which is not * configure.in entities.c tree.c valid.c xmllint.c include/libxml/tree.h include/libxml/xmlversion.h.in: Adding a configure option to remove tree manipulation code which is not strictly needed by the parser. Daniel
Daniel Veillard a9cce9cd 2003-09-29T13:20:24 Okay this is scary but it is just adding a configure option to disable * 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
Daniel Veillard 4432df23 2003-09-28T18:58:27 cleanup, creating a new legacy.c module, made sure make tests ran in * Makefile.am: cleanup, creating a new legacy.c module, made sure make tests ran in reduced conditions * SAX.c SAX2.c configure.in entities.c globals.c parser.c parserInternals.c tree.c valid.c xlink.c xmlIO.c xmlcatalog.c xmlmemory.c xpath.c xmlmemory.c include/libxml/xmlversion.h.in: increased the modularization, allow to configure out validation code and legacy code, added a configuration option --with-minimum compiling only the mandatory code which then shrink to 200KB. Daniel
Daniel Veillard 9475a352 2003-09-26T12:47:50 added the same htmlRead APIs than their XML counterparts new parser * HTMLparser.c testHTML.c xmllint.c include/libxml/HTMLparser.h: added the same htmlRead APIs than their XML counterparts * include/libxml/parser.h: new parser options, not yet implemented, added an options field to the context. * tree.c: patch from Shaun McCance to fix bug #123238 when ]]> is found within a cdata section. * result/noent/cdata2 result/cdata2 result/cdata2.rdr result/cdata2.sax test/cdata2: add one more cdata test Daniel
Daniel Veillard e96a2a4b 2003-09-24T21:23:56 adding repeated parsing and validating tests make the new DOM tree * Makefile.am: adding repeated parsing and validating tests * SAX2.c parser.c tree.c include/libxml/parser.h: make the new DOM tree building interfaces use the dictionary from the parsing context to build the element and attributes names as well as formatting spaces and short text nodes * include/libxml/dict.h dict.c: added some reference counting for xmlDictPtr because they can be shared by documents and a parser context. * xmlreader.c: a bit of cleanup, remove the specific tree freeing functions and use the standard ones now. * xmllint.c: add --nodict * python/libxml.c: fix a stupid bug so that ns() works on attribute nodes. Daniel
Daniel Veillard 16fa96c5 2003-09-23T21:50:54 adding a new set of API for parsing xmlReadDoc() xmlReadFile() ... * parser.c include/libxml/parser.h: adding a new set of API for parsing xmlReadDoc() xmlReadFile() ... xmlReadIO() and xmlCtxtReadDoc() ... xmlCtxtReadIO(). That with a clear define of xmlParserOption, xmlCtxtUseOptions() should simplify custom parsing without being tempted to use global variables, and xmlCtxtReset() should allow reuse of a context for multiple parsing. * xmllint.c: switched to use xmlReadXXX, allow options to be used simultaneously with less troubles. * tree.c: simple warning removal * doc/apibuild.py: small fix * doc/libxml2-api.xml win32/libxml2.def.src: updated Daniel
Daniel Veillard f85ce8e3 2003-09-22T10:24:45 the uri arg to xmlNodeSetBase is really a const xmlChar* addin the * tree.c include/libxml/tree.h: the uri arg to xmlNodeSetBase is really a const xmlChar* * xmlreader.c include/libxml/xmlreader.h: addin the xmlTextReaderConstString() to get an interned string from the reader Daniel
Daniel Veillard e72c508c 2003-09-19T12:44:05 preparing a 2.6.0-beta2 release avoid a warning avoid duplicate code in * configure.in: preparing a 2.6.0-beta2 release * xmlIO.c: avoid a warning * tree.c: avoid duplicate code in xmlReplaceNode as pointed out by Chris Ryland * include/libxml/dict.h: add a QName access lookup to the dictionary. * xmlreader.c include/libxml/xmlreader.h: adding const access based on the dictionary interface for string read from the reader, the node content access is still TODO, it's too different Daniel
Daniel Veillard 5335055e 2003-09-18T13:35:51 add streaming on memory regression tests, found bad bugs in the reader * Makefile.am: add streaming on memory regression tests, found bad bugs in the reader interface * xmlreader.c: fixing bugs w.r.t. very large names, and special condition in end of file. * xmlIO.c tree.c include/libxml/tree.h include/libxml/xmlIO.h: adding immutable buffers, and parser input based on those, but this should not be used (yet) for general parsing * parser.c: added a comment about using immutable buffers for general parsing. * result/bigname.xml.rdr result/bigname2.xml.rdr: fixing the output of the regression tests * xmllint.c: using the immutable buffers when streaming on mmaped file (--stream --memory) Daniel
Daniel Veillard bdbe0d4e 2003-09-14T19:56:14 factoring of more error handling code, serious size reduction and more * parser.c include/libxml/xmlerror.h: factoring of more error handling code, serious size reduction and more lisibility of the resulting code. * parserInternals.c parser.c include/libxml/parserInternals.h include/libxml/parser.h: changing the way VC:Proper Group/PE Nesting checks are done, use a counter for entities. Entities where freed and reallocated at the same address failing the check. * tree.c: avoid a warning * result/valid/* result/VC/*: this slightly changes some validation error messages. Daniel
Daniel Veillard 2a3fea37 2003-09-12T09:44:56 applied speedup to xmlSearchNs() as suggested by Luca Padovani. Cleaned up * tree.c: applied speedup to xmlSearchNs() as suggested by Luca Padovani. Cleaned up xmlSearchNsByHref() in the process applying the same trick. Daniel
Daniel Veillard 3b7840cd 2003-09-11T23:42:01 adding namespace checkings while making sure they still parse as * 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
Daniel Veillard 07cb8226 2003-09-10T10:51:05 Time to commit 3 days of work rewriting the parser internal, 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
Daniel Veillard e5984080 2003-08-19T22:21:13 fixes a small bug introduced in last commit and detected by valgrind. * tree.c: fixes a small bug introduced in last commit and detected by valgrind. Daniel
Daniel Veillard 6155d8aa 2003-08-19T15:01:28 optimization when freeing hash tables. some tuning of buffer allocations * dict.c hash.c: optimization when freeing hash tables. * parser.c xmlIO.c include/libxml/tree.h: some tuning of buffer allocations * parser.c parserInternals.c include/libxml/parser.h: keep a single allocated block for all the attributes callbacks, avoid useless malloc()/free() * tree.c: do not realloc() when growing a buffer if the buffer ain't full, malloc/memcpy/free avoid copying memory. Daniel
Daniel Veillard 70bcb0ea 2003-08-08T14:00:28 hum try to avoid some troubles when the library is not initialized and one * HTMLtree.c tree.c threads.c: hum try to avoid some troubles when the library is not initialized and one try to save, the locks in threaded env might not been initialized, playing safe * xmlschemastypes.c: apply patch for hexBinary from Charles Bozeman * test/schemas/hexbinary_* result/schemas/hexbinary_*: also added his tests to the regression suite. Daniel
Daniel Veillard 20aa0fb4 2003-08-04T19:43:15 fixed a small problem in the patch for #118763 this reverts back to the * tree.c: fixed a small problem in the patch for #118763 * result/HTML/doc3.htm*: this reverts back to the previous result Daniel
Daniel Veillard 39057f40 2003-08-04T01:33:43 fixing HTML attribute serialization bug #118763 applying a modified * tree.c: fixing HTML attribute serialization bug #118763 applying a modified version of the patch from Bacek * result/HTML/doc3.htm*: this modifies the output from one test Daniel
Daniel Veillard 8d73bcb5 2003-08-04T01:06:15 added a new API to split a QName without generating any memory allocation * 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
Daniel Veillard a6874ca4 2003-07-29T16:47:24 applied Peter Jacobi encoding cleanup patch, and also avoided a possible * parser.c parserInternals.c tree.c: applied Peter Jacobi encoding cleanup patch, and also avoided a possible memory leak Daniel
Daniel Veillard 75eb1adc 2003-07-07T14:42:44 regenerated might fix includes problems with the Ipv6 support on solaris * NEWS doc/*: regenerated * nanoftp.c nanohttp.c: might fix includes problems with the Ipv6 support on solaris * tree.c: patch from Markus Keim about xmlHasNsProp() on attributes defined as #IMPLIED Daniel
Daniel Veillard e1326114 2003-06-05T09:32:20 applied a couple of patches from Mark Itzcovitz to handle saving back * tree.c: applied a couple of patches from Mark Itzcovitz to handle saving back "UTF-16" documents. Daniel
Daniel Veillard d72c7e33 2003-05-12T21:55:03 PI nodes in external subset were not freed :-\ fixes bug #112842 Daniel * tree.c: PI nodes in external subset were not freed :-\ fixes bug #112842 Daniel
Daniel Veillard a067e656 2003-05-01T08:03:46 fixed a problem with xmlUnlinkNode() for DTDs. Daniel * tree.c: fixed a problem with xmlUnlinkNode() for DTDs. Daniel
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 a880b124 2003-04-21T21:36:41 a lot of performance work especially the speed of streaming through the * 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
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 c00cda8c 2003-04-07T10:22:39 fixing bug #107129, removing excessive allocation and calls to *printf in * 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
Daniel Veillard 6560a42c 2003-03-27T21:25:38 two patches from James Bursa on the HTML parser and a typo reindenting, * HTMLparser.c tree.c: two patches from James Bursa on the HTML parser and a typo * xmlschemastypes.c: reindenting, fixing a memory access problem with dates. Daniel
Daniel Veillard 9adc0469 2003-03-24T18:39:54 some changes related to the new way of handling Result Value Tree, before * tree.c xpath.c: some changes related to the new way of handling Result Value Tree, before 2.5.5 Daniel
Daniel Veillard a1a9d041 2003-03-18T16:53:17 removed a warning more cleanup, added ENTITY and ENTITIES support * tree.c: removed a warning * xmlschemastypes.c: more cleanup, added ENTITY and ENTITIES support * check-relaxng-test-suite.py check-xsddata-test-suite.py: cleanup/improvements of the regression tests batch * test/relaxng/testsuite.xml: augmented libxml2 own testsuite Daniel
Daniel Veillard 7b72ee5c 2003-02-27T23:24:53 fixed a node dump crash on attributes fixed an URI test bug and get better * tree.c: fixed a node dump crash on attributes * test/xsdtest/xsdtest.xml test/xsdtest/xsdtest.xsl: fixed an URI test bug and get better output. Daniel
Daniel Veillard 3ebc7d43 2003-02-24T17:17:58 fixed xmlSetProp and al. when the node passed is not an element. fixed * tree.c: fixed xmlSetProp and al. when the node passed is not an element. * relaxng.c: fixed bugs 7.3 (though not complete) and memory leaks found 373 test schemas: 369 success 4 failures found 529 test instances: 525 success 4 failures * check-relaxng-test-suite.py: added memory debug reporting Daniel
Daniel Veillard c64b8e98 2003-02-24T11:47:13 some warning removal on Igor's patch seems I messed up with #106788 fix * uri.c parser.c: some warning removal on Igor's patch * tree.c: seems I messed up with #106788 fix * python/libxml.c: fixed some base problems when Python provides the resolver. * relaxng.c: fixed the interleave algorithm found 373 test schemas: 364 success 9 failures found 529 test instances: 525 success 4 failures the resulting failures are bug in the algorithm from 7.3 and lack of support for params Daniel
Daniel Veillard 0046c0fe 2003-02-23T13:52:30 another fix for nodeinfo in entities problem fixed bug #106788 from James * parser.c: another fix for nodeinfo in entities problem * tree.c entities.c: fixed bug #106788 from James Clark some spaces need to be serialized as character references. Daniel
Daniel Veillard d431074c 2003-02-18T21:12:46 float/double check bugfix exported a function for NMTOKEN validation add a * 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
Daniel Veillard 784b9358 2003-02-16T15:50:27 applied a patch from Kjartan Maraas to fix some typos Daniel * ChangeLog tree.c doc/libxml-doc.el doc/libxml2-api.xml: applied a patch from Kjartan Maraas to fix some typos Daniel
Daniel Veillard d2298791 2003-02-14T16:54:11 more testing on the Relax-NG front, cleaning up the regression tests * 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
Daniel Veillard fd7ce5f7 2003-02-10T16:12:39 trying to fix #104934 about some XHTML1 serialization issues. Daniel * tree.c: trying to fix #104934 about some XHTML1 serialization issues. Daniel
Daniel Veillard 6aa2f603 2003-02-10T00:01:56 fixing #105678 problem when dumping a namespace node. Daniel * tree.c: fixing #105678 problem when dumping a namespace node. Daniel
Daniel Veillard 71531f33 2003-02-05T13:19:53 comments cleanups use xmllint for doing the RelaxNG tests preparing 2.5.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
Daniel Veillard e5b110b3 2003-02-04T14:43:39 try to fix # 105049 a couple of changes and extensions updated a function * HTMLparser.c: try to fix # 105049 * relaxng.c xmlschemastypes.c: a couple of changes and extensions * tree.c: updated a function comment Daniel
Daniel Veillard 7424eb60 2003-01-24T14:14:52 applied a documentation patch from Stefan Kost Daniel * error.c parser.c tree.c: applied a documentation patch from Stefan Kost Daniel
Daniel Veillard 814a76db 2003-01-23T18:24:20 minimized the memory allocated for GetContent and a bit of cleanup. Daniel * tree.c: minimized the memory allocated for GetContent and a bit of cleanup. Daniel
Daniel Veillard 4dbe77a8 2003-01-14T00:17:42 fixed the streaming property of the reader, it was generating tree faster * xmlreader.c: fixed the streaming property of the reader, it was generating tree faster than consuming it. Pointed out by Nate Myers * tree.c: fixed a bug in xmlSaveFormatFileEnc if passed a NULL doc Daniel
Daniel Veillard 5ecaf7f9 2003-01-09T13:19:33 fixes #102920 about namespace handling in HTML output and section 16.2 * HTMLtree.c tree.c: fixes #102920 about namespace handling in HTML output and section 16.2 "HTML Output Method" of XSLT-1.0 * README: fixed a link Daniel
Daniel Veillard 8a1b1853 2003-01-05T22:37:17 applied patch from Lukas Schroeder for register callbacks modified patch * tree.c : applied patch from Lukas Schroeder for register callbacks * valid.c: modified patch from Lukas Schroeder to test register callbacks with --chkregister Daniel
Daniel Veillard 3c265e49 2003-01-01T21:06:49 backing out one change in the last patch which broke the regression tests * tree.c: backing out one change in the last patch which broke the regression tests Daniel
Daniel Veillard 5335dc52 2003-01-01T20:59:38 applied an old patch from Lukas Schroeder to track node creation and * global.data globals.c tree.c include/libxml/globals.h: applied an old patch from Lukas Schroeder to track node creation and destruction. Probably missing a lot of references at the moment and not usable reliably. Daniel
Daniel Veillard 2d84a894 2002-12-30T00:01:08 Fixed a really nasty problem raised by a DocBook XSLT transform provided * entities.c parser.c tree.c include/libxml/entities.h: Fixed a really nasty problem raised by a DocBook XSLT transform provided by Sebastian Bergmann Daniel
Daniel Veillard beb70bd3 2002-12-18T14:53:54 more work on the xml reader interfaces. updated Igor's mail and the Web * xmlreader.c include/libxml/xmlreader.h doc/libxml2-api.xml: more work on the xml reader interfaces. * AUTHORS MAINTAINERS doc/* win32/*: updated Igor's mail and the Web page for the Windows binaries. 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 e1ca5033 2002-12-09T14:13:43 Adding a new set of APIs based on the C# TextXmlReader API but converted * Makefile.am xmlreader.c include/libxml/Makefile.am include/libxml/xmlreader.h: Adding a new set of APIs based on the C# TextXmlReader API but converted to C. Allow to parse in constant memory usage, far simpler to program and explain than the SAX like APIs, unfinished but working. * testReader.c: test program Daniel
Daniel Veillard 64b35282 2002-12-04T15:10:40 Chip turner indicated that XHTML1 serialization rule for style actually * tree.c: Chip turner indicated that XHTML1 serialization rule for style actually break on both IE and Mozilla, try to avoid the rule if escaping ain't necessary Daniel
Daniel Veillard ebc4ca94 2002-11-27T11:43:05 refactored the XML dump of a node to a buffer API to reuse the generic * tree.c include/libxml/tree.h: refactored the XML dump of a node to a buffer API to reuse the generic dump to an OutputIO layer, this reduces code, fixes xmlNodeDump() for XHTML, also made xmlNodeDump() now return the number of byte written. Daniel
Daniel Veillard d5c2f92d 2002-11-21T14:10:52 modified the existing APIs to handle XHTML1 serialization rules * tree.c include/libxml/tree.h: modified the existing APIs to handle XHTML1 serialization rules automatically, also add xmlIsXHTML() to libxml2 API. Some tweaking to make sure libxslt serialization uses it when needed without changing the library API. * test/xhtml1 result/noent/xhtml1 result/valid/xhtml1.xhtml result/xhtml1: added a new test specifically for xhtml1 output and updated the result of one XHTML1 test Daniel
Daniel Veillard 8606bbbc 2002-11-12T12:36:52 fixed the initialization of the SAX structure which was breaking xsltproc * parserInternals.c: fixed the initialization of the SAX structure which was breaking xsltproc * xpath.c: patch from Petr Pajas for CDATA nodes * tree.c: patch from Petr Pajas improving xmlGetNodePath() * parser.c include/libxml/parser.h: patch from Peter Jones removing a leak in xmlSAXParseMemory() and adding the function xmlSAXParseMemoryWithData() Daniel
Daniel Veillard a70d62f2 2002-11-07T14:18:03 make xmlFreeNode() handle attributes correctly. Daniel * tree.c: make xmlFreeNode() handle attributes correctly. Daniel
Daniel Veillard ce66ce1a 2002-10-28T19:01:59 applied patch from Brian Stafford to fix a bug in xmlReconciliateNs() * tree.c: applied patch from Brian Stafford to fix a bug in xmlReconciliateNs() Daniel
Daniel Veillard 7e3f1400 2002-10-28T18:52:57 applied patch from Christian Glahn to allow xmlNewChild() on document * tree.c: applied patch from Christian Glahn to allow xmlNewChild() on document fragment nodes Daniel
Daniel Veillard e645e8c1 2002-10-22T17:35:37 Applied the VMS update patch from Craig A. Berry update Daniel * vms/build_libxml.com vms/config.vms vms/readme.vms include/libxml/parser.h include/libxml/parserInternals.h include/libxml/tree.h include/libxml/xmlIO.h HTMLparser.c catalog.c debugXML.c parser.c parserInternals.c tree.c triodef.h trionan.c uri.c xmlIO.c xpath.c: Applied the VMS update patch from Craig A. Berry * doc/*.html: update Daniel
Daniel Veillard 96c3a3bf 2002-10-14T15:39:04 investigating xmlNodeGetContent() on namespace nodes and removed a few * tree.c: investigating xmlNodeGetContent() on namespace nodes and removed a few warnings Daniel
Daniel Veillard 9dc1cf1d 2002-10-08T08:26:11 patch from Mark Vakoc to fix xmlNodeGetPath() Daniel * tree.c: patch from Mark Vakoc to fix xmlNodeGetPath() 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 0f04f8ed 2002-09-17T23:04:40 fixed another stupid bug in xmlGetNodePath() --version now report the * tree.c: fixed another stupid bug in xmlGetNodePath() * xmllint.c: --version now report the options compiled in Daniel
Daniel Veillard ec6725e9 2002-09-05T11:12:45 try to make the copy function work for node of type * tree.c: try to make the copy function work for node of type XML_DOCUMENT_FRAG_NODE, they are only created by the DOM layers though, not libxml2 itself. Daniel
Daniel Veillard c1a0da3c 2002-08-14T08:32:18 applied the same fix for the XML-1.0 namespace to xmlSearchNsByHref() as * tree.c: applied the same fix for the XML-1.0 namespace to xmlSearchNsByHref() as was done for xmlSearchNs() Daniel
Daniel Veillard 0bf2900b 2002-08-01T12:54:11 trying to fix a problem in namespaced attribute handling raised by * tree.c: trying to fix a problem in namespaced attribute handling raised by Christian Glahn Daniel
Daniel Veillard a57c26ec 2002-08-01T12:52:24 trying to fix a problem in namespaced attribute handling raised by * tree.c: trying to fix a problem in namespaced attribute handling raised by Christian Glahn Daniel
Daniel Veillard 6f46f6c5 2002-08-01T12:22:24 Opening the interface xmlNewCharEncodingHandler as requested in #89415 * encoding.c include/libxml/encoding.h: Opening the interface xmlNewCharEncodingHandler as requested in #89415 * python/generator.py python/setup.py.in: applied cleanup patches from Marc-Andre Lemburg * tree.c: fixing bug #89332 on a specific case of loosing the XML-1.0 namespace on xml:xxx attributes Daniel