baserock-morphs:libxml2.git
9 years agopreparing release of 2.6.32 Daniel LIBXML2.6.32
Daniel Veillard [Tue, 8 Apr 2008 14:58:41 +0000 (14:58 +0000)]
preparing release of 2.6.32 Daniel

* configure.in NEWS doc/*: preparing release of 2.6.32
Daniel

svn path=/trunk/; revision=3734

9 years agofix a bug introduced when fixing #438208 and reported by Ashwin fix an
Daniel Veillard [Tue, 8 Apr 2008 08:20:08 +0000 (08:20 +0000)]
fix a bug introduced when fixing #438208 and reported by Ashwin fix an

* tree.c: fix a bug introduced when fixing #438208 and reported by
  Ashwin
* python/generator.py: fix an infinite loop bug
Daniel

svn path=/trunk/; revision=3733

9 years agofix a link to XmlNodeType doc reported by Martijn Arts rebuilt Daniel
Daniel Veillard [Mon, 7 Apr 2008 12:46:48 +0000 (12:46 +0000)]
fix a link to XmlNodeType doc reported by Martijn Arts rebuilt Daniel

* xmlreader.c: fix a link to XmlNodeType doc reported by Martijn Arts
* docs/*: rebuilt
Daniel

svn path=/trunk/; revision=3732

9 years agoimprove the *Recover* functions documentation Daniel
Daniel Veillard [Fri, 4 Apr 2008 16:10:51 +0000 (16:10 +0000)]
improve the *Recover* functions documentation Daniel

* parser.c: improve the *Recover* functions documentation
Daniel

svn path=/trunk/; revision=3731

9 years agopatch from Mark Rowe fixing BOM or encoding detection in external parsed
Daniel Veillard [Thu, 3 Apr 2008 12:59:06 +0000 (12:59 +0000)]
patch from Mark Rowe fixing BOM or encoding detection in external parsed

* parser.c: patch from Mark Rowe fixing BOM or encoding detection
  in external parsed entities, should fix #440415
Daniel

svn path=/trunk/; revision=3730

9 years agofix some problems with the *EatName functions when running out of memory
Daniel Veillard [Thu, 3 Apr 2008 11:17:21 +0000 (11:17 +0000)]
fix some problems with the *EatName functions when running out of memory

* tree.c: fix some problems with the *EatName functions when
  running out of memory raised by Eric Schrock , should fix #438208
Daniel

svn path=/trunk/; revision=3729

9 years agohorror around the definition of the lexical values for decimal and derived
Daniel Veillard [Thu, 3 Apr 2008 10:43:52 +0000 (10:43 +0000)]
horror around the definition of the lexical values for decimal and derived

* xmlschemastypes.c: horror around the definition of the lexical
  values for decimal and derived types, fixing to reject empty
  values, should fix #503268
Daniel

svn path=/trunk/; revision=3728

9 years agobuffer may not be large enough to convert to UCS4, patch from Christian
Daniel Veillard [Thu, 3 Apr 2008 09:46:34 +0000 (09:46 +0000)]
buffer may not be large enough to convert to UCS4, patch from Christian

* encoding.c: buffer may not be  large enough to convert to
  UCS4, patch from Christian Fruth , fixes #504015
Daniel

svn path=/trunk/; revision=3727

9 years agoapparently it's okay to forget the semicolumn after entity refs in HTML,
Daniel Veillard [Thu, 3 Apr 2008 09:05:05 +0000 (09:05 +0000)]
apparently it's okay to forget the semicolumn after entity refs in HTML,

* HTMLparser.c: apparently it's okay to forget the semicolumn after
  entity refs in HTML, fixing char refs parsing accordingly based on
  T. Manske patch, this should fix #517653
Daniel

svn path=/trunk/; revision=3726

9 years agoavoid a scary realloc() loop should fix #520383 Daniel
Daniel Veillard [Thu, 3 Apr 2008 07:31:25 +0000 (07:31 +0000)]
avoid a scary realloc() loop should fix #520383 Daniel

* error.c: avoid a scary realloc() loop should fix #520383
Daniel

svn path=/trunk/; revision=3725

9 years agomore realloc problems pointed out by Ashwin Daniel
Daniel Veillard [Thu, 3 Apr 2008 06:24:04 +0000 (06:24 +0000)]
more realloc problems pointed out by Ashwin Daniel

* parser.c: more realloc problems pointed out by Ashwin
Daniel

svn path=/trunk/; revision=3724

9 years agoapplied patch from Mike Hommey fixing distclean, fixes #520387 Daniel
Daniel Veillard [Thu, 3 Apr 2008 05:41:28 +0000 (05:41 +0000)]
applied patch from Mike Hommey fixing distclean, fixes #520387 Daniel

* xstc/Makefile.am: applied patch from Mike Hommey fixing distclean,
  fixes #520387
Daniel

svn path=/trunk/; revision=3723

9 years agosmall doc improvement for xmlXPathContext from Jack Jansen, fixes #524759
Daniel Veillard [Thu, 3 Apr 2008 04:56:04 +0000 (04:56 +0000)]
small doc improvement for xmlXPathContext from Jack Jansen, fixes #524759

* include/libxml/xpath.h: small doc improvement for xmlXPathContext
  from Jack Jansen, fixes #524759
* doc/newapi.xsl doc/*: fixed a problem and regenerated the docs
Daniel

svn path=/trunk/; revision=3722

9 years agotwo patches from Alvaro Herrera to avoid problem when running out of
Daniel Veillard [Tue, 1 Apr 2008 08:00:31 +0000 (08:00 +0000)]
two patches from Alvaro Herrera to avoid problem when running out of

* xpath.c: two patches from Alvaro Herrera to avoid problem when
  running out of memory in XPath evaluations.
Daniel

svn path=/trunk/; revision=3721

9 years agolot of out of memory handling fixes from Ashwin work around a problem with
Daniel Veillard [Mon, 31 Mar 2008 09:26:00 +0000 (09:26 +0000)]
lot of out of memory handling fixes from Ashwin work around a problem with

* parser.c: lot of out of memory handling fixes from Ashwin
* elfgcchack.h doc/elfgcchack.xsl: work around a problem with xmlDllMain
* include/libxml/threads.h: indenting cleanups
Daniel

svn path=/trunk/; revision=3720

9 years agotrying to clarify even more the xmlCleanupParser() use and the memory
Daniel Veillard [Mon, 31 Mar 2008 08:27:07 +0000 (08:27 +0000)]
trying to clarify even more the xmlCleanupParser() use and the memory

* parser.c docs/*: trying to clarify even more the xmlCleanupParser()
  use and the memory documentation
Daniel

svn path=/trunk/; revision=3719

9 years agochanges based on Alex Khesin patch where xmlParseCharRef seems to not be
Daniel Veillard [Wed, 26 Mar 2008 17:41:38 +0000 (17:41 +0000)]
changes based on Alex Khesin patch where xmlParseCharRef seems to not be

* parser.c: changes based on  Alex Khesin patch where xmlParseCharRef
  seems to not be checked correctly, fixes #520198
Daniel

svn path=/trunk/; revision=3718

9 years agopatch from Ashwin to avoid a problem of attribute redefinition in the DTD.
Daniel Veillard [Wed, 26 Mar 2008 14:06:44 +0000 (14:06 +0000)]
patch from Ashwin to avoid a problem of attribute redefinition in the DTD.

* parser.c: patch from Ashwin to avoid a problem of attribute
  redefinition in the DTD. Remove a warning too.
Daniel

svn path=/trunk/; revision=3717

9 years agofix a problem in externalSubsetSplit with a patch from Ashwin Daniel
Daniel Veillard [Wed, 26 Mar 2008 13:39:31 +0000 (13:39 +0000)]
fix a problem in externalSubsetSplit with a patch from Ashwin Daniel

* xmlschemas.c: fix a problem in externalSubsetSplit with a patch
  from Ashwin
Daniel

svn path=/trunk/; revision=3716

9 years agofix various attribute normalisation problems reported by Ashwin this
Daniel Veillard [Tue, 25 Mar 2008 16:52:41 +0000 (16:52 +0000)]
fix various attribute normalisation problems reported by Ashwin this

* parser.c: fix various attribute normalisation problems reported
  by Ashwin
* result/c14n/without-comments/example-4
  result/c14n/with-comments/example-4: this impacted the result of
  two c14n tests :-\
* test/att9 test/att10 test/att11 result//att9* result//att10*
  result//att11*: added 3 specific regression tests coming from the
  XML spec revision and from Ashwin
Daniel

svn path=/trunk/; revision=3715

9 years agofix saving for file:///X:/ URI embedding Windows file paths should fix
Daniel Veillard [Tue, 25 Mar 2008 13:22:41 +0000 (13:22 +0000)]
fix saving for file:///X:/ URI embedding Windows file paths should fix

* uri.c: fix saving for file:///X:/ URI embedding Windows file paths
  should fix #524253
Daniel

svn path=/trunk/; revision=3714

9 years agofix a problem reported by Ashwin for system parameter entities referenced
Daniel Veillard [Mon, 24 Mar 2008 20:45:21 +0000 (20:45 +0000)]
fix a problem reported by Ashwin for system parameter entities referenced

* parser.c: fix a problem reported by Ashwin for system parameter
  entities referenced from entities in external subset, add a
  specific loading routine.
* test/valid/dtds/external.ent test/valid/dtds/external2.ent
  test/valid/t11.xml result/valid/t11.xml*: added the test to
  the regression suite
Daniel

svn path=/trunk/; revision=3713

9 years agofix an XML Schemas crash raised by Stefan Behnel when testing with W3C
Daniel Veillard [Mon, 24 Mar 2008 14:06:19 +0000 (14:06 +0000)]
fix an XML Schemas crash raised by Stefan Behnel when testing with W3C

* xmlschemas.c: fix an XML Schemas crash raised by Stefan Behnel
  when testing with W3C test suite
Daniel

svn path=/trunk/; revision=3712

9 years agocheck some allocation with Ashwin patch Daniel
Daniel Veillard [Mon, 24 Mar 2008 11:12:55 +0000 (11:12 +0000)]
check some allocation with Ashwin patch Daniel

* threads.c: check some allocation with Ashwin patch
Daniel

svn path=/trunk/; revision=3711

9 years agoupdate from Tycho Hilhorst, should fix #523378 Daniel
Daniel Veillard [Wed, 19 Mar 2008 15:43:00 +0000 (15:43 +0000)]
update from Tycho Hilhorst, should fix #523378 Daniel

* vms/build_libxml.com: update from Tycho Hilhorst, should fix #523378
Daniel

svn path=/trunk/; revision=3710

9 years agocheck some malloc returns with Ashwin patch, add error messages and
Daniel Veillard [Tue, 18 Mar 2008 08:24:25 +0000 (08:24 +0000)]
check some malloc returns with Ashwin patch, add error messages and

* threads.c: check some malloc returns with Ashwin patch, add
  error messages and reindent the module.
Daniel

svn path=/trunk/; revision=3709

9 years agopatch from Ashwin removing duplicate tests Daniel
Daniel Veillard [Fri, 14 Mar 2008 14:29:40 +0000 (14:29 +0000)]
patch from Ashwin removing duplicate tests Daniel

* xmlreader.c: patch from Ashwin removing duplicate tests
Daniel

svn path=/trunk/; revision=3708

9 years agoapplied patch from Tobias Minich to allow plugin schematron error
Daniel Veillard [Fri, 14 Mar 2008 12:46:42 +0000 (12:46 +0000)]
applied patch from Tobias Minich to allow plugin schematron error

* include/libxml/schematron.h include/libxml/xmlerror.h schematron.c:
  applied patch from Tobias Minich to allow plugin schematron error
  reporting in the normal error system, should fix #513998
Daniel

svn path=/trunk/; revision=3707

9 years agopatch from Vasily Chekalkin fixes memory leaks, should fix 512647 Daniel
Daniel Veillard [Fri, 14 Mar 2008 10:54:00 +0000 (10:54 +0000)]
patch from Vasily Chekalkin fixes memory leaks, should fix 512647 Daniel

* parser.c xinclude.c: patch from Vasily Chekalkin fixes memory
  leaks, should fix 512647
Daniel

svn path=/trunk/; revision=3706

9 years agofound a nasty bug in regexp automata build, reported by Ashwin and Bjorn
Daniel Veillard [Thu, 13 Mar 2008 07:27:24 +0000 (07:27 +0000)]
found a nasty bug in regexp automata build, reported by Ashwin and Bjorn

* xmlregexp.c: found a nasty bug in regexp automata build,
  reported by Ashwin and Bjorn Reese
Daniel

svn path=/trunk/; revision=3705

9 years agopatch from Arnold Hendriks improving parsing of html within html bogus
Daniel Veillard [Wed, 12 Mar 2008 21:43:39 +0000 (21:43 +0000)]
patch from Arnold Hendriks improving parsing of html within html bogus

* HTMLparser.c: patch from Arnold Hendriks improving parsing of
  html within html bogus data, still not a complete fix though
Daniel

svn path=/trunk/; revision=3704

9 years agofix a memory errro when using namespace nodes returned from XPath queries,
Daniel Veillard [Wed, 12 Mar 2008 09:32:04 +0000 (09:32 +0000)]
fix a memory errro when using namespace nodes returned from XPath queries,

* python/types.c: fix a memory errro when using namespace nodes
  returned from XPath queries, should fix #521699
* python/tests/Makefile.am python/tests/xpathns.py: add a specific
  regression test for it
Daniel

svn path=/trunk/; revision=3703

9 years agoadd ICONV_CONST define for win32 build to satisfy encoding.c change in rev
Rob Richards [Mon, 10 Mar 2008 15:26:27 +0000 (15:26 +0000)]
add ICONV_CONST define for win32 build to satisfy encoding.c change in rev

* include/win32config.h: add ICONV_CONST define for win32 build
  to satisfy encoding.c change in rev 3693

svn path=/trunk/; revision=3702

9 years agofix handling of empty CDATA nodes as reported and discussed around #514181
Daniel Veillard [Fri, 7 Mar 2008 16:50:21 +0000 (16:50 +0000)]
fix handling of empty CDATA nodes as reported and discussed around #514181

* xmlsave.c parser.c: fix handling of empty CDATA nodes as
  reported and discussed around #514181 and associated patches
* test/emptycdata.xml result/emptycdata.xml*
  result/noent/emptycdata.xml: added a specific test in the
  regression suite.
Daniel

svn path=/trunk/; revision=3701

9 years agopoblem with encoding detection for UTF-16 reported by Ashwin and found by
Daniel Veillard [Thu, 6 Mar 2008 14:37:10 +0000 (14:37 +0000)]
poblem with encoding detection for UTF-16 reported by Ashwin and found by

* encoding.c: poblem with encoding detection for UTF-16 reported by
  Ashwin and found by Bill
* test/valid/dtds/utf16b.ent test/valid/dtds/utf16l.ent
  test/valid/UTF16Entity.xml result/valid/UTF16Entity.xml*: added
  the example to the regression tests
Daniel

svn path=/trunk/; revision=3700

9 years agopatch from Alex Khesin fixing CDATA output after a text node. fixed the
Daniel Veillard [Tue, 4 Mar 2008 13:19:49 +0000 (13:19 +0000)]
patch from Alex Khesin fixing CDATA output after a text node. fixed the

* xmlwriter.c: patch from Alex Khesin fixing CDATA output after
  a text node.
* parser.c: fixed the comment for xmlParserCleanup
* globals.c: fixed indentation
Daniel

svn path=/trunk/; revision=3699

9 years agopatch from Florent Guiliani to fix build on SCO OpenServer daniel
Daniel Veillard [Mon, 25 Feb 2008 15:44:43 +0000 (15:44 +0000)]
patch from Florent Guiliani to fix build on SCO OpenServer daniel

* testModule.c: patch from Florent Guiliani to fix build on
  SCO OpenServer
daniel

svn path=/trunk/; revision=3698

9 years agomade one of the changes suggested by Brian Krahmer allow to pass '--' on
Daniel Veillard [Thu, 21 Feb 2008 22:31:55 +0000 (22:31 +0000)]
made one of the changes suggested by Brian Krahmer allow to pass '--' on

* debugXML.c: made one of the changes suggested by Brian Krahmer
* testRegexp.c: allow to pass '--' on the command line to allow
  regexps starting with the character '-'
Daniel

svn path=/trunk/; revision=3697

9 years agoapplied cleanup patches for cross compilation and MinGW from Roumen Petrov
Daniel Veillard [Tue, 19 Feb 2008 07:54:52 +0000 (07:54 +0000)]
applied cleanup patches for cross compilation and MinGW from Roumen Petrov

* python/Makefile.am python/tests/Makefile.am: applied cleanup
  patches for cross compilation and MinGW from Roumen Petrov
Daniel

svn path=/trunk/; revision=3696

9 years agofix output bug reported by Petr Pajas and analyzed by Bill Daniel
Daniel Veillard [Sat, 16 Feb 2008 10:08:14 +0000 (10:08 +0000)]
fix output bug reported by Petr Pajas and analyzed by Bill Daniel

* xmlIO.c: fix output bug reported by Petr Pajas and analyzed by Bill
Daniel

svn path=/trunk/; revision=3695

9 years agopatch from Julien Charbon to simplify the processing of xmlSetProp()
Daniel Veillard [Fri, 15 Feb 2008 08:33:21 +0000 (08:33 +0000)]
patch from Julien Charbon to simplify the processing of xmlSetProp()

* include/libxml/xmlerror.h tree.c: patch from Julien Charbon
  to simplify the processing of xmlSetProp()
Daniel

svn path=/trunk/; revision=3694

9 years agopatch from Roumen Petrov to detect if iconv() needs a const for the second
Daniel Veillard [Fri, 15 Feb 2008 07:47:26 +0000 (07:47 +0000)]
patch from Roumen Petrov to detect if iconv() needs a const for the second

* config.h.in configure.in encoding.c: patch from Roumen Petrov
  to detect if iconv() needs a const for the second parameter
Daniel

svn path=/trunk/; revision=3693

9 years agoEOL cleanups from Florent Guiliani Daniel
Daniel Veillard [Fri, 15 Feb 2008 07:43:00 +0000 (07:43 +0000)]
EOL cleanups from Florent Guiliani Daniel

* macos/src/XMLTestPrefix2.h win32/Makefile.msvc: EOL cleanups
  from Florent Guiliani
Daniel

svn path=/trunk/; revision=3692

9 years agoapplied patch from Alfred Mickautsch to flush the output at the end of
Daniel Veillard [Wed, 13 Feb 2008 10:17:41 +0000 (10:17 +0000)]
applied patch from Alfred Mickautsch to flush the output at the end of

* xmlwriter.c: applied patch from Alfred Mickautsch to flush the
  output at the end of document.
Daniel

svn path=/trunk/; revision=3691

9 years agoregenerated, it was truncated. Daniel
Daniel Veillard [Fri, 8 Feb 2008 10:57:57 +0000 (10:57 +0000)]
regenerated, it was truncated. Daniel

* doc/examples/examples.xml: regenerated, it was truncated.
Daniel

svn path=/trunk/; revision=3690

9 years agoapply simple patch from Carlo Bramini to avoid compilation problems with
Daniel Veillard [Fri, 8 Feb 2008 10:49:46 +0000 (10:49 +0000)]
apply simple patch from Carlo Bramini to avoid compilation problems with

* xmlmodule.c: apply simple patch from Carlo Bramini to avoid
  compilation problems with Mingw32
Daniel

svn path=/trunk/; revision=3689

9 years agoEOL cleanup from Florent Guiliani, Daniel
Daniel Veillard [Fri, 8 Feb 2008 10:42:41 +0000 (10:42 +0000)]
EOL cleanup from Florent Guiliani, Daniel

svn path=/trunk/; revision=3688

9 years agoapply patch from Andrew Tosh to fix behaviour when '.' is used in a
Daniel Veillard [Fri, 8 Feb 2008 10:37:18 +0000 (10:37 +0000)]
apply patch from Andrew Tosh to fix behaviour when '.' is used in a

* xmlregexp.c: apply patch from Andrew Tosh to fix behaviour
  when '.' is used in a posCharGroup
* test/schemas/poschargrp0_0.* result/schemas/poschargrp0_0_0*:
  added the test to the regression suite
Daniel

svn path=/trunk/; revision=3687

9 years agoapplied patch from Florent Guilian to remove an useless mutex in the
Daniel Veillard [Fri, 8 Feb 2008 09:56:31 +0000 (09:56 +0000)]
applied patch from Florent Guilian to remove an useless mutex in the

* dict.c: applied patch from Florent Guilian to remove an
  useless mutex in the xmlDict structure.

older, not commited ...

* SAX2.c: another leak reported by Ashwin
* xinclude.c: fixed the behaviour when XIncluding a fragment
  of the current document, patch from Chris Ryan

Daniel

svn path=/trunk/; revision=3686

9 years agoadded space for port number (when not 80) in xmlNanoHTTPMethodRedir, plus
William M. Brack [Wed, 6 Feb 2008 04:12:46 +0000 (04:12 +0000)]
added space for port number (when not 80) in xmlNanoHTTPMethodRedir, plus

* nanohttp.c: added space for port number (when not 80) in
  xmlNanoHTTPMethodRedir, plus a few more comments. Should
  fix #514521.

svn path=/trunk/; revision=3685

9 years agoapply fix suggested by Ashwin correcting a cut-n-paste error about the SAX
Daniel Veillard [Tue, 5 Feb 2008 08:43:52 +0000 (08:43 +0000)]
apply fix suggested by Ashwin correcting a cut-n-paste error about the SAX

* schemas.c: apply fix suggested by Ashwin correcting a cut-n-paste
  error about the SAX callback in cdataBlockSplit when streaming
  XSD validation
Daniel

svn path=/trunk/; revision=3684

9 years agoapplied a patch based on Petr Sumbera one to avoid a problem with paths
Daniel Veillard [Tue, 5 Feb 2008 08:37:56 +0000 (08:37 +0000)]
applied a patch based on Petr Sumbera one to avoid a problem with paths

* uri.c: applied a patch based on Petr Sumbera one to avoid a
  problem with paths starting with //
Daniel

svn path=/trunk/; revision=3683

9 years agoadded a small section on returning memory to the kernel by compacting the
Daniel Veillard [Mon, 4 Feb 2008 16:50:03 +0000 (16:50 +0000)]
added a small section on returning memory to the kernel by compacting the

* doc/xml.html doc/xmlmem.html: added a small section on returning
  memory to the kernel by compacting the heap provided by Wolfram Sang
Daniel

svn path=/trunk/; revision=3682

9 years agofix build under VS 2008. patch by David Wimsey
Rob Richards [Fri, 25 Jan 2008 19:03:37 +0000 (19:03 +0000)]
fix build under VS 2008. patch by David Wimsey

* include/win32config.h win32/Makefile.msvc: fix build under VS 2008.
  patch by David Wimsey

svn path=/trunk/; revision=3681

9 years agofix a memeory leak in internal subset parsing with a fix from Ashwin add
Daniel Veillard [Thu, 24 Jan 2008 14:48:54 +0000 (14:48 +0000)]
fix a memeory leak in internal subset parsing with a fix from Ashwin add

* parser.c: fix a memeory leak in internal subset parsing with
  a fix from Ashwin
* test/errors/content1.xml result/errors/content1.xml*:
  add test to regressions
Daniel

svn path=/trunk/; revision=3680

9 years agopreparing release of 2.6.31 daniel
Daniel Veillard [Thu, 24 Jan 2008 14:39:12 +0000 (14:39 +0000)]
preparing release of 2.6.31 daniel

* configure.in doc/*: preparing release of 2.6.31
daniel

svn path=/trunk/; revision=3679

9 years agoPrepare docs for release of 2.6.31, Daniel
Daniel Veillard [Fri, 11 Jan 2008 09:07:51 +0000 (09:07 +0000)]
Prepare docs for release of 2.6.31, Daniel

svn path=/trunk/; revision=3677

9 years agoavoid a warning on 64bits introduced earlier make more checking on the
Daniel Veillard [Fri, 11 Jan 2008 08:00:57 +0000 (08:00 +0000)]
avoid a warning on 64bits introduced earlier make more checking on the

* parser.c: avoid a warning on 64bits introduced earlier
* parserInternals.c: make more checking on the UTF-8 input
Daniel

svn path=/trunk/; revision=3676

9 years agoavoid stopping parsing when encountering out of range characters in an
Daniel Veillard [Fri, 11 Jan 2008 07:41:39 +0000 (07:41 +0000)]
avoid stopping parsing when encountering out of range characters in an

* HTMLparser.c: avoid stopping parsing when encountering
  out of range characters in an HTML file, report and
  continue processing instead, should fix #472696
Daniel

svn path=/trunk/; revision=3675

9 years agopatches from John Carr to start cleaning up 'make diskcheck' problems c.f.
Daniel Veillard [Fri, 11 Jan 2008 07:19:24 +0000 (07:19 +0000)]
patches from John Carr to start cleaning up 'make diskcheck' problems c.f.

* check-relaxng-test-suite2.py check-relaxng-test-suite.py
  Makefile.am python/tests/Makefile.am python/Makefile.am
  check-xsddata-test-suite.py: patches from John Carr to
  start cleaning up 'make diskcheck' problems c.f. #506228
Daniel

svn path=/trunk/; revision=3674

9 years agoapply fix from Stefan Kost to avoid a crash in xmllint, fixes 504284
Daniel Veillard [Fri, 11 Jan 2008 06:53:15 +0000 (06:53 +0000)]
apply fix from Stefan Kost to avoid a crash in xmllint, fixes 504284

* xmllint.c: apply fix from Stefan Kost to avoid a crash
  in xmllint, fixes 504284
Daniel

svn path=/trunk/; revision=3673

9 years agoapply patch from Fred Crozat to avoid outputting -L/usr/lib from
Daniel Veillard [Fri, 11 Jan 2008 06:44:00 +0000 (06:44 +0000)]
apply patch from Fred Crozat to avoid outputting -L/usr/lib from

* xml2-config.in: apply patch from Fred Crozat to avoid
  outputting -L/usr/lib from xml2-config, fixes #497012
Daniel

svn path=/trunk/; revision=3672

9 years agofix definition for <embed> to avoid error when saving back, patch from
Daniel Veillard [Fri, 11 Jan 2008 06:24:09 +0000 (06:24 +0000)]
fix definition for <embed> to avoid error when saving back, patch from

* HTMLparser.c: fix definition for <embed> to avoid error
  when saving back, patch from Stefan Behnel fixing 495213
Daniel

svn path=/trunk/; revision=3671

9 years agoapplied patch from Christian Schmidt fixing a column counter update
Daniel Veillard [Fri, 11 Jan 2008 06:10:16 +0000 (06:10 +0000)]
applied patch from Christian Schmidt fixing a column counter update

* parser.c: applied patch from Christian Schmidt fixing a
  column counter update problem, fixes #472696
Daniel

svn path=/trunk/; revision=3670

9 years agohandle a erroneous parsing of attributes in case said attribute has been
Daniel Veillard [Fri, 11 Jan 2008 05:27:32 +0000 (05:27 +0000)]
handle a erroneous parsing of attributes in case said attribute has been

* parser.c: handle a erroneous parsing of attributes in
  case said attribute has been redeclared in the DTD with a
  different type
* hash.c: fix the hash scanner to not crash if a first element
  from the hash list is been removed in the callback
Daniel

svn path=/trunk/; revision=3669

9 years agofix indentation in xmlTextWriterFullEndElement, as raised by Felipe Pena,
Daniel Veillard [Wed, 9 Jan 2008 02:19:50 +0000 (02:19 +0000)]
fix indentation in xmlTextWriterFullEndElement, as raised by Felipe Pena,

* xmlwriter.c: fix indentation in xmlTextWriterFullEndElement,
  as raised by Felipe Pena, should fix #508156
Daniel

svn path=/trunk/; revision=3668

9 years agofix crash from double free of name for bug #501760
Rob Richards [Thu, 6 Dec 2007 10:08:52 +0000 (10:08 +0000)]
fix crash from double free of name for bug #501760

* pattern.c: fix crash from double free of name for bug #501760

svn path=/trunk/; revision=3667

9 years agoremove unused variable in __xmlGlobalInitMutexLock reported by Hannes Eder
Daniel Veillard [Fri, 23 Nov 2007 10:46:55 +0000 (10:46 +0000)]
remove unused variable in __xmlGlobalInitMutexLock reported by Hannes Eder

* threads.c: remove unused variable in __xmlGlobalInitMutexLock
  reported by Hannes Eder
Daniel

svn path=/trunk/; revision=3666

9 years agoremove a cut-and-paste copy error Daniel
Daniel Veillard [Mon, 19 Nov 2007 17:38:33 +0000 (17:38 +0000)]
remove a cut-and-paste copy error Daniel

* xmlregexp.c: remove a cut-and-paste copy error
Daniel

svn path=/trunk/; revision=3665

9 years ago__xmlGlobalInitMutexDestroy() will free global_init_lock on Win32. Patch
Rob Richards [Fri, 16 Nov 2007 10:54:59 +0000 (10:54 +0000)]
__xmlGlobalInitMutexDestroy() will free global_init_lock on Win32. Patch

* globals.c threads.c include/libxml/threads.h:
  __xmlGlobalInitMutexDestroy() will free global_init_lock on Win32.
  Patch from Marc-Antoine Ruel.

svn path=/trunk/; revision=3664

9 years agofix crash/leaks from xmlSchematronParse due to improper schema document
Rob Richards [Tue, 13 Nov 2007 20:27:52 +0000 (20:27 +0000)]
fix crash/leaks from xmlSchematronParse due to improper schema document

* schematron.c: fix crash/leaks from xmlSchematronParse due to improper
  schema document ownership for bug #495215

svn path=/trunk/; revision=3663

9 years agoxmlFree(NULL) should not crash in debug mode should fix #491651 Daniel
Daniel Veillard [Tue, 30 Oct 2007 20:24:40 +0000 (20:24 +0000)]
xmlFree(NULL) should not crash in debug mode should fix #491651 Daniel

* xmlmemory.c: xmlFree(NULL) should not crash in debug mode
  should fix #491651
Daniel

svn path=/trunk/; revision=3662

9 years agoadd a debug option printing all the fields within the parsed URI structure
Daniel Veillard [Tue, 16 Oct 2007 12:18:18 +0000 (12:18 +0000)]
add a debug option printing all the fields within the parsed URI structure

* testURI.c: add a debug option printing all the fields within
  the parsed URI structure
Daniel

svn path=/trunk/; revision=3661

9 years agofix to avoid a crash when dumping an attribute from an XHTML document,
Daniel Veillard [Wed, 10 Oct 2007 08:28:18 +0000 (08:28 +0000)]
fix to avoid a crash when dumping an attribute from an XHTML document,

* xmlsave.c: fix to avoid a crash when dumping an attribute from
  an XHTML document, patch contributed to fix #485298
Daniel

svn path=/trunk/; revision=3660

10 years agoUpdate MAINTAINERS file to match Gnome stuff, Daniel
Daniel Veillard [Tue, 4 Sep 2007 08:10:09 +0000 (08:10 +0000)]
Update MAINTAINERS file to match Gnome stuff, Daniel

svn path=/trunk/; revision=3659

10 years agoanother nasty regexp case fixed. added to regression suite Daniel
Daniel Veillard [Tue, 28 Aug 2007 17:33:45 +0000 (17:33 +0000)]
another nasty regexp case fixed. added to regression suite Daniel

* xmlregexp.c: another nasty regexp case fixed.
* test/regexp/ranges2 result/regexp/ranges2: added to regression
  suite
Daniel

svn path=/trunk/; revision=3658

10 years agoEnhanced to include port number (if not == 80) on the "Header:" URL (bug
William M. Brack [Fri, 24 Aug 2007 02:57:38 +0000 (02:57 +0000)]
Enhanced to include port number (if not == 80) on the "Header:" URL (bug

* nanohttp.c: Enhanced to include port number (if not == 80) on the
  "Header:" URL (bug #469681).
* xmlregexp.c: Fixed a typo causing a warning message.

svn path=/trunk/; revision=3657

10 years agofix an open() call with creation without 3rd argument hopefully that
Daniel Veillard [Thu, 23 Aug 2007 20:47:33 +0000 (20:47 +0000)]
fix an open() call with creation without 3rd argument hopefully that

* nanohttp.c: fix an open() call with creation without 3rd argument
  hopefully that interface is never used.
Daniel

svn path=/trunk/; revision=3656

10 years agopreparing release of 2.6.30 Daniel
Daniel Veillard [Thu, 23 Aug 2007 15:00:06 +0000 (15:00 +0000)]
preparing release of 2.6.30 Daniel

* configure.in doc/*: preparing release of 2.6.30
Daniel

svn path=/trunk/; revision=3654

10 years agofixed mlXPathCompOpEvalPositionalPredicate problem with object caching
William M. Brack [Thu, 23 Aug 2007 12:58:13 +0000 (12:58 +0000)]
fixed mlXPathCompOpEvalPositionalPredicate problem with object caching

* xpath.c: fixed mlXPathCompOpEvalPositionalPredicate problem
  with object caching (bug #469410)

svn path=/trunk/; revision=3653

10 years agoapplied patch from Frank Gross fixing Schemas IDC import bug #455953 and
Daniel Veillard [Thu, 23 Aug 2007 09:29:03 +0000 (09:29 +0000)]
applied patch from Frank Gross fixing Schemas IDC import bug #455953 and

* xmlschemas.c test/schemas/*455953* result/schemas/bug455953*:
  applied patch from Frank Gross fixing Schemas IDC import bug
  #455953 and also add the test to the regression suite
Daniel

svn path=/trunk/; revision=3652

10 years agoUpdated links for Perl and lxml bindings, Daniel
Daniel Veillard [Wed, 22 Aug 2007 17:36:57 +0000 (17:36 +0000)]
Updated links for Perl and lxml bindings, Daniel

svn path=/trunk/; revision=3651

10 years agotry to fix for the nth time the automata generation in case of complex
Daniel Veillard [Wed, 22 Aug 2007 16:29:21 +0000 (16:29 +0000)]
try to fix for the nth time the automata generation in case of complex

* xmlregexp.c: try to fix for the nth time the automata generation
  in case of complex ranges. I suppose that time it is actually okay
Daniel

svn path=/trunk/; revision=3650

10 years agoaligned xmlSAXUserParseMemory() to match xmlSAXUserParseFile() logic based
Daniel Veillard [Tue, 14 Aug 2007 13:46:54 +0000 (13:46 +0000)]
aligned xmlSAXUserParseMemory() to match xmlSAXUserParseFile() logic based

* parser.c: aligned xmlSAXUserParseMemory() to match
  xmlSAXUserParseFile() logic based on Ashwin post, and ifdef
  cleanup
Daniel

svn path=/trunk/; revision=3649

10 years agofixed windows path determination (patch from Roland Schwarz, bug #462877)
Rob Richards [Tue, 14 Aug 2007 09:41:21 +0000 (09:41 +0000)]
fixed windows path determination (patch from Roland Schwarz, bug #462877)

* xmlIO.c: fixed windows path determination (patch from
  Roland Schwarz, bug #462877)
* win32/Makefile.mingw win32/configure.js: fixed mingw build
  (patch from Roland Schwarz, bug #462877)

svn path=/trunk/; revision=3648

10 years agofixed a parser bug where invalid char in comment may not be detected,
Daniel Veillard [Wed, 1 Aug 2007 07:49:06 +0000 (07:49 +0000)]
fixed a parser bug where invalid char in comment may not be detected,

* parser.c: fixed a parser bug where invalid char in comment may
  not be detected, reported by Ashwin Sinha
* test/errors/comment1.xml result/errors/comment1.xml*: added
  the example to the regression suite
Daniel

svn path=/trunk/; revision=3647

10 years agofixed problem reported on bug #460415 Daniel
Daniel Veillard [Thu, 26 Jul 2007 11:41:46 +0000 (11:41 +0000)]
fixed problem reported on bug #460415 Daniel

* xmlsave.c: fixed problem reported on bug #460415
Daniel

svn path=/trunk/; revision=3646

10 years agoapplied patch from from Patrik Fimml. Fixes bug #458268
William M. Brack [Fri, 20 Jul 2007 01:09:08 +0000 (01:09 +0000)]
applied patch from from Patrik Fimml. Fixes bug #458268

* uri.c: applied patch from from Patrik Fimml.  Fixes bug #458268

svn path=/trunk/; revision=3645

10 years agoapplied patch from bug #454608 from Patrik Fimml. Fixes bug #454608.
William M. Brack [Wed, 18 Jul 2007 18:04:55 +0000 (18:04 +0000)]
applied patch from bug #454608 from Patrik Fimml. Fixes bug #454608.

* xinclude.c: applied patch from bug #454608 from Patrik Fimml.
  Fixes bug #454608.

svn path=/trunk/; revision=3644

10 years agoapplied patch for xsi:nil from Frank Gross, this should fix bug #358125
Daniel Veillard [Wed, 11 Jul 2007 17:55:30 +0000 (17:55 +0000)]
applied patch for xsi:nil from Frank Gross, this should fix bug #358125

* xmlschemas.c: applied patch for xsi:nil from Frank Gross, this
  should fix bug #358125
Daniel

svn path=/trunk/; revision=3643

10 years agopatch from Dodji Seketeli to avoid a leak on repeated uses of
Daniel Veillard [Wed, 4 Jul 2007 15:42:46 +0000 (15:42 +0000)]
patch from Dodji Seketeli to avoid a leak on repeated uses of

* xmlwriter.c: patch from Dodji Seketeli to avoid a leak on repeated
  uses of xmlTextWriterStartDocument()
Daniel

svn path=/trunk/; revision=3642

10 years agofix a crash on solaris when a printf %s with a NULL argument occurs,
Daniel Veillard [Tue, 26 Jun 2007 11:30:31 +0000 (11:30 +0000)]
fix a crash on solaris when a printf %s with a NULL argument occurs,

* xmlschemas.c: fix a crash on solaris when a printf %s with a NULL
  argument occurs, should fix #450936
Daniel

svn path=/trunk/; revision=3641

10 years agofixed problem in previous fix to xmlXPathNodeSetSort
William M. Brack [Wed, 13 Jun 2007 20:33:02 +0000 (20:33 +0000)]
fixed problem in previous fix to xmlXPathNodeSetSort

* xpath.c: fixed problem in previous fix to xmlXPathNodeSetSort

svn path=/trunk/; revision=3640

10 years agorelease of libxml2 2.6.28 patch from Dagfinn I. Mannsåker for idness of
Daniel Veillard [Tue, 12 Jun 2007 16:20:09 +0000 (16:20 +0000)]
release of libxml2 2.6.28 patch from Dagfinn I. Mannsåker for idness of

* doc/* configure.in NEWS: release of libxml2 2.6.28
* valid.c: patch from Dagfinn I. Mannsåker for idness of name
  in HTML, c.f. bug #305885.
Daniel

svn path=/trunk/; revision=3638

10 years agofixing bug #319964, parsing of HTML attribute really should not have
Daniel Veillard [Tue, 12 Jun 2007 15:15:52 +0000 (15:15 +0000)]
fixing bug #319964, parsing of HTML attribute really should not have

* SAX2.c: fixing bug #319964, parsing of HTML attribute really
  should not have namespace processing.
Daniel

svn path=/trunk/; revision=3637

10 years agoProbably needed too to avoid the same problem on PIs, Daniel
Daniel Veillard [Tue, 12 Jun 2007 14:46:40 +0000 (14:46 +0000)]
Probably needed too to avoid the same problem on PIs, Daniel

svn path=/trunk/; revision=3636

10 years agofixed the push mode when a big comment occurs before an internal subset,
Daniel Veillard [Tue, 12 Jun 2007 14:44:32 +0000 (14:44 +0000)]
fixed the push mode when a big comment occurs before an internal subset,

* parser.c: fixed the push mode when a big comment occurs before
  an internal subset, should close bug #438835
* test/comment6.xml result//comment6.xml*: added a special
  test in the regression suite
Daniel

svn path=/trunk/; revision=3635

10 years agofix bug #414846 where invalid characters in attributes would sometimes not
Daniel Veillard [Tue, 12 Jun 2007 13:43:00 +0000 (13:43 +0000)]
fix bug #414846 where invalid characters in attributes would sometimes not

* parser.c: fix bug #414846 where invalid characters in attributes
  would sometimes not be detected.
* test/errors/attr4.xml result/errors/attr4.xml*: added a specific
  test case to the regression tests
Daniel

svn path=/trunk/; revision=3634

10 years agoapply patch from Ryan Hill to cope with changes in GNU tar, should fix
Daniel Veillard [Tue, 12 Jun 2007 12:24:54 +0000 (12:24 +0000)]
apply patch from Ryan Hill to cope with changes in GNU tar, should fix

* xstc/Makefile.am: apply patch from Ryan Hill to cope with changes
  in GNU tar, should fix #396751
Daniel

svn path=/trunk/; revision=3633

10 years agotry to allow compilation on old python version should fix #398125 Daniel
Daniel Veillard [Tue, 12 Jun 2007 10:04:37 +0000 (10:04 +0000)]
try to allow compilation on old python version should fix #398125 Daniel

* python/types.c: try to allow compilation on old python version
  should fix #398125
Daniel

svn path=/trunk/; revision=3632