baserock-morphs:libxml2.git
9 years agotagging release 2.6.31, Daniel LIBXML2.6.31
Daniel Veillard [Fri, 11 Jan 2008 09:20:58 +0000 (09:20 +0000)]
tagging release 2.6.31, Daniel

svn path=/tags/LIBXML2.6.31/; revision=3678

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

10 years agohtmlNodeDumpFormatOutput didn't handle XML_ATTRIBUTE_NODe fixes bug
Daniel Veillard [Tue, 12 Jun 2007 09:49:40 +0000 (09:49 +0000)]
htmlNodeDumpFormatOutput didn't handle XML_ATTRIBUTE_NODe fixes bug

* HTMLtree.c: htmlNodeDumpFormatOutput didn't handle XML_ATTRIBUTE_NODe
  fixes bug #438390
Daniel

svn path=/trunk/; revision=3631

10 years agoworkaround misgenerated file: URIs c.f. #437385 daniel
Daniel Veillard [Tue, 12 Jun 2007 09:39:14 +0000 (09:39 +0000)]
workaround misgenerated file: URIs c.f. #437385 daniel

* xmlIO.c: workaround misgenerated file: URIs c.f. #437385
daniel

svn path=/trunk/; revision=3630

10 years agofixed bug #407436 a crash in a specific case of Relax-NG validation Daniel
Daniel Veillard [Tue, 12 Jun 2007 09:24:46 +0000 (09:24 +0000)]
fixed bug #407436 a crash in a specific case of Relax-NG validation Daniel

* relaxng.c: fixed bug #407436 a crash in a specific case of
  Relax-NG validation
Daniel

svn path=/trunk/; revision=3629

10 years agofixed bug #383687, some case of recursion on next were not caught in the
Daniel Veillard [Tue, 12 Jun 2007 09:14:11 +0000 (09:14 +0000)]
fixed bug #383687, some case of recursion on next were not caught in the

* catalog.c: fixed bug #383687, some case of recursion on next
  were not caught in the catalog code.
Daniel

svn path=/trunk/; revision=3628

10 years agofixed bug #381877, avoid reading over the end of stream when generating an
Daniel Veillard [Tue, 12 Jun 2007 08:38:57 +0000 (08:38 +0000)]
fixed bug #381877, avoid reading over the end of stream when generating an

* HTMLparser.c: fixed bug #381877, avoid reading over the end
  of stream when generating an UTF-8 encoding error.
Daniel

svn path=/trunk/; revision=3627

10 years agofixed bug #366161, trivially added the check in xmlCtxtReset() Daniel
Daniel Veillard [Tue, 12 Jun 2007 08:18:21 +0000 (08:18 +0000)]
fixed bug #366161, trivially added the check in xmlCtxtReset() Daniel

* parser.c: fixed bug #366161, trivially added the check in
  xmlCtxtReset()
Daniel

svn path=/trunk/; revision=3626

10 years agoadd --vcmanifest flag (yes/no) for VC8 build support to embed manifest
Rob Richards [Fri, 8 Jun 2007 19:47:37 +0000 (19:47 +0000)]
add --vcmanifest flag (yes/no) for VC8 build support to embed manifest

* win32/configure.js win32/Makefile.msvc: add --vcmanifest flag (yes/no)
  for VC8 build support to embed manifest within files. Under MS VC, build
  libxml2_a_dll.lib by default (LIBXML_STATIC_FOR_DLL flag).

svn path=/trunk/; revision=3625

10 years ago*use specified calling convention
Rob Richards [Fri, 8 Jun 2007 19:36:04 +0000 (19:36 +0000)]
*use specified calling convention
  for xmlDllMain. Old SDKs (VC6) only support InterlockedCompareExchange.
  add xmlDllMain to header for win32 when building for static dll

svn path=/trunk/; revision=3624

10 years agofixed problem with namespace declaration being written more than once per
Rob Richards [Fri, 8 Jun 2007 08:50:47 +0000 (08:50 +0000)]
fixed problem with namespace declaration being written more than once per

* xmlwriter.c: fixed problem with namespace declaration being
  written more than once per element start tag

svn path=/trunk/; revision=3623

10 years agofixed problem with xmlXPathNodeSetSort; fixed problem with
William M. Brack [Wed, 6 Jun 2007 17:19:24 +0000 (17:19 +0000)]
fixed problem with xmlXPathNodeSetSort; fixed problem with

