baserock-morphs:libxml2.git
10 years agoNew tag for 2.6.29, Daniel LIBXML2_2_6_29
Daniel Veillard [Tue, 12 Jun 2007 21:13:54 +0000 (21:13 +0000)]
New tag for 2.6.29, Daniel

svn path=/tags/LIBXML2_2_6_29/; revision=3639

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

10 years agoadded checks for alloc fail on calls to xmlXPathNewContext (libxslt bug
William M. Brack [Wed, 24 Jan 2007 19:17:19 +0000 (19:17 +0000)]
added checks for alloc fail on calls to xmlXPathNewContext (libxslt bug

* xpath.c: added checks for alloc fail on calls to xmlXPathNewContext
  (libxslt bug #400242)

svn path=/trunk/; revision=3575

10 years agoRe-generated the documentation (API chunks 27-29 were missing) (also
William M. Brack [Thu, 11 Jan 2007 23:42:10 +0000 (23:42 +0000)]
Re-generated the documentation (API chunks 27-29 were missing) (also

* Re-generated the documentation (API chunks 27-29 were missing)
          (also causes changes to testapi.c, elfgcchack.h and
          win32/libxml2.def.src)

svn path=/trunk/; revision=3574

10 years agofix a memory leak in the python string handling when SAX event are passed
Daniel Veillard [Tue, 9 Jan 2007 21:24:34 +0000 (21:24 +0000)]
fix a memory leak in the python string handling when SAX event are passed

* python/libxml.c: fix a memory leak in the python string handling
  when SAX event are passed back to the python handlers
Daniel

svn path=/trunk/; revision=3573

10 years agofix xmlTextReaderSetup() description tests which were apparently never
Daniel Veillard [Thu, 4 Jan 2007 17:28:35 +0000 (17:28 +0000)]
fix xmlTextReaderSetup() description tests which were apparently never

* xmlreader.c: fix xmlTextReaderSetup() description
* test/relaxng/empty1.rng test/relaxng/comps_0.xml
  test/relaxng/empty1_0.xml test/relaxng/comps.rng
  test/relaxng/empty0.rng test/relaxng/empty0_0.xml
  test/relaxng/empty1_1.xml: tests which were apparently
  never commited to CVS
Daniel

svn path=/trunk/; revision=3572

10 years agoexpose xmlTextReaderSetup function
Aleksey Sanin [Wed, 3 Jan 2007 23:13:12 +0000 (23:13 +0000)]
expose xmlTextReaderSetup function

svn path=/trunk/; revision=3571

10 years agoadapt the extra versioning code to SVN Daniel
Daniel Veillard [Wed, 3 Jan 2007 15:07:44 +0000 (15:07 +0000)]
adapt the extra versioning code to SVN Daniel

* configure.in: adapt the extra versioning code to SVN
Daniel

svn path=/trunk/; revision=3570

10 years agoapparently id() sometimes generate negative values and %X outputs -XXXX
Daniel Veillard [Thu, 14 Dec 2006 15:49:41 +0000 (15:49 +0000)]
apparently id() sometimes generate negative values and %X outputs -XXXX

* python/generator.py python/libxml.py: apparently id() sometimes
  generate negative values and %X outputs -XXXX :-(
Daniel

10 years agopatch from Michael Day on standalone and XML declaration detection, and
Daniel Veillard [Mon, 4 Dec 2006 09:26:04 +0000 (09:26 +0000)]
patch from Michael Day on standalone and XML declaration detection, and

* parser.c include/libxml/tree.h: patch from Michael Day on standalone
  and XML declaration detection, and associated documentation change
Daniel

10 years agoanothe XInclude user data propagation patch from Michael Day Daniel
Daniel Veillard [Mon, 4 Dec 2006 09:21:28 +0000 (09:21 +0000)]
anothe XInclude user data propagation patch from Michael Day Daniel

* xinclude.c: anothe XInclude user data propagation patch from
  Michael Day
Daniel

11 years agoapplied patch from Steven Rainwater to fix UTF8ToHtml behaviour on code
Daniel Veillard [Thu, 23 Nov 2006 16:18:30 +0000 (16:18 +0000)]
applied patch from Steven Rainwater to fix UTF8ToHtml behaviour on code

* HTMLparser.c: applied patch from Steven Rainwater to fix
  UTF8ToHtml behaviour on code points which are not mappable to
  predefined HTML entities, fixes #377544
Daniel

11 years agofixed a bug where the principal node type of an axis wasn't tested on name
Daniel Veillard [Thu, 23 Nov 2006 16:08:30 +0000 (16:08 +0000)]
fixed a bug where the principal node type of an axis wasn't tested on name

* xpath.c: fixed a bug where the principal node type of an axis
  wasn't tested on name check, fixes bug #377432
daniel

11 years agochange htmlCtxtReset() following Michael Day bug report and suggestion.
Daniel Veillard [Wed, 8 Nov 2006 09:16:56 +0000 (09:16 +0000)]
change htmlCtxtReset() following Michael Day bug report and suggestion.

* HTMLparser.c: change htmlCtxtReset() following Michael Day bug
  report and suggestion.
Daniel

11 years agoapplied patch from Igor for path conversion on Windows Daniel
Daniel Veillard [Mon, 6 Nov 2006 08:54:18 +0000 (08:54 +0000)]
applied patch from Igor for path conversion on Windows Daniel

* uri.c: applied patch from Igor for path conversion on Windows
Daniel

11 years agoanother small change on the algorithm for the elimination of epsilon
Daniel Veillard [Thu, 2 Nov 2006 10:28:04 +0000 (10:28 +0000)]
another small change on the algorithm for the elimination of epsilon

* xmlregexp.c: another small change on the algorithm for the
  elimination of epsilon transitions, should help on #362989 too
Daniel

11 years agoapplied documentation patches from Markus Keim fixed one bug and added a
Daniel Veillard [Wed, 1 Nov 2006 15:33:04 +0000 (15:33 +0000)]
applied documentation patches from Markus Keim fixed one bug and added a

* tree.c: applied documentation patches from Markus Keim
* xmlregexp.c: fixed one bug and added a couple of optimisations
  while working on bug #362989
Daniel

11 years agoapplied a reworked version of Usamah Malik patch to avoid growing the
Daniel Veillard [Fri, 27 Oct 2006 12:53:28 +0000 (12:53 +0000)]
applied a reworked version of Usamah Malik patch to avoid growing the

* HTMLparser.c: applied a reworked version of Usamah Malik patch
  to avoid growing the parser stack in some autoclose cases, should
  fix #361221
Daniel

11 years agoWilliam spotted an obvious bug Daniel
Daniel Veillard [Thu, 26 Oct 2006 08:55:47 +0000 (08:55 +0000)]
William spotted an obvious bug Daniel

* xpath.c: William spotted an obvious bug
Daniel

11 years agopreparing release of libxml2-2.6.27 fix a small problem with preproc flags LIBXML2_2_6_27
Daniel Veillard [Wed, 25 Oct 2006 16:06:29 +0000 (16:06 +0000)]
preparing release of libxml2-2.6.27 fix a small problem with preproc flags

* NEWS configure.in testapi.c doc//*: preparing release of
  libxml2-2.6.27
* include/libxml/tree.h: fix a small problem with preproc flags
Daniel

11 years agofix comment for xmlDocSetRootElement c.f. #351981 order XPath elements
Daniel Veillard [Fri, 20 Oct 2006 12:55:34 +0000 (12:55 +0000)]
fix comment for xmlDocSetRootElement c.f. #351981 order XPath elements

* tree.c: fix comment for xmlDocSetRootElement c.f. #351981
* xmllint.c: order XPath elements when using --shell
Daniel

11 years agoapplied fix from Christopher Boumenot for bug #362714 on regexps missing
Daniel Veillard [Tue, 17 Oct 2006 21:23:17 +0000 (21:23 +0000)]
applied fix from Christopher Boumenot for bug #362714 on regexps missing

* xmlregexp.c: applied fix from Christopher Boumenot for bug
  #362714 on regexps missing ']'
Daniel

11 years agoapplied patch from Marius Konitzer to avoid leaking in
Daniel Veillard [Tue, 17 Oct 2006 20:32:22 +0000 (20:32 +0000)]
applied patch from Marius Konitzer to avoid leaking in

* parserInternals.c: applied patch from Marius Konitzer to avoid
  leaking in xmlNewInputFromFile() in case of HTTP redirection
Daniel

11 years agofix one problem found in htmlCtxtUseOptions() and pointed in #340591
Daniel Veillard [Tue, 17 Oct 2006 20:18:39 +0000 (20:18 +0000)]
fix one problem found in htmlCtxtUseOptions() and pointed in #340591

* HTMLparser.c: fix one problem found in htmlCtxtUseOptions()
  and pointed in #340591
Daniel

11 years agofixed teh 2 stupid bugs affecting htmlReadDoc() and htmlReadIO() this
Daniel Veillard [Tue, 17 Oct 2006 20:04:10 +0000 (20:04 +0000)]
fixed teh 2 stupid bugs affecting htmlReadDoc() and htmlReadIO() this

* HTMLparser.c: fixed teh 2 stupid bugs affecting htmlReadDoc() and
  htmlReadIO() this should fix #340322
Daniel

11 years agoapplied patch from Olaf Walkowiak which should fix #334104 Daniel
Daniel Veillard [Tue, 17 Oct 2006 19:39:33 +0000 (19:39 +0000)]
applied patch from Olaf Walkowiak which should fix #334104 Daniel

* xpath.c: applied patch from Olaf Walkowiak which should fix #334104
Daniel

11 years agofixing HTML minimized attribute values to be generated internally if not
Daniel Veillard [Tue, 17 Oct 2006 16:13:27 +0000 (16:13 +0000)]
fixing HTML minimized attribute values to be generated internally if not

* HTMLparser.c: fixing HTML minimized attribute values to be generated
  internally if not present, fixes bug #332124
* result/HTML/doc2.htm.sax result/HTML/doc3.htm.sax
  result/HTML/wired.html.sax: this affects the SAX event strem for
  a few test cases
Daniel

11 years agofixing HTML entities in attributes parsing bug #362552 added to the
Daniel Veillard [Tue, 17 Oct 2006 15:56:35 +0000 (15:56 +0000)]
fixing HTML entities in attributes parsing bug #362552 added to the

* HTMLparser.c: fixing HTML entities in attributes parsing bug #362552
* result/HTML/entities2.html* test/HTML/entities2.html: added to
  the regression suite
Daniel

11 years agostarted to switch xmllint to use xmlSaveDoc to test #342556 fixed #342556
Daniel Veillard [Mon, 16 Oct 2006 23:22:10 +0000 (23:22 +0000)]
started to switch xmllint to use xmlSaveDoc to test #342556 fixed #342556

* xmllint.c: started to switch xmllint to use xmlSaveDoc to test
  #342556
* xmlsave.c: fixed #342556 easy and a whole set of problems with
  encodings, BOM and xmlSaveDoc()
Daniel

11 years agofix #348252 if the document clains to be in a different encoding in the
Daniel Veillard [Mon, 16 Oct 2006 13:14:55 +0000 (13:14 +0000)]
fix #348252 if the document clains to be in a different encoding in the

* HTMLparser.c: fix #348252 if the document clains to be in a
  different encoding in the meta tag and it's obviously wrong,
  don't screw up the end of the content.
Daniel

11 years agofix a chunking and script bug #347708 Daniel
Daniel Veillard [Mon, 16 Oct 2006 09:32:17 +0000 (09:32 +0000)]
fix a chunking and script bug #347708 Daniel

* HTMLparser.c: fix a chunking and script bug #347708
Daniel

11 years agoremove a warning check with uppercase for AIX iconv() should fix #352644
Daniel Veillard [Mon, 16 Oct 2006 08:31:18 +0000 (08:31 +0000)]
remove a warning check with uppercase for AIX iconv() should fix #352644

* HTMLparser.c: remove a warning
* encoding.c: check with uppercase for AIX iconv() should fix #352644
* doc/examples/Makefile.am: partially handle one bug report
Daniel

11 years agofix the patch for unreproductable #343000 but also fix a line/column
Daniel Veillard [Sun, 15 Oct 2006 20:32:53 +0000 (20:32 +0000)]
fix the patch for unreproductable #343000 but also fix a line/column

* parser.c: fix the patch for unreproductable #343000 but
  also fix a line/column keeping error
* result/errors/attr1.xml.err result/errors/attr2.xml.err
  result/errors/name.xml.err result/errors/name2.xml.err
  result/schemas/anyAttr-processContents-err1_0_0.err
  result/schemas/bug312957_1_0.err: affected lines in error output
  of the regression tests
Daniel

11 years agofixing bug #344390 with xmlReconciliateNs Daniel
Daniel Veillard [Sat, 14 Oct 2006 08:46:40 +0000 (08:46 +0000)]
fixing bug #344390 with xmlReconciliateNs Daniel

* tree.c: fixing bug #344390 with xmlReconciliateNs
Daniel

11 years agoadded --html --memory to test htmlReadMemory to test #321632 added various
Daniel Veillard [Fri, 13 Oct 2006 22:33:03 +0000 (22:33 +0000)]
added --html --memory to test htmlReadMemory to test #321632 added various

* xmllint.c: added --html --memory to test htmlReadMemory to
  test #321632
* HTMLparser.c: added various initialization calls which may help
  #321632 but not conclusive
* testapi.c tree.c include/libxml/tree.h: fixed compilation with
  --with-minimum --with-sax1 and --with-minimum --with-schemas
  fixing #326442
Daniel

11 years agoAdding test file, Daniel
Daniel Veillard [Fri, 13 Oct 2006 16:39:14 +0000 (16:39 +0000)]
Adding test file, Daniel

11 years agofix a Relax-NG bug related to element content processing, fixes bug
Daniel Veillard [Fri, 13 Oct 2006 16:30:56 +0000 (16:30 +0000)]
fix a Relax-NG bug related to element content processing, fixes bug

* relaxng.c: fix a Relax-NG bug related to element content processing,
  fixes bug #302836
Daniel

11 years agofix a problem in xmlSplitQName resulting in bug #334669 Daniel
Daniel Veillard [Fri, 13 Oct 2006 12:42:31 +0000 (12:42 +0000)]
fix a problem in xmlSplitQName resulting in bug #334669 Daniel

* parser.c: fix a problem in xmlSplitQName resulting in bug #334669
Daniel

11 years agofixed xmlIOParseDTD handling of @input in error case, Should fix #335085
Daniel Veillard [Fri, 13 Oct 2006 10:28:21 +0000 (10:28 +0000)]
fixed xmlIOParseDTD handling of @input in error case, Should fix #335085

* parser.c: fixed xmlIOParseDTD handling of @input in error case,
  Should fix #335085
* testapi.c: reset the http_proxy env variable to not waste time
  on regression tests
Daniel