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

1572 Commits

Author SHA1 Message Date
Daniel Veillard
8e7e1c00ce fix to the XPath implementation for parent and ancestors axis when
* xpath.c: fix to the XPath implementation for parent and
  ancestors axis when operating on a Result Value Tree.
  Fixes bug #100271
Daniel
2003-01-10 17:06:09 +00:00
Daniel Veillard
cacbe5d110 patch from Stefano Zacchiroli to fix some URI/file escaping problems
* nanoftp.c nanohttp.c xmlIO.c: patch from Stefano Zacchiroli
  to fix some URI/file escaping problems
Daniel
2003-01-10 16:09:51 +00:00
Daniel Veillard
3b87b6b398 fixed a bug raised by Raymond Wiker, docSetRootElement() should not raise
* python/generator.py: fixed a bug raised by Raymond Wiker,
  docSetRootElement() should not raise an exception if the
  return is None
Daniel
2003-01-10 15:21:50 +00:00
Daniel Veillard
3e20a29213 fixed bug #102181 by applying the suggested change and fixing the
* python/libxml.py python/libxml.c python/libxml2-python-api.xml:
  fixed bug #102181 by applying the suggested change and fixing
  the generation/registration problem.
Daniel
2003-01-10 13:14:40 +00:00
Daniel Veillard
e55e8e4833 fixed bug #102960 by reusing the XML name parsing routines. Daniel
* HTMLparser.c: fixed bug #102960 by reusing the XML name parsing
  routines.
Daniel
2003-01-10 12:50:02 +00:00
Daniel Veillard
98d071d878 Be really clear about support guidelines, Daniel 2003-01-10 09:22:44 +00:00
Daniel Veillard
8f87244206 one more IsEmptyElement crazyness, that time in external parsed entities
* parser.c: one more IsEmptyElement crazyness, that time in
  external parsed entities if substitution is asked.
* python/tests/reader3.py: added a specific test.
Daniel
2003-01-09 23:19:02 +00:00
Daniel Veillard
e329fc2467 update from Stphane Bidoul: python 2.1 support and improved error handler
* python/drv_libxml2.py: update from Stphane Bidoul: python 2.1
  support and improved error handler registration
Daniel
2003-01-09 21:36:42 +00:00
Daniel Veillard
5ecaf7f9a7 fixes #102920 about namespace handling in HTML output and section 16.2
* HTMLtree.c tree.c: fixes #102920 about namespace handling in
  HTML output and section 16.2 "HTML Output Method" of XSLT-1.0
