1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
Commit Graph

1742 Commits

Author SHA1 Message Date
Daniel Veillard
7899c5c5d6 adding XInclude support to the reader interface. Lot of testing of the
* xinclude.c xmlreader.c include/libxml/xinclude.h: adding XInclude
  support to the reader interface. Lot of testing of the walker,
  various bug fixes.
* xmllint.c: added --walker and made sure --xinclude --stream --debug
  works as expected
* Makefile.am result/dtd11.rdr result/ent6.rdr test/dtd11 test/ent6
  result/XInclude/*.rdr: added regression tests for the walker and
  XInclude xmlReader support, had to slightly change a couple of tests
  because the walker can't distinguish <foo/> from <foo></foo>
Daniel
2003-11-03 12:31:38 +00:00
Daniel Veillard
254b12607d second BeOS patch from Marcin 'Shard' Konicki Daniel
* tree.c nanohttp.c threads.c: second BeOS patch from
  Marcin 'Shard' Konicki
Daniel
2003-11-01 17:04:58 +00:00
Daniel Veillard
7ec29978be always generate line numbers Daniel
* parser.c: always generate line numbers
Daniel
2003-10-31 14:36:36 +00:00
Daniel Veillard
fd343dc360 fixed another regression introduced in fixing #125823 Daniel
* parser.c: fixed another regression introduced in fixing #125823
Daniel
2003-10-31 10:55:22 +00:00
Daniel Veillard
157fee019d previous fix for #124044 was broken, correct fix provided. fix
* python/libxml.c: previous fix for #124044 was broken, correct
  fix provided.
* HTMLparser.c parser.c parserInternals.c xmlIO.c: fix xmlStopParser()
  and the error handlers to address #125877
Daniel
2003-10-31 10:36:03 +00:00
Daniel Veillard
8a0a633cea side effect of #123105 patch, namespace resolution would fail when defined
* parser.c: side effect of #123105 patch, namespace resolution
  would fail when defined in internal entities, fixes #125823
Daniel
2003-10-30 22:13:02 +00:00
Daniel Veillard
bb3ba326e6 be more defensive in the xmlReader python bindings fixing bug #124044
* python/libxml.c: be more defensive in the xmlReader python bindings
  fixing bug #124044
Daniel
2003-10-30 13:12:43 +00:00
Daniel Veillard
e133dd8d13 the a-posteriori DTD validation code was not validating the namespace
* valid.c: the a-posteriori DTD validation code was not validating
  the namespace declarations, this fixes #124110
Daniel
2003-10-30 10:42:20 +00:00
William M. Brack
c5cbf99db1 enhanced to bypass compression detection code when input file is stdin
* xmlIO.c: enhanced to bypass compression detection code
  when input file is stdin (bug 125801)
2003-10-29 22:15:13 +00:00
Daniel Veillard
28232438a0 fix needed when HTTP is not compiled in by Mark Vakoc Daniel
* xmlIO.c: fix needed when HTTP is not compiled in by Mark Vakoc
Daniel
2003-10-29 17:23:05 +00:00
Daniel Veillard
94394cd1e4 more fixes about unregistering objects applied patch from Mark Vakoc
* xpath.c: more fixes about unregistering objects
* include/libxml/relaxng.h: applied patch from Mark Vakoc
  missing _cplusplus processing clause
Daniel
2003-10-29 17:07:51 +00:00
Aleksey Sanin
b5a46da41d added xmlStrVPrintf function 2003-10-29 15:51:17 +00:00
Daniel Veillard
82cb31994f applied patch from Marcin 'Shard' Konicki to provide BeOS thread support.
* nanoftp.c nanohttp.c testThreads.c threads.c: applied patch from
  Marcin 'Shard' Konicki to provide BeOS thread support.
Daniel
2003-10-29 13:39:15 +00:00
Daniel Veillard
9d751504d5 applied patch from Steve Ball to make a schema parser from a preparsed
* xmlschemas.c include/libxml/xmlschemas.h: applied patch
  from Steve Ball to make a schema parser from a preparsed document.
Daniel
2003-10-29 13:21:47 +00:00
Daniel Veillard
e22dd5ce8c applied a couple of patches from Mark Lilback about text nodes coalescing
* tree.c: applied a couple of patches from Mark Lilback about text
  nodes coalescing
Daniel
2003-10-29 12:53:27 +00:00
Daniel Veillard
e991fe958f change suggested by Anthony Carrico when unregistering a namespace prefix
* xpath.c: change suggested by Anthony Carrico when unregistering
  a namespace prefix to a context
* hash.c: be more careful about calling callbacks with NULL payloads.
Daniel
2003-10-29 11:18:37 +00:00
Daniel Veillard
e4e3f5d8af preparing release 2.6.1, updated and regenerated docs and APIs cleanup and
* configure.in NEWS doc/*: preparing release 2.6.1, updated and
  regenerated docs and APIs
* parser.c: cleanup and last change to fix #123105
Daniel
2003-10-28 23:06:32 +00:00
Daniel Veillard
652f9aa966 Fix #124907 by simply backporting the same fix as for the XML parser
* HTMLparser.c: Fix #124907 by simply backporting the same
  fix as for the XML parser
* result/HTML/doc3.htm.err: change to ID detecting modified one
  test result.
Daniel
2003-10-28 22:04:45 +00:00
Daniel Veillard
9ba8e389a2 included a new function to reuse a Push parser context, based on Graham
* parser.c include/libxml/parser.h: included a new function
  to reuse a Push parser context, based on Graham Bennett original
  code
* valid.c: in HTML, a name in an input is not an ID
* TODO: bug list update
Daniel
2003-10-28 21:31:45 +00:00
Daniel Veillard
ae9733aeaf applied patch from nico@xtradyne.com for #125030 Daniel
* xpath.c: applied patch from nico@xtradyne.com for #125030
Daniel
2003-10-28 19:02:21 +00:00
Daniel Veillard
72b9e29edf cleanup fixing bug #125653 sometimes the error handlers can get a parser
* Makefile.am: cleanup
* error.c valid.c include/libxml/xmlerror.h: fixing bug #125653
  sometimes the error handlers can get a parser context on DTD
  errors, and sometime they don't. So be very careful when trying
  to grab those informations.
Daniel
2003-10-28 15:44:17 +00:00
Daniel Veillard
f4e5629809 applied patch from Kasimier Buchcik which fixes a problem in xmlSearchNs
* tree.c: applied patch from Kasimier Buchcik which fixes a
  problem in xmlSearchNs introduced in 2.6.0
Damniel
2003-10-28 14:27:41 +00:00
Daniel Veillard
f5cb3cd9e9 fixed #123263, the encoding is mandatory in a textdecl. Daniel
* parser.c: fixed #123263, the encoding is mandatory in a textdecl.
Daniel
2003-10-28 13:58:13 +00:00
Daniel Veillard
cec50a6aff fix bug #125047 about serializing when finding a document fragment node.
* tree.c: fix bug #125047 about serializing when finding a
  document fragment node.
Daniel
2003-10-28 13:26:51 +00:00
Daniel Veillard
4772af6c74 fix bug #125592 need a NULL check rename a parameter Daniel
* testSAX.c: fix bug #125592 need a NULL check
* include/libxml/chvalid.h: rename a parameter
Daniel
2003-10-27 16:23:43 +00:00
Daniel Veillard
95d2d5b1cf applied patch from #123105 about defaulted attributes from element coming
* parser.c: applied patch from #123105 about defaulted attributes
  from element coming from an entity
Daniel
2003-10-27 14:54:49 +00:00
William M. Brack
1d75c8a822 fixed warning message from IRIX (bug 125182) removed tabs, replaced with
* xmllint.c: fixed warning message from IRIX (bug 125182)
* python/libxml.py: removed tabs, replaced with spaces
  (bug 125572)
2003-10-27 13:48:16 +00:00
Daniel Veillard
e8039dfec7 make sure we report errors if xmlNewInputFromFile() fails. avoid using
* libxml.h parserInternals.c xmlIO.c: make sure we report errors
  if xmlNewInputFromFile() fails.
* xmlreader.c: avoid using _private for the node or document
  elements.
Daniel
2003-10-27 11:25:13 +00:00
Igor Zlatkovic
7b58adbc17 *** empty log message *** 2003-10-25 15:38:02 +00:00
Daniel Veillard
cc199e0e56 applied patch from Patrick Welche provided in bug #125432 , future
* libxml.m4: applied patch from Patrick Welche provided in
  bug #125432 , future proofing the .m4 file.
* parser.c: resetting the context should also reset the error
* TODO: problem of conformance w.r.t. E20 was raised in the
  XML Core telconf and libxml2 isn't conformant there.
Daniel
2003-10-24 21:11:48 +00:00
Daniel Veillard
929714b707 applied patch from Alfred Mickautsch fixing #125180 Daniel
* xmlwriter.c: applied patch from Alfred Mickautsch fixing #125180
Daniel
2003-10-22 12:34:36 +00:00
Daniel Veillard
2bd4322ce9 Stephane Bidoul pointed out another small glitch missing a const Daniel
* chvalid.c genChRanges.py: Stephane Bidoul pointed out another
  small glitch missing a const
Daniel
2003-10-22 08:51:21 +00:00
Daniel Veillard
fca7d83ba5 Stephane Bidoul pointed out that it doesn't define IN_LIBXML Daniel
* chvalid.c genChRanges.py: Stephane Bidoul pointed out that
  it doesn't define IN_LIBXML
Daniel
2003-10-22 08:44:26 +00:00
Daniel Veillard
1e5e43861d typo pointed out by Stephane Bidoul Daniel
* win32/Makefile.mingw: typo pointed out by Stephane Bidoul
Daniel
2003-10-21 19:15:44 +00:00
Daniel Veillard
ea04893e3c set of Win32 patches for 2.6.0 by Joachim Bauch Daniel
* win32/Makefile.bcb win32/Makefile.mingw win32/Makefile.msvc
  win32/configure.js: set of Win32 patches for 2.6.0 by Joachim Bauch
Daniel
2003-10-21 09:27:57 +00:00
Daniel Veillard
2189b59b10 last minute patch from Eric Zurcher making it into 2.6.0 Daniel
* tree.c: last minute patch from Eric Zurcher making it into 2.6.0
Daniel
2003-10-21 00:08:42 +00:00
Daniel Veillard
3e35f8e658 preparing libxml2-2.6.0 updated and regenerated the docs and API moved the
* configure.in NEWS doc/libxml2.xsa: preparing libxml2-2.6.0
* doc/*: updated and regenerated the docs and API
* SAX2.c error.c tree.c: moved the line number to their proper
  field in elements now.
Daniel
2003-10-21 00:05:38 +00:00
Daniel Veillard
1d211e2273 added the xmlWriter module contributed by Alfred Mickautsch added room for
* configure.in xmlwriter.c Makefile.am include/libxml/xmlwriter.h
  include/libxml/Makefile.am include/libxml/xmlversion.h.in:
  added the xmlWriter module contributed by Alfred Mickautsch
* include/libxml/tree.h: added room for line and extra information
* xmlreader.c python/tests/reader6.py: bugfixing some problem some
  of them introduced in September
* win32/libxml2.def.src doc/libxml2-api.xml: regenerated the API
Daniel
2003-10-20 22:32:39 +00:00
Daniel Veillard
198c1bfc1c removing xmldwalk module since it got merged with the xmlreader. cleanup
* Makefile.am configure.in xmldwalk.c xmlreader.c
  include/libxml/Makefile.am include/libxml/xmldwalk.h
  include/libxml/xmlversion.h.in: removing xmldwalk module
  since it got merged with the xmlreader.
* parser.c: cleanup
* win32/libxml2.def.src python/libxml2class.txt doc/libxml2-api.xml:
  rebuilt the API
* python/tests/Makefile.am python/tests/reader7.py
  python/tests/walker.py: adding regression testing for the
  new xmlreader APIs, new APIs for reader creation, including
  makeing reader "walker" operating on preparsed document trees.
Daniel
2003-10-20 17:07:41 +00:00
William M. Brack
9e66059f08 fixed problem reported on the mailing list by Melvyn Sopacua - wrong
* entities.c, valid.c: fixed problem reported on the mailing
  list by Melvyn Sopacua - wrong argument order on functions
  called through xmlHashScan.
2003-10-20 14:56:06 +00:00
Daniel Veillard
d61e8fbc73 fixes for compiling using --with-minimum Daniel
* valid.c xmlIO.c: fixes for compiling using --with-minimum
Daniel
2003-10-19 21:59:17 +00:00
Daniel Veillard
c469692e5d cleanup xmlNodeGetContent() reusing xmlNodeBufGetContent(), tested it
* tree.c: cleanup xmlNodeGetContent() reusing xmlNodeBufGetContent(),
  tested it through the xslt regression suite.
Daniel
2003-10-19 21:47:14 +00:00
Daniel Veillard
7869729c8e adding xmlNodeBufGetContent() allowing to grab the content without forcing
* tree.c include/libxml/tree.h: adding xmlNodeBufGetContent()
  allowing to grab the content without forcing allocations.
* python/libxml2class.txt doc/libxml2-api.xml: rebuilt the API
* xpath.c xmldwalk.c: removed a couple of comment errors.
Daniel
2003-10-19 20:44:43 +00:00
Daniel Veillard
a07050ddac applied patch from Chris Anderson to change back memcmp with CMPx() Daniel
* parser.c: applied patch from Chris Anderson to change back
  memcmp with CMPx()
Daniel
2003-10-19 14:46:32 +00:00
Daniel Veillard
05bcb7ed30 fixed to not send NULL to %s printing cleaning up some of the regression
* HTMLparser.c: fixed to not send NULL to %s printing
* python/tests/error.py result/HTML/doc3.htm.err
  result/HTML/test3.html.err result/HTML/wired.html.err
  result/valid/t8.xml.err result/valid/t8a.xml.err: cleaning
  up some of the regression tests error
Daniel
2003-10-19 14:26:34 +00:00
Daniel Veillard
a840b69261 Fixed the HTTP<->parser interraction, which should fix 2 long standing
* include/libxml/nanohttp.h include/libxml/parserInternals.h
  include/libxml/xmlIO.h nanohttp.c parserInternals.c xmlIO.c:
  Fixed the HTTP<->parser interraction, which should fix 2 long
  standing bugs #104790 and #124054 , this also fix the fact that
  HTTP error code (> 400) should not generate data, we usually
  don't want to parse the HTML error information instead of the
  resource looked at.
Daniel
2003-10-19 13:35:37 +00:00
William M. Brack
fc60fc2009 enhanced the installation of tutorial files to avoid installing CVS
* doc/Makefile.am: enhanced the installation of tutorial files
  to avoid installing CVS subdirectories (bug 122943)
2003-10-19 11:22:27 +00:00
William M. Brack
9ca682f527 fixed segfault when input file not present changed output formatting of
* xmlIO.c: fixed segfault when input file not present
* tree.c: changed output formatting of XML_CDATA_SECTION
  (bug 120917)
2003-10-19 10:01:59 +00:00
William M. Brack
76e95df055 Changed all (?) occurences where validation macros (IS_xxx) had
* include/libxml/parserInternals.h HTMLparser.c HTMLtree.c
  SAX2.c catalog.c debugXML.c entities.c parser.c relaxng.c
  testSAX.c tree.c valid.c xmlschemas.c xmlschemastypes.c
  xpath.c: Changed all (?) occurences where validation macros
  (IS_xxx) had single-byte arguments to use IS_xxx_CH instead
  (e.g. IS_BLANK changed to IS_BLANK_CH).  This gets rid of
  many warning messages on certain platforms, and also high-
  lights places in the library which may need to be enhanced
  for proper UTF8 handling.
2003-10-18 16:20:14 +00:00
William M. Brack
196b38860c enhanced to include enough comments to make the api doc generation happy.
* genChRanges.py, chvalid.c, include/libxml/chvalid.h,
  doc/apibuild.py: enhanced to include enough comments to
  make the api doc generation happy.
2003-10-18 12:42:41 +00:00