baserock-morphs:libxml2.git
14 years agoBRANCH release for 2.5.x critical patches LIBXML2_2_5_X LIBXML2_2_5_11
Daniel Veillard [Tue, 9 Sep 2003 10:26:24 +0000 (10:26 +0000)]
BRANCH release for 2.5.x critical patches
* configure.in: preparing libxml2-2.5.11 release
* globals.c threads.c: patching crashes in multithreaded applications
  c.f. #121772 #121576
* relaxng.c: patching a possible crash in Relax-NG
Daniel

14 years agopreparing libxml2-2.5.10 release updated the doc and rebuilt Daniel LIBXML2_2_5_10 LIBXML2_2_5_x
Daniel Veillard [Fri, 15 Aug 2003 00:33:43 +0000 (00:33 +0000)]
preparing libxml2-2.5.10 release updated the doc and rebuilt Daniel

* News configure.in: preparing libxml2-2.5.10 release
* doc/* : updated the doc and rebuilt
Daniel

14 years agofixing the xmlSAXParseDTD bug #119536 raised by Malcolm Tredinnick with
Daniel Veillard [Thu, 14 Aug 2003 23:57:26 +0000 (23:57 +0000)]
fixing the xmlSAXParseDTD bug #119536 raised by Malcolm Tredinnick with

* parser.c: fixing the xmlSAXParseDTD bug #119536 raised by
  Malcolm Tredinnick with the patch he suggested.
Daniel

14 years agoallocation error #119784 raised by Oliver Stoeneberg Daniel
Daniel Veillard [Thu, 14 Aug 2003 23:39:01 +0000 (23:39 +0000)]
allocation error #119784 raised by Oliver Stoeneberg Daniel

* HTMLparser.c: allocation error #119784 raised by Oliver Stoeneberg
Daniel

14 years agofixing an use of strcpy() where both strings overlap pointed out by
Daniel Veillard [Thu, 14 Aug 2003 22:44:25 +0000 (22:44 +0000)]
fixing an use of strcpy() where both strings overlap pointed out by

* uri.c: fixing an use of strcpy() where both strings overlap
  pointed out by valgrind.
Daniel

14 years agoget rid of some compilation warnings. fix the performance problem reported
Daniel Veillard [Thu, 14 Aug 2003 15:44:40 +0000 (15:44 +0000)]
get rid of some compilation warnings. fix the performance problem reported

* 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

14 years agoapplied UTF-16 encoding handling patch provided by Mark Itzcovitz more
Daniel Veillard [Thu, 14 Aug 2003 12:19:54 +0000 (12:19 +0000)]
applied UTF-16 encoding handling patch provided by Mark Itzcovitz more

* 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

14 years agoCorrected bug tracking modules to look for libxml2 not libxml, Daniel
Daniel Veillard [Thu, 14 Aug 2003 10:48:38 +0000 (10:48 +0000)]
Corrected bug tracking modules to look for libxml2 not libxml, Daniel

14 years agoApplied patch from Mikhail Grushinskiy for mingw compiler on Windows.
Daniel Veillard [Thu, 14 Aug 2003 01:23:25 +0000 (01:23 +0000)]
Applied patch from Mikhail Grushinskiy for mingw compiler on Windows.

* Makefile.am configure.in example/Makefile.am libxml.h nanoftp.c
  nanohttp.c xmllint.c: Applied patch from Mikhail Grushinskiy for
  mingw compiler on Windows.
Daniel

14 years agofixed the serious CPU usage problem reported by Grant Goodale applied
Daniel Veillard [Thu, 14 Aug 2003 00:33:46 +0000 (00:33 +0000)]
fixed the serious CPU usage problem reported by Grant Goodale applied

* parser.c: fixed the serious CPU usage problem reported by
  Grant Goodale
* HTMLparser.c: applied patch from Oliver Kidman about a free
  missing in htmlSAXParseDoc
Daniel

14 years agoRemoved dependency from libxml2.def.src
William M. Brack [Wed, 13 Aug 2003 14:50:18 +0000 (14:50 +0000)]
Removed dependency from libxml2.def.src

* doc/Makefile.am: Removed dependency from libxml2.def.src

14 years agotook away the requirement for automake-1.4, changed the messages for
William M. Brack [Wed, 13 Aug 2003 11:09:42 +0000 (11:09 +0000)]
took away the requirement for automake-1.4, changed the messages for

* autogen.sh: took away the requirement for automake-1.4,
  changed the messages for getting auto* tools to current
  gnu pages.
* configure.in, configure: added check for Linux Dec alpha
  requiring -ieee flag, fixed test for ipv6
* trionan.c: fixed problem for compiling on Linux Dec alpha
  using native compiler
* doc/Makefile.am: implemented regeneration of win32/libxml2.def.src
  whenever libxml2-api.xml is changed.

14 years agocleaning up a problem when parsing UTF-16 and libiconv is not used. Daniel
Daniel Veillard [Mon, 11 Aug 2003 15:03:34 +0000 (15:03 +0000)]
cleaning up a problem when parsing UTF-16 and libiconv is not used. Daniel

* parser.c: cleaning up a problem when parsing UTF-16 and libiconv
  is not used.
Daniel

14 years agorenerated with fixed libxml2-api.xml
William M. Brack [Sun, 10 Aug 2003 00:14:20 +0000 (00:14 +0000)]
renerated with fixed libxml2-api.xml

* win32/libxml2.def.src: renerated with fixed libxml2-api.xml

14 years agopreparing libxml2-2.5.9 release updated the doc and rebuilt Daniel LIBXML2_2_5_9
Daniel Veillard [Sat, 9 Aug 2003 22:24:09 +0000 (22:24 +0000)]
preparing libxml2-2.5.9 release updated the doc and rebuilt Daniel

* News configure.in: preparing libxml2-2.5.9 release
* doc/* : updated the doc and rebuilt
Daniel

14 years agochanging an enum definition to get a correct API XML description. This was
Daniel Veillard [Sat, 9 Aug 2003 18:01:53 +0000 (18:01 +0000)]
changing an enum definition to get a correct API XML description. This was

* 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

14 years agofixed a nasty bug #119387, bad heuristic from the progressive HTML parser
Daniel Veillard [Sat, 9 Aug 2003 11:44:50 +0000 (11:44 +0000)]
fixed a nasty bug #119387, bad heuristic from the progressive HTML parser

* HTMLparser.c: fixed a nasty bug #119387, bad heuristic from
  the progressive HTML parser front-end on large character data
  island leading to an erroneous end of data detection by the
  parser. Some cleanup too to get closer from the XML progressive
  parser.
Daniel

14 years agoAdded in support for the ISO8859X module (patch provided by Jesse Pelton)
William M. Brack [Fri, 8 Aug 2003 16:40:36 +0000 (16:40 +0000)]
Added in support for the ISO8859X module (patch provided by Jesse Pelton)

* win32/configure.js: Added in support for the ISO8859X
  module (patch provided by Jesse Pelton)

14 years agohum try to avoid some troubles when the library is not initialized and one
Daniel Veillard [Fri, 8 Aug 2003 14:00:28 +0000 (14:00 +0000)]
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

14 years agoBug 119343 (with apologies to Igor) - Enhanced handling of docb and
William M. Brack [Fri, 8 Aug 2003 10:53:06 +0000 (10:53 +0000)]
Bug 119343 (with apologies to Igor) - Enhanced handling of docb and

* win32/defgen.xsl, win32/libxml2.def.src: Bug 119343
(with apologies to Igor) - Enhanced handling of docb and
nanohttp.

14 years agofurther small changes for warnings when configured with --with-iconv=no
William M. Brack [Thu, 7 Aug 2003 13:12:49 +0000 (13:12 +0000)]
further small changes for warnings when configured with --with-iconv=no

* encoding.c: further small changes for warnings when
  configured with --with-iconv=no

14 years agofurther small changes to elminate most of the remaining warnings.
William M. Brack [Wed, 6 Aug 2003 04:43:55 +0000 (04:43 +0000)]
further small changes to elminate most of the remaining warnings.

* error.c trionan.[ch] testThreads.c python/generator.py:
  further small changes to elminate most of the remaining
  warnings.

14 years agosmall changes to syntax to get rid of compiler warnings. No changes to
William M. Brack [Tue, 5 Aug 2003 15:52:22 +0000 (15:52 +0000)]
small changes to syntax to get rid of compiler warnings. No changes to

* 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.

14 years agorebuilt the API and docs. Daniel
Daniel Veillard [Mon, 4 Aug 2003 20:42:34 +0000 (20:42 +0000)]
rebuilt the API and docs. Daniel

* doc/libxml2-api.xml doc/html/*: rebuilt the API and docs.
Daniel

14 years agofixed a small problem in the patch for #118763 this reverts back to the
Daniel Veillard [Mon, 4 Aug 2003 19:43:15 +0000 (19:43 +0000)]
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

14 years agoapplied doc patch to xml.html and rebuilt, apparently some C++ wrappers
Daniel Veillard [Mon, 4 Aug 2003 01:43:07 +0000 (01:43 +0000)]
applied doc patch to xml.html and rebuilt, apparently some C++ wrappers

* doc/FAQ.html doc/xml.html: applied doc patch to xml.html
  and rebuilt, apparently some C++ wrappers are not available,
  c.f. bug #118943
Daniel

14 years agofixing HTML attribute serialization bug #118763 applying a modified
Daniel Veillard [Mon, 4 Aug 2003 01:33:43 +0000 (01:33 +0000)]
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

14 years agoadded a new API to split a QName without generating any memory allocation
Daniel Veillard [Mon, 4 Aug 2003 01:06:15 +0000 (01:06 +0000)]
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

14 years agotrying to fix #118754 of possible recursion in the catalogs. Not
Daniel Veillard [Mon, 4 Aug 2003 00:58:46 +0000 (00:58 +0000)]
trying to fix #118754 of possible recursion in the catalogs. Not

* catalog.c: trying to fix #118754 of possible recursion in the
  catalogs. Not fantastically happy about the current fix since
  it's likely to break under very thread intensive concurrent
  access to the catalog. Better solution might to keep the depth
  an extra argument to the resolution functions.
Daniel

14 years agofixed bug #118712 about mixed content, and namespaced element names. added
Daniel Veillard [Sun, 3 Aug 2003 22:58:54 +0000 (22:58 +0000)]
fixed bug #118712 about mixed content, and namespaced element names. added

* valid.c: fixed bug #118712 about mixed content, and namespaced
  element names.
* test/valid/mixed_ns.xml result/valid/mixed_ns*: added a check
  in the regression tests
Daniel

14 years ago=Bug 118559 (continued)
William M. Brack [Fri, 1 Aug 2003 15:55:39 +0000 (15:55 +0000)]
=Bug 118559 (continued)

14 years agofixing bug 118559
William M. Brack [Thu, 31 Jul 2003 14:47:38 +0000 (14:47 +0000)]
fixing bug 118559

14 years agoapplied a patch from William Brack about the problem of parsing very large
Daniel Veillard [Wed, 30 Jul 2003 18:59:19 +0000 (18:59 +0000)]
applied a patch from William Brack about the problem of parsing very large

* HTMLparser.c: applied a patch from William Brack about
  the problem of parsing very large HTML instance with comments
  as raised by Nick Kew
Daniel

14 years agoapplying cleanup patch from Bjorn Reese for xmlTextReaderNodeType() and
Daniel Veillard [Wed, 30 Jul 2003 16:37:18 +0000 (16:37 +0000)]
applying cleanup patch from Bjorn Reese for xmlTextReaderNodeType() and

* 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

14 years agoapplying patch from Peter Jacobi to added ISO-8859-x encoding support when
Daniel Veillard [Wed, 30 Jul 2003 15:12:01 +0000 (15:12 +0000)]
applying patch from Peter Jacobi to added ISO-8859-x encoding support when

* 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

14 years agopatch from Joachim Bauch + cleanup for Relax NG error callbacks in python
Daniel Veillard [Tue, 29 Jul 2003 20:44:53 +0000 (20:44 +0000)]
patch from Joachim Bauch + cleanup for Relax NG error callbacks in python

* python/generator.py python/libxml.c python/libxml2class.txt:
  patch from Joachim Bauch + cleanup for Relax NG error callbacks
  in python
Daniel

14 years agoapplied Peter Jacobi encoding cleanup patch, and also avoided a possible
Daniel Veillard [Tue, 29 Jul 2003 16:47:24 +0000 (16:47 +0000)]
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

14 years agofix the previous commit Daniel
Daniel Veillard [Tue, 29 Jul 2003 13:30:42 +0000 (13:30 +0000)]
fix the previous commit Daniel

* encoding.c: fix the previous commit
Daniel

14 years agofixed problem with comments reported by Nick Kew added routines
William M. Brack [Tue, 29 Jul 2003 04:28:04 +0000 (04:28 +0000)]
fixed problem with comments reported by Nick Kew added routines

* HTMLparser.c: fixed problem with comments reported by Nick Kew
* encoding.c: added routines xmlUTF8Size and xmlUTF8Charcmp for
  some future cleanup of UTF8 handling

14 years agoapplied a change suggested by Sean Griffin in bug #118494 about a memory
Daniel Veillard [Mon, 28 Jul 2003 20:40:59 +0000 (20:40 +0000)]
applied a change suggested by Sean Griffin in bug #118494 about a memory

* xpath.c: applied a change suggested by Sean Griffin in bug
  #118494 about a memory leak in EXSLT
Daniel

14 years agofixed a Relax-NG compilation/streaming bug introduced when fixing the
Daniel Veillard [Mon, 28 Jul 2003 13:02:24 +0000 (13:02 +0000)]
fixed a Relax-NG compilation/streaming bug introduced when fixing the

* 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

14 years agodoc/tutorial/apa.html doc/tutorial/apb.html doc/tutorial/apc.html
MDT 2003 John Fleck [Thu, 24 Jul 2003 21:48:30 +0000 (21:48 +0000)]
doc/tutorial/apa.html doc/tutorial/apb.html doc/tutorial/apc.html

Thu Jul 24 15:46:02 MDT 2003 John Fleck <jfleck@inkstain.net>

* doc/tutorial/apa.html
* doc/tutorial/apb.html
* doc/tutorial/apc.html
* doc/tutorial/apd.html
* doc/tutorial/ape.html
* doc/tutorial/apf.html
* doc/tutorial/apg.html
* doc/tutorial/aph.html
* doc/tutorial/ar01s02.html
* doc/tutorial/ar01s03.html
* doc/tutorial/ar01s04.html
* doc/tutorial/ar01s05.html
* doc/tutorial/ar01s06.html
* doc/tutorial/ar01s07.html
* doc/tutorial/ar01s08.html
* doc/tutorial/index.html
* doc/tutorial/ix01.html
* doc/tutorial/xmltutorial.pdf
* doc/tutorial/xmltutorial.xml
update tutorial with XPath example

14 years agofixing a bug about a special case of namespace handling, this closes bug
Daniel Veillard [Thu, 24 Jul 2003 16:08:28 +0000 (16:08 +0000)]
fixing a bug about a special case of namespace handling, this closes bug

* SAX.c parser.c: fixing a bug about a special case of namespace
  handling, this closes bug #116841
Daniel

14 years agoFixing some uppercase fragment identifier pointing to generated docs, Daniel
Daniel Veillard [Thu, 24 Jul 2003 13:09:13 +0000 (13:09 +0000)]
Fixing some uppercase fragment identifier pointing to generated docs, Daniel

14 years agochecked and fixed the compilation of RNG schemas, fixes a couple of bugs
Daniel Veillard [Wed, 23 Jul 2003 19:56:29 +0000 (19:56 +0000)]
checked and fixed the compilation of RNG schemas, fixes a couple of bugs

* 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

14 years agofixed an out of bound error #118052 , the good part if that base64 code
Daniel Veillard [Wed, 23 Jul 2003 15:07:08 +0000 (15:07 +0000)]
fixed an out of bound error #118052 , the good part if that base64 code

* xmlreader.c: fixed an out of bound error #118052 , the good
  part if that base64 code was not in use yet ...
Daniel

14 years agodoc/xmllint.html include html version of the xmllint man page, so an
MDT 2003 John Fleck [Wed, 23 Jul 2003 01:43:53 +0000 (01:43 +0000)]
doc/xmllint.html include html version of the xmllint man page, so an

Tue Jul 22 19:42:15 MDT 2003 John Fleck <jfleck@inkstain.net>

* doc/xmllint.html
include html version of the xmllint man page, so an
up-to-date version is visible on the Web

14 years agoadded a new API xmlXIncludeProcessTree() to process XInclude only on a
Daniel Veillard [Tue, 22 Jul 2003 20:52:14 +0000 (20:52 +0000)]
added a new API xmlXIncludeProcessTree() to process XInclude only on a

* xinclude.c include/libxml/xinclude.h: added a new API
  xmlXIncludeProcessTree() to process XInclude only on a subtree
  this should fix bug #115385
Daniel

14 years agoApplied fix for "wb" open flag, Daniel
Daniel Veillard [Sun, 20 Jul 2003 15:21:30 +0000 (15:21 +0000)]
Applied fix for "wb" open flag, Daniel

14 years agoadding Get interface for the error callback and parameters of parsing and
Daniel Veillard [Fri, 18 Jul 2003 15:16:57 +0000 (15:16 +0000)]
adding Get interface for the error callback and parameters of parsing and

* 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

14 years agopatch from Dodji Seketeli about UTF16 BOM when using the push XML parser.
Daniel Veillard [Wed, 16 Jul 2003 21:18:19 +0000 (21:18 +0000)]
patch from Dodji Seketeli about UTF16 BOM when using the push XML parser.

* parserInternals.c: patch from Dodji Seketeli about UTF16 BOM
  when using the push XML parser.
* result/utf16bom.xml result/noent/utf16bom.xml test/utf16bom.xml:
  added the test to the regression suite.
Daniel

14 years agoadd xmlThrDefMutex = NULL in xmlCleanupGlobals() as suggested by Rob
Daniel Veillard [Tue, 15 Jul 2003 20:04:34 +0000 (20:04 +0000)]
add xmlThrDefMutex = NULL in xmlCleanupGlobals() as suggested by Rob

* globals.c: add xmlThrDefMutex = NULL in xmlCleanupGlobals()
  as suggested by Rob Richards
Daniel

14 years agoremoved some warnings by casting xmlChar to unsigned int and a couple of
Daniel Veillard [Tue, 15 Jul 2003 13:34:05 +0000 (13:34 +0000)]
removed some warnings by casting xmlChar to unsigned int and a couple of

* 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

14 years agocleanup patches from Peter Breitenlohner Daniel
Daniel Veillard [Thu, 10 Jul 2003 14:04:33 +0000 (14:04 +0000)]
cleanup patches from Peter Breitenlohner Daniel

* nanoftp.c nanohttp.c: cleanup patches from Peter Breitenlohner
Daniel

14 years agofixes some problem when freeing unititialized mutexes Daniel
Daniel Veillard [Tue, 8 Jul 2003 14:03:36 +0000 (14:03 +0000)]
fixes some problem when freeing unititialized mutexes Daniel

* globals.c threads.c: fixes some problem when freeing unititialized
  mutexes
Daniel

14 years agothe modules should not import <config.h> directly, some cleanups Peter
Daniel Veillard [Tue, 8 Jul 2003 12:16:59 +0000 (12:16 +0000)]
the modules should not import <config.h> directly, some cleanups Peter

* nanoftp.c nanohttp.c: the modules should not import <config.h>
  directly, some cleanups
* xmlschemas.c: Peter Sobisch found a nasty bug in the Schemas
  validation code.
Daniel

14 years agoJesse Pelton pointed out a problem in the javascript code. Daniel
Daniel Veillard [Mon, 7 Jul 2003 16:02:41 +0000 (16:02 +0000)]
Jesse Pelton pointed out a problem in the javascript code. Daniel

* win32/configure.js: Jesse Pelton pointed out a problem in the
  javascript code.
Daniel

14 years agoregenerated might fix includes problems with the Ipv6 support on solaris
Daniel Veillard [Mon, 7 Jul 2003 14:42:44 +0000 (14:42 +0000)]
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

14 years agoUpdate of docs, Daniel
Daniel Veillard [Mon, 7 Jul 2003 12:11:06 +0000 (12:11 +0000)]
Update of docs, Daniel

14 years agopreparing release 1.5.8 changed some preprocessor block applied patch from LIBXML2_2_5_8
Daniel Veillard [Sun, 6 Jul 2003 21:13:49 +0000 (21:13 +0000)]
preparing release 1.5.8 changed some preprocessor block applied patch from

* configure.in doc/*: preparing release 1.5.8
* nanohttp.c: changed some preprocessor block
* xmlschemastypes.c: applied patch from Charles Bozeman adding
  hexBinary schema datatype and adding support for totalDigits and
  fractionDigits facets.
Daniel

14 years agofixed 2 bugs pointed in #116448 Daniel
Daniel Veillard [Sun, 6 Jul 2003 17:57:42 +0000 (17:57 +0000)]
fixed 2 bugs pointed in #116448 Daniel

* debugXML.c xpath.c: fixed 2 bugs pointed in #116448
Daniel

14 years agofixed bug #116095 removing the error message when reapplying XInclude to a
Daniel Veillard [Sun, 6 Jul 2003 17:35:43 +0000 (17:35 +0000)]
fixed bug #116095 removing the error message when reapplying XInclude to a

* xinclude.c: fixed bug #116095 removing the error message when
  reapplying XInclude to a document.
Daniel

14 years agoLibxml2 is not just "for Gnome", this is still confusing people, Daniel
Daniel Veillard [Sun, 6 Jul 2003 10:02:03 +0000 (10:02 +0000)]
Libxml2 is not just "for Gnome", this is still confusing people, Daniel

14 years agoapplied small changes to portability layer for compilation on DJGPP Ms-DOS
Daniel Veillard [Sat, 5 Jul 2003 20:43:43 +0000 (20:43 +0000)]
applied small changes to portability layer for compilation on DJGPP Ms-DOS

* xmlIO.c: applied small changes to portability layer for
  compilation on DJGPP Ms-DOS compiler.
Daniel

14 years agouse the character() SAX callback if the cdataBlock ain't defined. fix bug
Daniel Veillard [Sat, 5 Jul 2003 20:32:43 +0000 (20:32 +0000)]
use the character() SAX callback if the cdataBlock ain't defined. fix bug

* parser.c HTMLparser.c: use the character() SAX callback
  if the cdataBlock ain't defined.
* xpath.c: fix bug #115349 allowing compilation when configured
  with --without-xpath since the Schemas code needs NAN and co.
Daniel

14 years agoFixed multithreading problem
William M. Brack [Fri, 4 Jul 2003 17:01:59 +0000 (17:01 +0000)]
Fixed multithreading problem

14 years agoApplying IPv6 patch from Archana Shah <archana.shah@wipro.com>
Daniel Veillard [Sat, 21 Jun 2003 14:20:04 +0000 (14:20 +0000)]
Applying IPv6 patch from Archana Shah <archana.shah@wipro.com>
closing bug #114837

* configure.in: Added checks for IPv6 support and getaddrinfo().

* acconfig.h: Defined HAVE_GETADDRINFO and SUPPORT_IP6.

* config.h.in: Defined HAVE_GETADDRINFO and SUPPORT_IP6.

* nanoftp.c: Structure xmlNanoFTPCtxt contains either sockaddr_storage
  field or sockaddr_in field, depending upon the availability of IPv6
  support.
  have_ipv6(): Added to check for run-time IPv6 support.
  (xmlNanoFTPScanURL), (xmlNanoFTPUpdateURL), (xmlNanoFTPScanProxy):
  Modified to parse a URI with IPv6 address given in [].
  (xmlNanoFTPConnect): Changed to use getaddrinfo for address
  resolution, if it is available on the system, as gethostbyname
  does not return IPv6 addresses on some platforms.
  (xmlNanoFTPGetConnection): Modified type of dataAddr variable to
  sockaddr_storage or sockaddr_in depending upon the IPv6 support.
  Sending EPSV, EPRT or PASV, PORT depending upon the type of address
  we are dealing with.

* nanohttp.c: (have_ipv6): Added to check for run-time IPv6 support.
  (xmlNanoHTTPScanURL), (xmlNanoHTTPScanProxy): Modified to parse
  a URI with IPv6 address given in [].
  (xmlNanoHTTPConnectHost): Modified to use getaddrinfo if it is
  available on the system. Also IPv6 addresses will be resolved by
  gethostbyname only if IPv6 run-time support is available.
  (xmlNanoHTTPConnectAttempt): Modified to deal with IPv6 address.

Daniel

14 years agosmall addition to bcb patch
Igor Zlatkovic [Mon, 16 Jun 2003 07:12:50 +0000 (07:12 +0000)]
small addition to bcb patch

14 years agoapplied the BCB patch by Eric Zurcher
Igor Zlatkovic [Sat, 14 Jun 2003 16:48:26 +0000 (16:48 +0000)]
applied the BCB patch by Eric Zurcher

14 years agoreverted back patch for #113521, due to #115104 and while fixing #115101 .
Daniel Veillard [Fri, 13 Jun 2003 12:30:10 +0000 (12:30 +0000)]
reverted back patch for #113521, due to #115104 and while fixing #115101 .

* doc/Makefile.am doc/html/*: reverted back patch for #113521,
  due to #115104 and while fixing #115101 . HTML URLs must not
  be version dependant.
Daniel

14 years agodo not generate &quot; for " outside of attributes this changes the output
Daniel Veillard [Fri, 13 Jun 2003 10:05:56 +0000 (10:05 +0000)]
do not generate &quot; for " outside of attributes this changes the output

* entities.c: do not generate &quot; for " outside of attributes
* result//*: this changes the output of some tests
Daniel

14 years agoUpdates, changed libxml to libxml2 in a number of places, Daniel
Daniel Veillard [Thu, 12 Jun 2003 16:05:07 +0000 (16:05 +0000)]
Updates, changed libxml to libxml2 in a number of places, Daniel

14 years agotrying to fix #114277 about when file remapping and escaping should really
Daniel Veillard [Mon, 9 Jun 2003 10:30:33 +0000 (10:30 +0000)]
trying to fix #114277 about when file remapping and escaping should really

* parser.c xmlIO.c: trying to fix #114277 about when file
  remapping and escaping should really be attempted.
Daniel

14 years agoapplied a patch from Gman for building docs applied a patch from Gary
Daniel Veillard [Mon, 9 Jun 2003 09:10:36 +0000 (09:10 +0000)]
applied a patch from Gman for building docs applied a patch from Gary

* 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

14 years agoapplied a couple of patches from Mark Itzcovitz to handle saving back
Daniel Veillard [Thu, 5 Jun 2003 09:32:20 +0000 (09:32 +0000)]
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

14 years agocommiting some work done while in the Maldives (hence the timezone on the
Daniel Veillard [Mon, 2 Jun 2003 16:58:46 +0000 (16:58 +0000)]
commiting some work done while in the Maldives (hence the timezone on the

* 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

14 years agosmall fix fixed an error message Daniel
Daniel Veillard [Mon, 2 Jun 2003 13:35:24 +0000 (13:35 +0000)]
small fix fixed an error message Daniel

* encoding.c: small fix
* xmlIO.c: fixed an error message
Daniel

14 years agofixing Red Hat bug #91013 where xmllint was accepting an improper UTF8
Daniel Veillard [Tue, 20 May 2003 12:22:41 +0000 (12:22 +0000)]
fixing Red Hat bug #91013 where xmllint was accepting an improper UTF8

* parserInternals.c: fixing Red Hat bug #91013 where xmllint was
  accepting an improper UTF8 sequence
Daniel

14 years agoChangeLog
Igor Zlatkovic [Sat, 17 May 2003 11:31:20 +0000 (11:31 +0000)]
ChangeLog

14 years agothreads default to native now
Igor Zlatkovic [Sat, 17 May 2003 11:30:54 +0000 (11:30 +0000)]
threads default to native now

14 years ago*** empty log message ***
Igor Zlatkovic [Sat, 17 May 2003 10:55:38 +0000 (10:55 +0000)]
*** empty log message ***

14 years agoapplied patch from Stephane for threads
Igor Zlatkovic [Sat, 17 May 2003 10:55:15 +0000 (10:55 +0000)]
applied patch from Stephane for threads

14 years agofixing bug #112904: html output method escaped plus sign character in URI
Daniel Veillard [Fri, 16 May 2003 17:19:40 +0000 (17:19 +0000)]
fixing bug #112904: html output method escaped plus sign character in URI

* HTMLtree.c: fixing  bug #112904: html output method escaped
  plus sign character in URI attribute.
Daniel

14 years agopatch from Stéphane Bidoul for setting up threads global defaults. this
Daniel Veillard [Thu, 15 May 2003 22:11:36 +0000 (22:11 +0000)]
patch from Stéphane Bidoul for setting up threads global defaults. this

* 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

14 years agoFixed the release number fo the spec file, Daniel
Daniel Veillard [Wed, 14 May 2003 19:45:50 +0000 (19:45 +0000)]
Fixed the release number fo the spec file, Daniel

14 years agotrying to conciliate --with-python= requirements and RPM builds, a PITA
Daniel Veillard [Wed, 14 May 2003 18:59:00 +0000 (18:59 +0000)]
trying to conciliate --with-python= requirements and RPM builds, a PITA

* configure.in libxml.spec.in python/Makefile.am: trying
  to conciliate --with-python= requirements and RPM builds,
  a PITA really...
Daniel

14 years agoUpdated testfiles for error.c fix
William M. Brack [Wed, 14 May 2003 02:53:43 +0000 (02:53 +0000)]
Updated testfiles for error.c fix

14 years agooops last commit introduced a memory leak. Daniel
Daniel Veillard [Tue, 13 May 2003 22:54:05 +0000 (22:54 +0000)]
oops last commit introduced a memory leak. Daniel

* HTMLparser.c: oops last commit introduced a memory leak.
Daniel

14 years agoadded --nonet option fixing #112803 by adding --nonet when calling
Daniel Veillard [Tue, 13 May 2003 22:14:13 +0000 (22:14 +0000)]
added --nonet option fixing #112803 by adding --nonet when calling

* xmllint.c doc/xmllint.xml: added --nonet option
* doc/Makefile.am: fixing #112803 by adding --nonet when calling
  xsltproc or xmllint
* doc/xmllint.xml doc/xmllint.1: also added --schema doc and
  rebuilt
* HTMLparser.c: cleaned up the HTML parser context build when
  using an URL
Daniel

14 years agoadded a comment about bug #112902 Daniel
Daniel Veillard [Tue, 13 May 2003 21:07:01 +0000 (21:07 +0000)]
added a comment about bug #112902 Daniel

* libxml.spec.in: added a comment about bug #112902
Daniel

14 years agoCleanup config help
William M. Brack [Tue, 13 May 2003 08:08:36 +0000 (08:08 +0000)]
Cleanup config help

14 years agoFixed bug 109942
William M. Brack [Tue, 13 May 2003 02:06:18 +0000 (02:06 +0000)]
Fixed bug 109942

14 years agoPI nodes in external subset were not freed :-\ fixes bug #112842 Daniel
Daniel Veillard [Mon, 12 May 2003 21:55:03 +0000 (21:55 +0000)]
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

14 years agoadded --schema option to run WXS schema validation tried to improve error
Daniel Veillard [Mon, 12 May 2003 15:25:56 +0000 (15:25 +0000)]
added --schema option to run WXS schema validation tried to improve error

* 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

14 years agofixed some problems in the handling of errors, and attributes addressed by
Daniel Veillard [Sun, 11 May 2003 20:16:09 +0000 (20:16 +0000)]
fixed some problems in the handling of errors, and attributes addressed by

* xmlschemas.c: fixed some problems in the handling of errors,
  and attributes addressed by references.
* test/schemas/* result/schemas/*: dropped the verbosity level
  and added a couple of new tests
Daniel

14 years agoStéphane Bidoul found an off by one addressing error on the error
Daniel Veillard [Sat, 10 May 2003 20:02:45 +0000 (20:02 +0000)]
Stéphane Bidoul found an off by one addressing error on the error

* relaxng.c: Stéphane Bidoul found an off by one addressing
  error on the error handling.
Daniel

14 years agotrying to fix #112673 Daniel
Daniel Veillard [Fri, 9 May 2003 23:09:55 +0000 (23:09 +0000)]
trying to fix #112673 Daniel

* xmlschemastypes.c: trying to fix #112673
Daniel

14 years agoremoved multiple warning, this fixed a bug and should close #111574 Daniel
Daniel Veillard [Fri, 9 May 2003 22:26:28 +0000 (22:26 +0000)]
removed multiple warning, this fixed a bug and should close #111574 Daniel

* DOCBparser.c catalog.c parser.c relaxng.c: removed multiple
  warning, this fixed a bug and should close #111574
Daniel

14 years agofixing bug #104081 with xs:all with an element holding minOccurs="0" added
Daniel Veillard [Fri, 9 May 2003 19:38:15 +0000 (19:38 +0000)]
fixing bug #104081 with xs:all with an element holding minOccurs="0" added

* xmlschemas.c: fixing bug #104081 with xs:all with an element
  holding minOccurs="0"
* test/schemas/all_* result/schemas/all_*: added some regression
  tests for that bug
* xmllint.c xmlreader.c: patches from Joerg Schmitz-Linneweber and
  Garry Pennington to compile without schemas support.
Daniel

14 years agofixed a problem with xmlUnlinkNode() for DTDs. Daniel
Daniel Veillard [Thu, 1 May 2003 08:03:46 +0000 (08:03 +0000)]
fixed a problem with xmlUnlinkNode() for DTDs. Daniel

* tree.c: fixed a problem with xmlUnlinkNode() for DTDs.
Daniel