* README: fixed a link
Daniel
2003-01-09 13:19:33 +00:00
Daniel Veillard
e2830f1e65 preparing 2.5.1 release fixing XmlTextReader bug Daniel
* configure.in doc/* NEWS: preparing 2.5.1 release
* SAX.c parser.c: fixing XmlTextReader bug
Daniel
2003-01-08 17:47:49 +00:00
Daniel Veillard
8bf70b956a fuck, I introduced a memory leak on external parsed entities in 2.5.0 :-(
* SAX.c: fuck, I introduced a memory leak on external parsed
  entities in 2.5.0 :-(
Daniel
2003-01-07 23:14:24 +00:00
Daniel Veillard
56ada1ddbb another fix needed as pointed by Christophe Merlet for --stream --debug if
* xmllint.c: another fix needed as pointed by Christophe Merlet
  for --stream --debug if compiled without debug support.
Daniel
2003-01-07 11:17:25 +00:00
MST 2003 John Fleck
7e54be15b5 doc/xmllint.xml doc/xmllint.1 update man page with --stream and
Mon Jan  6 20:53:08 MST 2003 John Fleck <jfleck@inkstain.net>

	* doc/xmllint.xml
	* doc/xmllint.1
	update man page with --stream and --chkregister
2003-01-07 03:54:25 +00:00
Daniel Veillard
8326e73bc1 fixed --with-threads compile fixed --without-debug compile cleanup add a
* globals.c: fixed --with-threads compile
* xmllint.c: fixed --without-debug compile
* include/libxml/globals.h: cleanup
* include/libxml/schemasInternals.h: add a missing include
Daniel
2003-01-07 00:19:07 +00:00
Daniel Veillard
a55b27bc56 fixed the title ... Daniel 2003-01-06 22:20:21 +00:00
Daniel Veillard
7b4b2f9d8f preparing 2.5.0 release only warn in pedantic mode about namespace name
* configure.in NEWS: preparing 2.5.0 release
* SAX.c: only warn in pedantic mode about namespace name
  brokeness
* globals.c: fix a doc generation problem
* uri.c: fix #101520
* doc/*: updated and rebuilt the doc for the release, includuding
  stylesheet update
* python/Makefile.am: fix a filename bug
Daniel
2003-01-06 13:11:20 +00:00
Daniel Veillard
e0ed10cb0f fixed #101894 if doc == NULL xmlFreeDoc should not be called. Daniel
* doc/tutorial/* : fixed #101894 if doc == NULL xmlFreeDoc
  should not be called.
Daniel
2003-01-06 11:06:26 +00:00
Daniel Veillard
0aaaacdb43 applied the patch to fix #101894 Daniel
* libxml-2.0.pc.in: applied the patch to fix #101894
Daniel
2003-01-06 10:59:57 +00:00
Daniel Veillard
8a1b1853fc applied patch from Lukas Schroeder for register callbacks modified patch
* tree.c : applied patch from Lukas Schroeder for register callbacks
* valid.c: modified patch from Lukas Schroeder to test
  register callbacks with --chkregister
Daniel
2003-01-05 22:37:17 +00:00
Daniel Veillard
067bae5ff8 seriously changed the way data are pushed to the underlying parser, go by
* xmlreader.c: seriously changed the way data are pushed to
  the underlying parser, go by block of 512 bytes instead of
  tryng to detect tag boundaries at that level. Changed the
  way empty element are detected and tagged.
* python/tests/reader.py python/tests/reader2.py
  python/tests/reader3.py: small changes mostly due to context
  reporting being different and DTD node being reported. Some
  errors previously undetected are now caught and fixed.
* doc/xmlreader.html: flagged last section as TODO
Daniel
2003-01-05 01:27:54 +00:00
Daniel Veillard
51a447a578 integrated the Python 2.2 optimizations from Hannu Krosing, while
* python/libxml.py: integrated the Python 2.2 optimizations
  from Hannu Krosing, while maintaining compatibility with
  1.5 and 2.1
Daniel
2003-01-04 19:42:46 +00:00
Daniel Veillard
2bc13cacb0 fixed a small problem related to order of files in dir, Daniel 2003-01-04 19:06:55 +00:00
Daniel Veillard
e59494fa54 a bit of cleanup small fix more work on the XmlTextReader tutorial a few
* xmllint.c: a bit of cleanup
* xmlreader.c: small fix
* doc/xmlreader.html: more work on the XmlTextReader tutorial
* python/libxml.py: a few fixes pointed out by Hannu Krosing
Daniel
2003-01-04 16:35:29 +00:00
Daniel Veillard
623a9eb2df patch from Stphane Bidoul to include drv_libxml2.py in setup.py Daniel
* python/setup.py.in: patch from Stphane Bidoul to include
  drv_libxml2.py in setup.py
Daniel
2003-01-04 12:47:20 +00:00
Daniel Veillard
66b82892f1 starting documenting the new XmlTextReader interface. Daniel
* doc/xmlreader.html: starting documenting the new XmlTextReader interface.
Daniel
2003-01-04 00:44:13 +00:00
Daniel Veillard
7704fb1d9f added the --stream flag to use the TextReader API small performance tweak
* xmllint.c: added the --stream flag to use the TextReader API
* xmlreader.c: small performance tweak
Daniel
2003-01-03 16:19:51 +00:00
Daniel Veillard
a80ff6ec18 okay the DTD validation code on top of the XMLTextParser API should be
* xmlreader.c python/tests/reader2py: okay the DTD validation
  code on top of the XMLTextParser API should be solid now.
Daniel
2003-01-03 12:52:08 +00:00
Daniel Veillard
1fdfd115e5 Fixing some more mess with validation and recursive entities while using
* xmlreader.c python/tests/reader2py: Fixing some more mess
  with validation and recursive entities while using the
  reader interface, it's getting a bit messy...
Daniel
2003-01-03 01:18:43 +00:00
Daniel Veillard
dab8ea9b83 another couple of problem related to IsEmptyElement reported by Stphane
* xmlreader.c python/tests/reader.py: another couple of problem
  related to IsEmptyElement reported by Stphane Bidoul needed
  some fixes.
Daniel
2003-01-02 14:16:45 +00:00
Daniel Veillard
4f86020248 integrated drv_libxml2.py Python xml.sax driver from Stphane Bidoul based
* libxml.spec.in python/Makefile.am python/drv_libxml2.py:
  integrated drv_libxml2.py Python xml.sax driver from Stphane Bidoul
  based on the python XmlTextReader interface.
Daniel
2003-01-02 13:00:02 +00:00
Daniel Veillard
3c265e49aa backing out one change in the last patch which broke the regression tests
* tree.c: backing out one change in the last patch which broke the
  regression tests
Daniel
2003-01-01 21:06:49 +00:00
Daniel Veillard
5335dc52af applied an old patch from Lukas Schroeder to track node creation and
* global.data globals.c tree.c include/libxml/globals.h: applied
  an old patch from Lukas Schroeder to track node creation and
  destruction. Probably missing a lot of references at the moment
  and not usable reliably.
Daniel
2003-01-01 20:59:38 +00:00
Daniel Veillard
8ba1741abd generate the NEWS file from doc/news.html and a stylesheet Daniel
* NEWS doc/Makefile.am doc/news.xsl: generate the NEWS file
  from doc/news.html and a stylesheet
Daniel
2003-01-01 19:13:12 +00:00
Daniel Veillard
e3c036eedd fixed another couple of xmlreader bugs reported by Stphane Bidoul and
* xmlreader.c python/tests/reader.py: fixed another couple of
  xmlreader bugs reported by Stphane Bidoul and added tests.
Daniel
2003-01-01 15:11:05 +00:00
Daniel Veillard
9e395c289f fixed another validity checking in external parsed entities raised by
* xmlreader.c python/tests/reader2.py: fixed another validity
  checking in external parsed entities raised by Stphane Bidoul
  and added a specific regression test.
* python/tests/reader3.py: cleanup
Daniel
2003-01-01 14:50:44 +00:00
Daniel Veillard
d589614042 fixed a problem with validation within entities pointed by Stphane
* xmlreader.c python/tests/reader2.py: fixed a problem with
  validation within entities pointed by Stphane Bidoul, augmented
  the tests to catch those.
Daniel
2002-12-31 14:45:26 +00:00
Daniel Veillard
dc85f28f66 modified the generator to allow keeping class references when creating new
* python/generator.py: modified the generator to allow keeping
  class references when creating new classes, needed to fix a bug
  pointed by Stphane Bidoul where the input buffer of the
  xmlTextReader instance gets destroyed if the python wrapper for
  the input is not referenced anymore.
Daniel
2002-12-31 11:18:37 +00:00
Daniel Veillard
4d8db8a22c fixed another pair of problem pointed by Stphane Bidoul: depth start at 0
* xmlreader.c python/tests/reader.py: fixed another pair of problem
  pointed by Stphane Bidoul: depth start at 0 and a parse problem.
Daniel
2002-12-30 18:40:42 +00:00
Daniel Veillard
571b889b6b fixed another problem pointed by Stphane Bidoul Daniel
* xmlreader.c python/tests/reader.py: fixed another problem
  pointed by Stphane Bidoul
Daniel
2002-12-30 12:37:59 +00:00
Daniel Veillard
aaa105b590 fixed a limit case problem with "<a/>" Daniel
* xmlreader.c python/tests/reader.py: fixed a limit case problem
  with "<a/>"
Daniel
2002-12-30 11:42:17 +00:00
Daniel Veillard
ecaba49a72 warn on xmlns:prefix="foo" fixed a couple of problem for namespace
* SAX.c: warn on xmlns:prefix="foo"
* xmlreader.c python/tests/reader.py: fixed a couple of problem
  for namespace attributes handling.
Daniel
2002-12-30 10:55:29 +00:00
Daniel Veillard
2d84a89478 Fixed a really nasty problem raised by a DocBook XSLT transform provided
* entities.c parser.c tree.c include/libxml/entities.h: Fixed
  a really nasty problem raised by a DocBook XSLT transform
  provided by Sebastian Bergmann
Daniel
2002-12-30 00:01:08 +00:00
Daniel Veillard
29b3e285a7 fixed a bug pointed out by Stphane Bidoul and integrated it into the
* xmlreader.c python/tests/reader.py: fixed a bug pointed out
  by Stphane Bidoul and integrated it into the tests
Daniel
2002-12-29 11:14:41 +00:00
Daniel Veillard
e18fc185fa extended the XmlTextReader API a bit, addding accessors for the current
* xmlreader.c include/libxml/xmlreader.h doc/libxml2-api.xml:
  extended the XmlTextReader API a bit, addding accessors for
  the current doc and node, and an entity substitution mode for
  the parser.
* python/libxml.py python/libxml2class.txt: related updates
* python/tests/Makefile.am python/tests/reader.py
  python/tests/reader2.py python/tests/reader3.py: updated a bit
  the old tests and added a new one to test the entities handling
Daniel
2002-12-28 22:56:33 +00:00
Daniel Veillard
aba976d825 changed the generator to provide casing for the XmlTextReader similar to
* python/generator.py python/libxml2class.txt
  python/tests/reader.py python/tests/reader2.py: changed the
  generator to provide casing for the XmlTextReader similar to
  C# so that examples and documentation are more directly transposable.
  Fixed the couple of tests in the suite.
Daniel
2002-12-28 21:14:18 +00:00
Daniel Veillard
6943a4db3e Small update to the guidelines, Daniel 2002-12-28 18:07:59 +00:00
Daniel Veillard
8329884066 added a document on guidelines for publishing and deploying XML Daniel
* doc/guidelines.html: added a document on guidelines for
  publishing and deploying XML
Daniel
2002-12-28 15:12:33 +00:00
Jose Maria Celorio
d7046d171b quiet down cvs somewhat 2002-12-28 04:48:15 +00:00
Daniel Veillard
336fc7d3c9 final touch running DTD validation on the XmlTextReader added a specific
* valid.c xmlreader.c: final touch running DTD validation
  on the XmlTextReader
* python/tests/Makefile.am python/tests/reader2.py: added a
  specific run based on the examples from test/valid/*.xml
Daniel
2002-12-27 19:37:04 +00:00
Daniel Veillard
f25b4cab44 added a few predefined xmlTextReader parser configuration values. Daniel
* python/libxml.py: added a few predefined xmlTextReader parser
  configuration values.
Daniel
2002-12-27 15:18:35 +00:00