Sun Sep 4 23:36:45 CEST 2005 Daniel Veillard * NEWS elfgcchack.h testapi.c doc/*: updated the docs and rebuild releasing 2.6.21 * include/libxml/threads.h threads.c: removed xmlIsThreadsEnabled() * threads.c include/libxml/threads.h xmllint.c: added the more generic xmlHasFeature() as suggested by Bjorn Reese, xmllint uses it. Sun Sep 4 22:45:49 CEST 2005 Daniel Veillard * configure.in doc/* configure.in: prepare for release * xpath.c: work for #303289, fix a formatting bug for MIN_INT Sun Sep 4 15:48:57 CEST 2005 Daniel Veillard * relaxng.c: real fix for #314881 and #314759 is was a bit more complex than initially expected as ctxt->error == NULL had behaviour side effects at the compilation level itself. Sun Sep 4 14:01:00 CEST 2005 Daniel Veillard * pattern.c xpath.c include/libxml/pattern.h: fixing yet another pattern induced XPath bug #314282 * relaxng.c: reverted back last change it was seriously broken Sat Sep 3 16:51:55 CEST 2005 Rob Richards * xmlsave.c: check for NULL to prevent crash with meta elements Sat Sep 3 16:26:55 CEST 2005 Daniel Veillard * relaxng.c: structured error reporting problem with Relax-NG should fix #314881 and #314759 Sat Sep 3 15:42:29 CEST 2005 Daniel Veillard * pattern.c: fixes a portability problem raised by C370 on Z/OS Sat Sep 3 15:26:31 CEST 2005 Daniel Veillard * SAX2.c tree.c valid.c: fixing a number of issues raised by xml:id but more generally related to attributes and ID handling, fixes #314358 among other things Fri Sep 2 14:26:43 CEST 2005 Daniel Veillard * encoding.c parserInternals.c: avoid passing a char[] as snprintf first argument. * threads.c include/libxml/threads.h: implemented xmlIsThreadsEnabled() based on Andrew W. Nosenko idea. * doc/* elfgcchack.h: regenerated the API Thu Sep 1 14:44:42 CEST 2005 Daniel Veillard * configure.in: the use of AM_PATH_PYTHON is not portable enough reverting back to AM_PATH_PROG Thu Sep 1 11:42:39 CEST 2005 Daniel Veillard * HTMLparser.c: Applied the last patch from Gary Coady for #304637 changing the behaviour when text nodes are found in body * result/HTML/*: this changes the output of some tests Thu Sep 1 11:22:37 CEST 2005 Daniel Veillard * doc/downloads.html doc/xml.html: adding reference to Bull AIX rpms c.f. #160598 Wed Aug 31 11:39:02 CEST 2005 Daniel Veillard * xml2-config.in: removed the obsolete --libtool-libs option, c.f. bug #314853 Fri Aug 26 17:33:26 CEST 2005 Rob Richards * xmlsave.c: move handling of meta element for http-equiv in XHTML docs to serialization and no longer modify internal tree. Fri Aug 26 00:51:58 CEST 2005 Daniel Veillard * libxml.spec.in: the profiling usually don't work, disabled * doc/*: rebuilt Thu Aug 25 23:47:55 CEST 2005 Daniel Veillard * configure.in: trying to fix the first part of #310033 by detecting gcc <= 3.2 Thu Aug 25 22:13:37 CEST 2005 Daniel Veillard * error.c: fixed bug #310033, the URI extraction code given a node is a bit twisted and broke in the last months. Thu Aug 25 16:18:15 CEST 2005 Daniel Veillard * debugXML.c result/XPath/xptr/strrange2: uninitialized field and fix on test. Thu Aug 25 16:03:05 CEST 2005 Daniel Veillard * debugXML.c: change verbosity depending on API * result/XPath/tests/* result/XPath/xptr/* result/xmlid/*: get back to previous outputs Thu Aug 25 15:14:56 CEST 2005 Daniel Veillard * HTMLparser.c parser.c SAX2.c debugXML.c tree.c valid.c xmlreader.c xmllint.c include/libxml/HTMLparser.h include/libxml/parser.h: added a parser XML_PARSE_COMPACT option to allocate small text nodes (less than 8 bytes on 32bits, less than 16bytes on 64bits) directly within the node, various changes to cope with this. * result/XPath/tests/* result/XPath/xptr/* result/xmlid/*: this slightly change the output Thu Aug 25 12:16:26 CEST 2005 Daniel Veillard * configure.in: patch from Andrew W. Nosenko, use se $GCC = 'yes' instead of $CC = 'gcc' because GCC may have a different name Thu Aug 25 00:18:20 CEST 2005 Daniel Veillard * configure.in: changes the way the python binary is found, should also fix bug #308004 Wed Aug 24 16:44:41 CEST 2005 Daniel Veillard * parser.c: found another bug while looking at #309616 on missing entities. * result/ent2.sax* result/ent7.sax* result/xml2.sax*: this changed the SAX stream in missing conditions for a few tests Wed Aug 24 16:19:00 CEST 2005 Daniel Veillard * encoding.c: applied the patch suggested #309565 which can avoid looping in error conditions. Wed Aug 24 16:04:17 CEST 2005 Daniel Veillard * SAX2.c tree.c: line numbers are now carried by most nodes, fixing xmlGetLineNo() c.f. bug #309205 Wed Aug 24 14:43:34 CEST 2005 Daniel Veillard * encoding.c error.c include/libxml/xmlerror.h: finally converted the encoding module to the common error reporting mechanism * doc/* doc/html/libxml-xmlerror.html: rebuilt Wed Aug 24 11:35:26 CEST 2005 Daniel Veillard * xpath.c: removed a potentially uninitialized variable error * python/generator.py: fixed a deprecation warning * python/tests/tstLastError.py: silent the damn test when Okay ! Wed Aug 24 00:11:16 CEST 2005 Daniel Veillard * SAX2.c globals.c runtest.c testC14N.c testapi.c tree.c include/libxml/SAX2.h include/libxml/xmlregexp.h: fixed compilation when configured --without-sax1 and other cleanups fixes bug #172683 * doc/* elfgcchack.h: regenerated Tue Aug 23 20:05:05 CEST 2005 Daniel Veillard * parser.c: fixed bug #170489 reported by Jirka Kosek * test/valid/objednavka.xml test/valid/dtds/objednavka.dtd result/valid/objednavka*: added the test to the regression suite. Tue Aug 23 18:04:08 CEST 2005 Daniel Veillard * HTMLparser.c include/libxml/HTMLparser.h: added a recovery mode for the HTML parser based on the suggestions of bug #169834 by Paul Loberg Tue Aug 23 15:38:46 CEST 2005 Daniel Veillard * 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. Mon Aug 22 23:19:50 CEST 2005 Daniel Veillard * 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 Mon Aug 22 18:00:18 CEST 2005 Daniel Veillard * xmlschemastypes.c: applied patch from Kuba Nowakowski fixing bug #313982 * result/schemas/bug313982* test/schemas/bug313982*: also added the test case to the regression suite. Mon Aug 22 17:50:20 CEST 2005 Daniel Veillard * testRegexp.c: printed the wrong string Mon Aug 22 16:42:07 CEST 2005 Daniel Veillard * testRegexp.c xmlregexp.c include/libxml/xmlregexp.h: exported xmlExpExpDerive(), added it to the testRegexp command line tool when providing multiple expressions. Mon Aug 22 14:57:13 CEST 2005 Daniel Veillard * Makefile.am result/expr/base test/expr/base: added the first regression test suite set for the new expression support Mon Aug 22 13:49:18 CEST 2005 Daniel Veillard * 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 Mon Aug 22 12:11:10 CEST 2005 Kasimier Buchcik * xmlschemas.c: Some preparation for the creation of a graph of imported/included/redefined schemas; this is needed for at least the redefinitions. Centralized the creation of the parser context in one function. Mon Aug 22 02:19:33 CEST 2005 Daniel Veillard * 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. Sat Aug 20 23:13:27 CEST 2005 Daniel Veillard * xmlreader.c: applied another patch from Rob Richards to fix xmlTextReaderGetAttributeNs and xmlTextReaderMoveToAttributeNs Wed Aug 17 09:06:33 CEST 2005 Daniel Veillard * xmlreader.c: applied patch from Rob Richards to fix xmlTextReaderGetAttribute behaviour with namespace declarations Fri Aug 12 14:12:56 CEST 2005 Kasimier Buchcik * xmlschemas.c include/libxml/xmlerror.h: Changed output for keyref-match errors; the target-node will be now reported rather than the scope-node of the keyref definition - allowing easier chasing of instance errors. This was reported by Guy Fabrice to the mailing list. Some initial parsing code for schema redefinitions. * result/schemas/bug303566_1_1.err result/schemas/bug312957_1_0.err: Adapted test results due to the keyref changes. Fri Aug 12 12:17:52 CEST 2005 Daniel Veillard * valid.c: applied patch from Derek Poon fixing bug #310692 Wed Aug 10 23:39:02 CEST 2005 Daniel Veillard * xmlschemas.c: fix for bug #312945 as pointed by Dean Hill, the context type was not always properly initialized. Wed Aug 10 18:21:41 CEST 2005 Daniel Veillard * 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. Wed Aug 10 15:25:53 CEST 2005 Daniel Veillard * xinclude.c: fixed bug #302302, nasty but the fix is rather simple. Wed Aug 10 11:59:46 CEST 2005 Kasimier Buchcik * result/schemas/any6_1_0*: Added missing test results. Tue Aug 9 23:37:22 CEST 2005 Daniel Veillard * 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 Tue Aug 9 15:54:09 CEST 2005 Kasimier Buchcik * test/schemas/any7_2.xml test/schemas/any6_2.xsd test/schemas/any8_1.xsd test/schemas/any8_0.xml: Added some more tests for element wildcards. Tue Aug 9 14:22:47 CEST 2005 Kasimier Buchcik * xmlschemas.c: Fixed #312957 reported by Carol Hunter: streaming XPath states were not popped in every case, thus failed to resolve correctly for subsequent input. * test/schemas/bug312957* result/schemas/bug312957*: Added the test submitted by Carol Hunter. Tue Aug 9 13:07:27 CEST 2005 Daniel Veillard * 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 Mon Aug 8 22:33:08 CEST 2005 Daniel Veillard * nanoftp.c nanohttp.c xmlschemastypes.c: applied patch from Marcus Boerger to remove warnings on Windows. Mon Aug 8 16:43:04 CEST 2005 Daniel Veillard * xmlsave.c include/libxml/xmlsave.h: fixed #145092 by adding an xmlSaveOption to omit XML declaration Mon Aug 8 15:44:54 CEST 2005 Daniel Veillard * HTMLtree.c: fixed bug #310333 with a patch close to the provided patch for HTML UTF-8 serialization * result/HTML/script2.html: this changed the output of that test Mon Aug 8 15:01:51 CEST 2005 Daniel Veillard * 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. Mon Aug 8 14:40:52 CEST 2005 Kasimier Buchcik * xmlschemas.c: Fixed a memory leak: xmlSchemaFreeAnnot() was only freeing the first annotation in the list. Mon Aug 8 09:44:34 CEST 2005 Daniel Veillard * xmlreader.c: applied patch from Rob Richards fixing xmlTextReaderGetAttribute Mon Aug 8 01:41:53 CEST 2005 Daniel Veillard * HTMLparser.c: fixed an uninitialized memory access spotted by valgrind Sun Aug 7 12:39:35 CEST 2005 Daniel Veillard * test/relaxng/docbook_0.xml: get rid of the dependancy on a locally installed DTD * uri.c include/libxml/uri.h xmlIO.c nanoftp.c nanohttp.c: try to cleanup the Path/URI conversion mess, needed fixing in various layers and a new API to the uri module which also fixes #306861 * runtest.c: integrated a regression test specific to check the URI conversions done before calling the I/O handlers. Sat Aug 6 11:06:24 CEST 2005 Daniel Veillard * doc/XSLT.html doc/xml.html: small doc fix for #312647 Tue Aug 2 13:26:42 CEST 2005 Daniel Veillard * win32/configure.js: applied patch from Rob Richards to allow disabling modules in win32, fixes #304071 Mon Aug 1 07:18:53 CEST 2005 Daniel Veillard * python/libxml.c: applied fix from Jakub Piotr Clapa for xmlAttr.parent(), closing #312181 Sun Jul 31 18:48:55 CEST 2005 Daniel Veillard * schematron.c: report improvement * test/schematron/zvon* result/schematron/zvon*: more tests Sun Jul 31 16:02:59 CEST 2005 Daniel Veillard * win32/Makefile.msvc win32/configure.js: applied patch from Rob Richards to add schematron to the build on Windows * test/schematron/zvon3* result/schematron/zvon3*: second test * test/schematron/zvon10* result/schematron/zvon10*: this is the real second test 10 and 2 are swapped. Sun Jul 31 15:42:31 CEST 2005 Daniel Veillard * schematron.c: more bug fixes, improve the error reporting. * test/schematron/zvon2* result/schematron/zvon2*: second test Sun Jul 31 14:15:31 CEST 2005 Daniel Veillard * schematron.c xmllint.c: fixing the loop bug, fixing schematron text error rendering * Makefile.am result/schematron/* test/schematron/zvon1*.sct: started integrating within "make tests" Sat Jul 30 17:26:58 EDT 2005 Daniel Veillard * test/schematron/*: a few first tests from Zvon unfortunately with the old syntax Sat Jul 30 17:08:07 EDT 2005 Daniel Veillard * schematron.c xmllint.c include/libxml/schematron.h: commiting work done on the plane last week-end Sat Jul 30 15:16:29 CEST 2005 Daniel Veillard * 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 Sat Jul 30 00:00:46 CEST 2005 Daniel Veillard * Makefile.am globals.c parserInternals.c xmlreader.c xmlunicode.c xmlwriter.c: more cleanups based on sparse reports, added "make sparse" Fri Jul 29 12:11:25 CEST 2005 Daniel Veillard * python/libxml.c: don't output any message on failed resolver lookups, better done by the python user provided resolver layer. Fri Jul 29 01:48:02 CEST 2005 Daniel Veillard * 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. Thu Jul 28 21:28:33 CEST 2005 Daniel Veillard * include/libxml/Makefile.am: added schematron.h, oops ... Thu Jul 28 02:38:21 CEST 2005 Kasimier Buchcik * xmlschemastypes.c: Added creation of the content type of xs:anyType. This is needed when trying to extend xs:anyType (although it makes no sense to extend it; IMHO the schema people should have ruled this out). This was reported by Yong Chen to the mailing list. * xmlschemas.c: Fixed handling of xs:anyType in xmlSchemaCheckCOSCTExtends() (reported by Young Chen). Tiny adjustment to an error report output. * test/schemas/extension2* result/schemas/extension2*: Added a test case provided by Young Chen. Mon Jul 25 11:41:18 PDT 2005 William Brack * uri.c: enhanced xmlBuildRelativeURI to allow the URI and the base to be in "relative" form Sun Jul 24 10:25:41 EDT 2005 Daniel Veillard * schematron.c xmllint.c: started adding schematron to the xmllint tool, the report infrastructure is gonna be fun. Sat Jul 23 23:23:51 CEST 2005 Kasimier Buchcik * test/schemas/any6* test/schemas/any7*: Added regression tests (they fail currently), but did not added results yet. Sat Jul 23 23:07:05 CEST 2005 Kasimier Buchcik * xmlschemas.c: Removed the workaround code in xmlSchemaValidateElemWildcard() for the wildcard with namespace == ##other. Support for such wildcards was implemented by Daniel at the automaton level recently, and the workaround code iterfered with it. Sat Jul 23 10:55:50 EDT 2005 Daniel Veillard * pattern.c include/libxml/pattern.h: changed xmlPatterncompile signature to pass an int and not an enum since it can generate ABI compat troubles. * include/libxml/schematron.h schematron.c: adding the new schematron code, work in progress lots to be left and needing testing * include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h.in Makefile.am configure.in: integration of schematron into the build * xpath.c include/libxml/xpath.h: adding flags to control compilation options right now just XML_XPATH_CHECKNS. Sat Jul 23 16:39:35 CEST 2005 Kasimier Buchcik * xmlschemas.c: Removed an "internal error" message from xmlSchemaBuildAContentModel() when an empty model group definition is hit. Sat Jul 23 00:34:07 CEST 2005 Kasimier Buchcik * pattern.c: Changed xmlCompileStepPattern() and xmlCompileAttributeTest() to handle the "xml" prefix without caring if the XML namespace was supplied by the user. Fri Jul 22 00:08:43 CEST 2005 Kasimier Buchcik * xmlschemas.c: Fixed xmlSchemaPSimpleTypeErr(), which did not output the given string arguments correctly. Thu Jul 21 09:21:00 EDT 2005 Daniel Veillard * error.c globals.c parser.c runtest.c testHTML.c testSAX.c threads.c valid.c xmllint.c xmlreader.c xmlschemas.c xmlstring.c xmlwriter.c include/libxml/parser.h include/libxml/relaxng.h include/libxml/valid.h include/libxml/xmlIO.h include/libxml/xmlerror.h include/libxml/xmlexports.h include/libxml/xmlschemas.h: applied a patch from Marcus Boerger to fix problems with calling conventions on Windows this should fix #309757 Wed Jul 20 14:45:39 CEST 2005 Daniel Veillard * parser.c: an optimization of the char data inner loop, can gain up to 10% in pure SAX2 parsing speed * xmlschemas.c: applied patch from Kupriyanov Anatolij fixing a bug in XML Schemas facet comparison #310893 Tue Jul 19 17:27:26 CEST 2005 Daniel Veillard * 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 Tue Jul 19 15:34:12 CEST 2005 Daniel Veillard * 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. Tue Jul 19 12:33:31 CEST 2005 Daniel Veillard * tree.c: applied patch from Alexander Pohoyda fixing xmlGetNodePath on namespaced attributes #310417. Mon Jul 18 23:01:15 CEST 2005 Daniel Veillard * doc/xmllint.1 doc/xmllint.html doc/xmllint.xml: --nonet was ducplicated Mon Jul 18 20:49:28 CEST 2005 Daniel Veillard * xmlschemas.c: fixed xsd:all when used in conjunction with substitution groups * test/schemas/allsg_* result/schemas/allsg_*: adding specific regression tests, strangely missing from NIST/Sun/Microsoft testsuites Sun Jul 17 07:11:27 CEST 2005 Daniel Veillard * xmlschemas.c: fixed bug #307508, a bad automata was built but this showed as an indeterminist result Thu Jul 14 17:53:02 CEST 2005 Daniel Veillard * xmlschemastypes.c: found the last bug raised by NIST tests in comparing base64 strings, result from runsuite: ## NIST test suite for Schemas version NIST2004-01-14 Ran 23170 tests (3953 schemata), no errors Thu Jul 14 14:57:36 CEST 2005 Daniel Veillard * testRegexp.c: fixed where xmlMemoryDump() should be called. * xmlregexp.c: fixed handling of {0}, \n, \r and \t, two bugs affecting NIST regression tests Thu Jul 14 11:30:24 CEST 2005 Daniel Veillard * configure.in: applied a patch from Gerrit P. Haase to add module support on cygwin Thu Jul 14 10:56:42 CEST 2005 Daniel Veillard * HTMLparser.c: fixed a potential buffer overrun error introduced on last commit to htmlParseScript() c.f. #310229 Thu Jul 14 23:48:17 PDT 2005 William Brack * xpath.c: Changed the behaviour of xmlXPathEqualNodeSetFloat to return TRUE if a nodeset with a numeric value of NaN is compared for inequality with any numeric value (bug 309914). Thu Jul 14 01:03:03 CEST 2005 Daniel Veillard * 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. Wed Jul 13 18:35:47 CEST 2005 Daniel Veillard * HTMLparser.c: applied UTF-8 script parsing bug #310229 fix from Jiri Netolicky * result/HTML/script2.html* test/HTML/script2.html: added the test case from the regression suite Tue Jul 12 17:08:11 CEST 2005 Daniel Veillard * nanohttp.c: fixed bug #310105 with http_proxy environments with patch provided by Peter Breitenlohner