2123 Commits

Author SHA1 Message Date
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
6425b38385 added declaration for verMicroSuffix 2003-10-25 15:38:34 +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
LIBXML2_6_0
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
Daniel Veillard
847332a0da starting work to fix the HTTP/XML parser integration. Daniel
* nanohttp.c xmlIO.c include/libxml/nanohttp.h: starting work
  to fix the HTTP/XML parser integration.
Daniel
2003-10-18 11:29:40 +00:00
Daniel Veillard
fc8dc355da added new APIs for creating reader from sources or reusing a reader with a
* xmlreader.c include/libxml/xmlreader.h: added new APIs
  for creating reader from sources or reusing a reader with
  a new source, like the xmlReadxx and xmlCtxtReadxxx
* win32/libxml2.def.src doc/libxml2-api.xml doc/apibuild.py
  doc/Makefile.am: regenerated the APIs
* doc/xml.html: applied a patch from Stefan Kost for namesapce docs
Daniel
2003-10-18 09:07:46 +00:00
William M. Brack
871611bb03 enhanced macros to avoid breaking ABI from previous versions. modified to
* genChRanges.py, chvalid.c, include/libxml/chvalid.h,
  include/libxml/parserInternals.h: enhanced macros to avoid
  breaking ABI from previous versions.
* catalog.c, parser.c, tree.c: modified to use IS_* macros
  defined in parserInternals.h.  Makes maintenance much easier.
* testHTML.c, testSAX.c, python/libxml.c: minor fixes to avoid
  compilation warnings
* configuration.in: fixed pushHTML test error; enhanced for
  better devel (me) testing