* xpath.c: fixed problem with xmlXPathNodeSetSort;
  fixed problem with xmlXPathNodeTrailingSorted (both bug#413451)

svn path=/trunk/; revision=3622

10 years agofixed problem with string value for PI node (bug #442275)
William M. Brack [Thu, 31 May 2007 05:07:17 +0000 (05:07 +0000)]
fixed problem with string value for PI node (bug #442275)

* xpath.c: fixed problem with string value for PI node
  (bug #442275)

svn path=/trunk/; revision=3621

10 years agofix bug reported by François Delyon Daniel LIBXML2_2_6_28
Daniel Veillard [Mon, 28 May 2007 14:16:33 +0000 (14:16 +0000)]
fix bug reported by François Delyon Daniel

* uri.c: fix bug reported by François Delyon
Daniel

svn path=/trunk/; revision=3619

10 years agoFixed typo in xmlCharEncFirstLine pointed out by Mark Rowe (bug #440159)
William M. Brack [Tue, 22 May 2007 16:00:06 +0000 (16:00 +0000)]
Fixed typo in xmlCharEncFirstLine pointed out by Mark Rowe (bug #440159)

* encoding.c: Fixed typo in xmlCharEncFirstLine pointed out
  by Mark Rowe (bug #440159)
* include/libxml/xmlversion.h.in: Added check for definition of
  _POSIX_C_SOURCE to avoid warnings on Apple OS/X (patch from
  Wendy Doyle and Mark Rowe, bug #346675)
* schematron.c, testapi.c, tree.c, xmlIO.c, xmlsave.c: minor
  changes to fix compilation warnings - no change to logic.

svn path=/trunk/; revision=3618

10 years agosmall enhancement to last fix, pointed out by Alex Cornejo
William M. Brack [Wed, 16 May 2007 05:19:13 +0000 (05:19 +0000)]
small enhancement to last fix, pointed out by Alex Cornejo

* nanohttp.c: small enhancement to last fix, pointed out
  by Alex Cornejo

svn path=/trunk/; revision=3617

10 years agofixed problem on gzip streams (bug #438045) fixed minor spot of redundant
William M. Brack [Tue, 15 May 2007 19:42:08 +0000 (19:42 +0000)]
fixed problem on gzip streams (bug #438045) fixed minor spot of redundant

* nanohttp.c: fixed problem on gzip streams (bug #438045)
* xpath.c: fixed minor spot of redundant code - no logic change.

svn path=/trunk/; revision=3616

10 years agoenhanced the coding for xmlXPathCastNumberToString in order to produce the
William M. Brack [Fri, 11 May 2007 14:45:53 +0000 (14:45 +0000)]
enhanced the coding for xmlXPathCastNumberToString in order to produce the

* xpath.c: enhanced the coding for xmlXPathCastNumberToString
  in order to produce the required number of significant digits
  (bug #437179)

svn path=/trunk/; revision=3615

10 years agoapplied patch to fix xmlListAppend() from Georges-André SILBER also fix
Daniel Veillard [Wed, 9 May 2007 23:53:30 +0000 (23:53 +0000)]
applied patch to fix xmlListAppend() from Georges-André SILBER also fix

* list.c: applied patch to fix xmlListAppend() from
  Georges-André SILBER
* valid.c: also fix the place wher it was called.
Daniel

svn path=/trunk/; revision=3614

10 years agotried to fix an error problem on entity content failure reported by
Daniel Veillard [Wed, 2 May 2007 16:50:03 +0000 (16:50 +0000)]
tried to fix an error problem on entity content failure reported by

* parser.c: tried to fix an error problem on entity content failure
  reported by Michael Day
Daniel

svn path=/trunk/; revision=3613

10 years agotypo patch from Bjorn Reese Daniel
Daniel Veillard [Wed, 2 May 2007 16:25:45 +0000 (16:25 +0000)]
typo patch from Bjorn Reese Daniel

* configure.in: typo patch from Bjorn Reese
Daniel

svn path=/trunk/; revision=3612

10 years agoapplied patch from Michael Day to add support for <embed> Daniel
Daniel Veillard [Wed, 2 May 2007 16:15:18 +0000 (16:15 +0000)]
applied patch from Michael Day to add support for <embed> Daniel

* HTMLparser.c: applied patch from Michael Day to add support for <embed>
Daniel

svn path=/trunk/; revision=3611

10 years agoDohh !
Daniel Veillard [Fri, 27 Apr 2007 09:33:58 +0000 (09:33 +0000)]
Dohh !

Daniel

svn path=/trunk/; revision=3610

10 years agoJean-Daniel Dupas pointed a couple of problems in htmlCreateDocParserCtxt.
Daniel Veillard [Thu, 26 Apr 2007 08:55:33 +0000 (08:55 +0000)]
Jean-Daniel Dupas pointed a couple of problems in htmlCreateDocParserCtxt.

* HTMLparser.c: Jean-Daniel Dupas pointed a couple of problems
  in htmlCreateDocParserCtxt.
Daniel

svn path=/trunk/; revision=3609

10 years agopatch from Richard Jones to save the query part in raw form. also added
Daniel Veillard [Thu, 26 Apr 2007 08:45:23 +0000 (08:45 +0000)]
patch from Richard Jones to save the query part in raw form. also added

* uri.c include/libxml/uri.h: patch from Richard Jones to save
  the query part in raw form.
* libxml2-python-api.xml: also added accessor for the python bindings
Daniel

svn path=/trunk/; revision=3608

10 years agopatch from Richard Jones to save the query part in raw form. Daniel
Daniel Veillard [Thu, 26 Apr 2007 08:33:28 +0000 (08:33 +0000)]
patch from Richard Jones to save the query part in raw form. Daniel

* uri.c include/libxml/uri.h: patch from Richard Jones to save
  the query part in raw form.
Daniel

svn path=/trunk/; revision=3607

10 years agoapplied patch from Richard Jones to for the silent flag on valgrind when
Daniel Veillard [Wed, 25 Apr 2007 13:55:20 +0000 (13:55 +0000)]
applied patch from Richard Jones to for the silent flag on valgrind when

* xstc/Makefile.am doc/examples/Makefile.am Makefile.am: applied
  patch from Richard Jones to for the silent flag on valgrind
  when doing "make valgrind"
* xmlregexp.c: raise a regexp error when '\' is misused to escape
  a standard character.
Daniel

svn path=/trunk/; revision=3606

10 years agoRichard Jones reported xmlBufferAdd (buf, "", -1), fixing it Daniel
Daniel Veillard [Tue, 24 Apr 2007 18:12:06 +0000 (18:12 +0000)]
Richard Jones reported xmlBufferAdd (buf, "", -1), fixing it Daniel

* tree.c: Richard Jones reported xmlBufferAdd (buf, "", -1), fixing it
Daniel

svn path=/trunk/; revision=3605

10 years agoMore doc cleanup, Daniel
Daniel Veillard [Tue, 24 Apr 2007 10:19:52 +0000 (10:19 +0000)]
More doc cleanup, Daniel

svn path=/trunk/; revision=3604

10 years agofix xmlURIUnescapeString comments which was confusing Daniel
Daniel Veillard [Tue, 24 Apr 2007 08:57:54 +0000 (08:57 +0000)]
fix xmlURIUnescapeString comments which was confusing Daniel

* uri.c: fix xmlURIUnescapeString comments which was confusing
Daniel

svn path=/trunk/; revision=3603

10 years agonew patch from Andreas Stricke to better integrate support for Windows CE
Daniel Veillard [Wed, 18 Apr 2007 07:51:50 +0000 (07:51 +0000)]
new patch from Andreas Stricke to better integrate support for Windows CE

* include/win32config.h libxml.h: new patch from Andreas Stricke to
  better integrate support for Windows CE
Daniel

svn path=/trunk/; revision=3602

10 years agorelease of libxml2 2.6.28 Daniel
Daniel Veillard [Tue, 17 Apr 2007 14:47:05 +0000 (14:47 +0000)]
release of libxml2 2.6.28 Daniel

* doc/* configure.in NEWS: release of libxml2 2.6.28
Daniel

svn path=/trunk/; revision=3601

10 years agoapplied patch from Andreas Stricke to ease the compilation on Windows CE
Daniel Veillard [Tue, 17 Apr 2007 12:44:58 +0000 (12:44 +0000)]
applied patch from Andreas Stricke to ease the compilation on Windows CE

* catalog.c libxml.h win32/wince/wincecompat.h win32/wince/wincecompat.c
  xmlIO.c nanohttp.c nanoftp.c trio.c triostr.c triostr.h: applied
  patch from Andreas Stricke to ease the compilation on Windows CE
Daniel

svn path=/trunk/; revision=3600

10 years ago"xmllint unusable on win32" so applied a libxml2 patch from Christian
Daniel Veillard [Tue, 17 Apr 2007 12:33:19 +0000 (12:33 +0000)]
"xmllint unusable on win32" so applied a libxml2 patch from Christian

* xmllint.c catalog.c: "xmllint unusable on win32" so applied
  a libxml2 patch from Christian Ehrlicher
Daniel

svn path=/trunk/; revision=3599

10 years agochange the way script/style are parsed to not try to detect comments,
Daniel Veillard [Mon, 16 Apr 2007 07:02:31 +0000 (07:02 +0000)]
change the way script/style are parsed to not try to detect comments,

* HTMLparser.c: change the way script/style are parsed to
  not try to detect comments, reported by Mike Day
* result/HTML/doc3.*: affects the result of that test
Daniel

svn path=/trunk/; revision=3598

10 years agosmall enhancement for quantifier range with min occurs of 0; fixes bug
William M. Brack [Wed, 11 Apr 2007 14:33:46 +0000 (14:33 +0000)]
small enhancement for quantifier range with min occurs of 0; fixes bug

* xmlregexp.c: small enhancement for quantifier range with
  min occurs of 0; fixes bug 425542.

svn path=/trunk/; revision=3597

10 years agoapplied change from Michael Day to avoid a problem when compiled without
Daniel Veillard [Fri, 30 Mar 2007 12:39:25 +0000 (12:39 +0000)]
applied change from Michael Day to avoid a problem when compiled without

* xmlIO.c: applied change from Michael Day to avoid a problem when
  compiled without zlib support.
Daniel

svn path=/trunk/; revision=3596

10 years agoapplied documentation patch from James Dennett Daniel
Daniel Veillard [Wed, 21 Mar 2007 16:47:12 +0000 (16:47 +0000)]
applied documentation patch from James Dennett Daniel

* include/libxml/xpath.h: applied documentation patch from James Dennett
Daniel

svn path=/trunk/; revision=3595

10 years agofixed problem with 0x2d in Char Range (bug #420596) added regression test
William M. Brack [Wed, 21 Mar 2007 13:16:33 +0000 (13:16 +0000)]
fixed problem with 0x2d in Char Range (bug #420596) added regression test

* xmlregexp.c: fixed problem with 0x2d in Char Range (bug #420596)
* test/regexp/bug420596, result/regexp/bug420596: added regression
  test for this

svn path=/trunk/; revision=3594

10 years agofixed memory access error on parsing of meta data which had errors (bug
William M. Brack [Wed, 21 Mar 2007 06:16:02 +0000 (06:16 +0000)]
fixed memory access error on parsing of meta data which had errors (bug

* HTMLparser.c: fixed memory access error on parsing of meta data
  which had errors (bug #382206).  Also cleaned up a few warnings
  by adding some additional DECL macros.

svn path=/trunk/; revision=3593

10 years agoapplied patch from Björn Wiberg to try to fix again the silly
Daniel Veillard [Tue, 20 Mar 2007 08:47:29 +0000 (08:47 +0000)]
applied patch from Björn Wiberg to try to fix again the silly

* nanoftp.c: applied patch from Björn Wiberg to try to fix again
  the silly __ss_familly problem on various AIXes, should fix #420184
Daniel

svn path=/trunk/; revision=3592

10 years agocorrected small error in last commit corrected small typo in last commit
William M. Brack [Wed, 14 Mar 2007 12:40:21 +0000 (12:40 +0000)]
corrected small error in last commit corrected small typo in last commit

* configure.in: corrected small error in last commit
* xmlreader.c: corrected small typo in last commit

svn path=/trunk/; revision=3591

10 years agofixed problem with referenced attribute groups (bug #417621) re-ordered
William M. Brack [Wed, 14 Mar 2007 09:34:15 +0000 (09:34 +0000)]
fixed problem with referenced attribute groups (bug #417621) re-ordered

* xmlschemas.c: fixed problem with referenced attribute groups
  (bug #417621)
* configure.in: re-ordered some includes for types.h / socket.h
  (bug 416001)

svn path=/trunk/; revision=3590

10 years agoRemoved missing link, Daniel
Daniel Veillard [Tue, 13 Mar 2007 15:25:19 +0000 (15:25 +0000)]
Removed missing link, Daniel

svn path=/trunk/; revision=3589

10 years agoapplied patch from Julien Reichel cleaning up mode and state internal
Daniel Veillard [Fri, 9 Mar 2007 16:59:05 +0000 (16:59 +0000)]
applied patch from Julien Reichel cleaning up mode and state internal

* xmlreader.c: applied patch from Julien Reichel cleaning up mode
  and state internal flags mixups
Daniel

svn path=/trunk/; revision=3588

10 years agofixed xmlXPathCmpNodes for incorrect result on certain cases when
William M. Brack [Wed, 7 Mar 2007 08:15:01 +0000 (08:15 +0000)]
fixed xmlXPathCmpNodes for incorrect result on certain cases when

* xpath.c: fixed xmlXPathCmpNodes for incorrect result on certain
  cases when comparing identical nodes (bug 415567) with patch
  from Oleg Paraschenko

svn path=/trunk/; revision=3587

10 years agofixed tab problem with patch from Andreas Hanke (bug #408626)
William M. Brack [Fri, 16 Feb 2007 17:11:09 +0000 (17:11 +0000)]
fixed tab problem with patch from Andreas Hanke (bug #408626)

* python/libxml.py: fixed tab problem with patch from Andreas Hanke (bug #408626)

svn path=/trunk/; revision=3586

10 years agoChanged all references to libxml2 CVS over to the corresponding SVN. A few
William M. Brack [Thu, 15 Feb 2007 20:41:02 +0000 (20:41 +0000)]
Changed all references to libxml2 CVS over to the corresponding SVN. A few

* doc/xml.html: Changed all references to libxml2 CVS over to
  the corresponding SVN.  A few other spelling/grammar/links
  also changed.
* doc/libxml2-api.xml, doc/*.html: Regenerated all docs.

svn path=/trunk/; revision=3585

10 years agoFixed memory bug with invalid function reported by Francois Delyon on
William M. Brack [Wed, 14 Feb 2007 02:15:19 +0000 (02:15 +0000)]
Fixed memory bug with invalid function reported by Francois Delyon on

* xpath.c: Fixed memory bug with invalid function reported by Francois Delyon on mailing list

svn path=/trunk/; revision=3584

10 years agofixed problem with invalid char encountered during text include (reported
William M. Brack [Tue, 13 Feb 2007 00:37:20 +0000 (00:37 +0000)]
fixed problem with invalid char encountered during text include (reported

* xinclude.c: fixed problem with invalid char encountered during text include (reported on xslt mailing list)

svn path=/trunk/; revision=3583

10 years agosmall cleanup to avoid packaging .svn applied patch to avoid a problem in
Daniel Veillard [Mon, 12 Feb 2007 17:31:53 +0000 (17:31 +0000)]
small cleanup to avoid packaging .svn applied patch to avoid a problem in

* Makefile.am: small cleanup to avoid packaging .svn
* libxml.h threads.c parser.c: applied patch to avoid a problem
  in concurrent threaded initialization fix from Ted Phelps
Daniel

svn path=/trunk/; revision=3582

10 years agofixed mistake in previous commit (ChangeLog is correct)
William M. Brack [Fri, 9 Feb 2007 00:07:07 +0000 (00:07 +0000)]
fixed mistake in previous commit (ChangeLog is correct)

svn path=/trunk/; revision=3581

10 years agoregenerated
William M. Brack [Thu, 8 Feb 2007 23:36:00 +0000 (23:36 +0000)]
regenerated

svn path=/trunk/; revision=3580

10 years agoadded a GROW when parsing complex comments (bug #405666) added a hack to
William M. Brack [Thu, 8 Feb 2007 23:34:34 +0000 (23:34 +0000)]
added a GROW when parsing complex comments (bug #405666) added a hack to

* parser.c: added a GROW when parsing complex comments (bug #405666)
* gentest.py, testapi.c: added a hack to prevent destruction of any
  param with 'destroy' in it's description (i.e. param destroyed by
  the routine under test, so shouldn't be destroyed by testapi)
* xmlreader.c: added freeing of 'input' param even on error

svn path=/trunk/; revision=3579

10 years agorepositioned #include for libxml.h to avoid compilation error on some
William M. Brack [Wed, 31 Jan 2007 18:38:56 +0000 (18:38 +0000)]
repositioned #include for libxml.h to avoid compilation error on some

* testAutomata.c, testRegexp.c, testThreads.c, testThreadsWin32.c,
  xmlwriter.c: repositioned #include for libxml.h to avoid
  compilation error on some architectures (bug #398277)

svn path=/trunk/; revision=3578

10 years agodeleting duplicate entries
William M. Brack [Wed, 31 Jan 2007 18:25:12 +0000 (18:25 +0000)]
deleting duplicate entries

svn path=/trunk/; revision=3577

10 years agoimplemented patch from S. Bidoul for uri.c (bug #389767)
William M. Brack [Sat, 27 Jan 2007 07:59:37 +0000 (07:59 +0000)]
implemented patch from S. Bidoul for uri.c (bug #389767)

* implemented patch from S. Bidoul for uri.c (bug #389767)

svn path=/trunk/; revision=3576