2003-10-18 04:53:14 +00:00
Daniel Veillard
4aede2e66b remove the warning for startDocument(), as it is used by glade (or
* legacy.c: remove the warning for startDocument(), as it is used by
  glade (or glade-python)
* parser.c relaxng.c xmlschemastypes.c: fixed an assorted set of
  invalid accesses found by running some Python based regression
  tests under valgrind. There is still a few leaks reported by the
  relaxng regressions which need some attention.
* doc/Makefile.am: fixed a make install problem c.f. #124539
* include/libxml/parserInternals.h: addition of xmlParserMaxDepth
  patch from crutcher
Daniel
2003-10-17 12:43:59 +00:00
Daniel Veillard
520f58544a Removed deprecated Win32 compilation tools, Daniel 2003-10-17 09:21:57 +00:00
Daniel Veillard
04054becf6 Marc Liyanage pointed out that xmlCleanupParser() was missing
* parser.c: Marc Liyanage pointed out that xmlCleanupParser()
  was missing xmlCleanupInputCallbacks and xmlCleanupOutputCallbacks
  calls.
Daniel
2003-10-15 10:48:54 +00:00
Daniel Veillard
9339b74c09 VMS patch from Craig A. Berry Daniel
* vms/build_libxml.com trionan.c: VMS patch from Craig A. Berry
Daniel
2003-10-15 08:18:00 +00:00
Daniel Veillard
903cd385c3 small fix from Bjorn Reese Daniel
* Makefile.am: small fix from Bjorn Reese
Daniel
2003-10-13 19:47:09 +00:00
Daniel Veillard
0cc7277706 fix a call missing arguments Daniel
* valid.c: fix a call missing arguments
Daniel
2003-10-13 14:00:21 +00:00
William M. Brack
0850b87df2 *** empty log message *** 2003-10-12 23:55:46 +00:00
William M. Brack
c4b8189aa7 fixed a bug in the range search; enhanced range generation (inline code if
* genChRanges.py, chvalid.c, include/libxml/chvalid.h: fixed
  a bug in the range search; enhanced range generation (inline code
  if a small number of intervals); enhanced the readability of the
  output files.
2003-10-12 10:42:46 +00:00
Daniel Veillard
ea887cfdf6 rebuilt chvalid.def from scratch based on XML 2nd edition REC and
* chvalid.def chvalid.c include/libxml/chvalid.h: rebuilt
  chvalid.def from scratch based on XML 2nd edition REC
  and regenerated the code.
Daniel
2003-10-11 22:53:44 +00:00
Daniel Veillard
1a99396b18 removed some annoying warnings fixed a bug in the PubidChars definition,
* check-xml-test-suite.py: removed some annoying warnings
* chvalid.def chvalid.c include/libxml/chvalid.h: fixed a bug
  in the PubidChars definition, regenerated, there is still
  a bug left somewhere
* genChRanges.py: save the header directly in include/libxml/
* configure.in: I generated a 2.6.0beta6 earlier today
Daniel
2003-10-11 20:58:06 +00:00
William M. Brack
6819a4e3e8 fixed problem with include path (third time's a charm?)
* genChRange.py, chvalid.c: fixed problem with include
  path (third time's a charm?)
2003-10-11 15:59:36 +00:00
William M. Brack
418342bc06 fixed small error on previous commit (chvalid.h in base dir instead of
* fixed small error on previous commit (chvalid.h in
  base dir instead of include directory)
2003-10-11 15:35:40 +00:00
William M. Brack
68aca051a6 new files for a different method for doing range validation of character
* genChRange.py, chvalid.def, chvalid.c, include/libxml/chvalid.h:
  new files for a different method for doing range validation
  of character data.
* Makefile.am, parserInternals.c, include/libxml/Makefile.am,
  include/libxml/parserInternals.h: modified for new range method.
* catalog.c: small enhance for warning message (using one
  of the new range routines)
2003-10-11 15:22:13 +00:00
Daniel Veillard
73000574ac adding an serror field to the validation context breaks the ABI for the
* valid.c include/libxml/valid.h: adding an serror field to
  the validation context breaks the ABI for the xmlParserCtxt
  structure since it's embedded by content and not by reference
Daniel
2003-10-11 11:26:42 +00:00
Daniel Veillard
9bcc7c5a8e Dohhh ! Daniel
Dohhh !
Daniel
2003-10-11 10:57:05 +00:00
Daniel Veillard
c790bf4b36 patch from Mike Hommey applied Windows patch from Jesse Pelton and
* configure.in: patch from Mike Hommey
* threads.c: applied Windows patch from Jesse Pelton and Stephane
  Bidoul
* parser.c: fix the potentially nasty access to ctxt->serror
  without checking first that the SAX block is version 2
Daniel
2003-10-11 10:50:10 +00:00
Daniel Veillard
2b0f879908 fixed a nasty bug with interning some text strings prepare for beta5 of
* SAX2.c: fixed a nasty bug with interning some text strings
* configure.in: prepare for beta5 of 2.6.0
* libxml.h nanoftp.c nanohttp.c xmlIO.c include/libxml/xmlerror.h:
  better error handling for I/O and converted FTP and HTTP
* parser.c: fixed another bug
Daniel
2003-10-10 19:36:36 +00:00
Daniel Veillard
ffbbed4228 fixed uninitialized new field. fixed a typo updating all messages Daniel
* SAX2.c: fixed uninitialized new field.
* result/VC/OneID2 result/relaxng/*.err: fixed a typo updating
  all messages
Daniel
2003-10-10 14:46:54 +00:00
Daniel Veillard
d8850403bc make room in Doc, Element, Attributes for PSVI type informations. Daniel
* include/libxml/tree.h: make room in Doc, Element, Attributes
  for PSVI type informations.
Daniel
2003-10-10 14:24:12 +00:00
Daniel Veillard
659e71ec24 Setting up the framework for structured error reporting, touches a lot of
* HTMLparser.c c14n.c catalog.c error.c globals.c parser.c
  parserInternals.c relaxng.c valid.c xinclude.c xmlIO.c xmlregexp.c
  xmlschemas.c xpath.c xpointer.c include/libxml/globals.h
  include/libxml/parser.h include/libxml/valid.h
  include/libxml/xmlerror.h: Setting up the framework for structured
  error reporting, touches a lot of modules, but little code now
  the error handling trail has been cleaned up.
Daniel
2003-10-10 14:10:40 +00:00
Daniel Veillard
d96cce1abe converted the C14N module too Daniel
* c14n.c include/libxml/xmlerror.h: converted the C14N module too
Daniel
2003-10-10 12:30:37 +00:00