1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-27 21:55:05 +03:00
Commit Graph

2704 Commits

Author SHA1 Message Date
Daniel Veillard
36e5cd5064 adding xmlMemBlocks() work on generator of an automatic API regression
* xmlmemory.c include/libxml/xmlmemory.h: adding xmlMemBlocks()
* Makefile.am gentest.py testapi.c: work on generator of an
  automatic API regression test tool.
* SAX2.c nanoftp.c parser.c parserInternals.c tree.c xmlIO.c
  xmlstring.c: various API hardeing changes as a result of running
  teh first set of automatic API regression tests.
* test/slashdot16.xml: apparently missing from CVS, commited it
Daniel
2004-11-02 14:52:23 +00:00
Daniel Veillard
032268145f fixed an UTF-8 parsing bug reported by Markus Bertheau on #fedora-devel
* xpath.c: fixed an UTF-8 parsing bug reported by Markus Bertheau
  on #fedora-devel
Daniel
2004-11-01 14:55:21 +00:00
Daniel Veillard
acbe6cfd96 fixed a bug reported by Petr Pajas on the list and affecting XML::Libxml
* parser.c: fixed a bug reported by Petr Pajas on the list and
  affecting XML::Libxml
Daniel
2004-10-31 21:04:50 +00:00
Daniel Veillard
05f9735ba3 Fixed bug #153937, making sure the conversion functions return the number
* encoding.c doc/examples/testWriter.c: Fixed bug #153937, making
  sure the conversion functions return the number of byte written.
  Had to fix one of the examples.
Daniel
2004-10-31 15:35:32 +00:00
Daniel Veillard
e44aafb19c indicate - means stdin closing #156626 Daniel
* doc/xmllint.1 doc/xmllint.xml: indicate - means stdin closing #156626
Daniel
2004-10-29 12:18:43 +00:00
Daniel Veillard
eff45a92da register xmlSchemaSetValidErrors, patch from Brent Hendricks in the
* python/libxml.c: register xmlSchemaSetValidErrors, patch from
  Brent Hendricks in the mailing-list
* include/libxml/valid.h HTMLparser.c SAX2.c valid.c
  parserInternals.c: fix #156626 and more generally how to find out
  if a validation contect is part of a parsing context or not. This
  can probably be improved to make 100% sure that vctxt->userData
  is the parser context too. It's a bit hairy because we can't
  change the xmlValidCtxt structure without breaking the ABI since
  this change xmlParserCtxt information indexes.
Daniel
2004-10-29 12:10:55 +00:00
Daniel Veillard
c2f83d1fad Fixing h3 for release, Daniel 2004-10-27 22:59:21 +00:00
Daniel Veillard
6927b10615 preparing release 2.6.15 cleanups Daniel
* ChangeLog NEWS configure.in doc/*: preparing release 2.6.15
* debugXML.c nanoftp.c xmlschemas.c xmlschemastypes.c: cleanups
Daniel
2004-10-27 17:29:04 +00:00
William M. Brack
f2a657aa59 fixed a stupid mistake in xmlBuildRelativeURI (bug 156527)
* uri.c: fixed a stupid mistake in xmlBuildRelativeURI
  (bug 156527)
2004-10-27 16:33:09 +00:00
Daniel Veillard
8e2c9792e9 second part of the security fix for xmlNanoFTPConnect() and
* nanoftp.c nanohttp.c: second part of the security fix for
  xmlNanoFTPConnect() and xmlNanoHTTPConnectHost().
Daniel
2004-10-27 09:39:50 +00:00
Daniel Veillard
95ddcd3266 applied fixes for a couple of potential security problems more fixes on
* nanoftp.c: applied fixes for a couple of potential security problems
* tree.c valid.c xmllint.c: more fixes on the string interning checks
Daniel
2004-10-26 21:53:55 +00:00
Daniel Veillard
03a53c34db added checking for names values and dictionnaries generates a tons of
* debugXML.c include/libxml/xmlerror.h: added checking for names
  values and dictionnaries generates a tons of errors
* SAX2.ccatalog.c parser.c relaxng.c tree.c xinclude.c xmlwriter.c
  include/libxml/tree.h: fixing the errors in the regression tests
Daniel
2004-10-26 16:06:51 +00:00
William M. Brack
1227fb3cea modified the handling of _private for entity expansion (bug 155816)
* parser.c: modified the handling of _private for entity
  expansion (bug 155816)
2004-10-25 23:17:53 +00:00
Daniel Veillard
370ba3d231 fixed the leak reported by Volker Roth on the list added a specific test
* parser.c: fixed the leak reported by Volker Roth on the list
* test/ent10 result//ent10*: added a specific test for the problem
Daniel
2004-10-25 16:23:56 +00:00
William M. Brack
367df6e7e1 unlinked the internal subset within xmlValidateDtd (bug 141827) added
* valid.c: unlinked the internal subset within xmlValidateDtd
  (bug 141827)
* configure.in: added -Wall to developer's flags
* doc/examples/reader4.res: added to CVS
2004-10-23 18:14:36 +00:00
Daniel Veillard
fc484dd0a0 added support for HTML PIs #156087 added specific tests Daniel
* HTMLparser.c: added support for HTML PIs #156087
* test/HTML/python.html result/HTML/python.html*: added specific tests
Daniel
2004-10-22 14:34:23 +00:00
Daniel Veillard
01c3bd53d8 fixed nasty bug #156087 Daniel
* threads.c: fixed nasty bug #156087
Daniel
2004-10-22 13:16:10 +00:00
Daniel Veillard
ad9fb7c06f fixed a problem occuring only in x86_64 when very large error messages are
* python/libxml.c: fixed a problem occuring only in x86_64 when
  very large error messages are raied to the Python handlers.
Daniel
2004-10-22 11:05:37 +00:00
Daniel Veillard
1a380b8924 fixed a memory bug added test from Graham Bennett and regenerated the
* xmlschemas.c: fixed a memory bug
* doc/examples/reader4.c doc/examples/*: added test from Graham Bennett
  and regenerated the directory
Daniel
2004-10-21 16:00:06 +00:00
Daniel Veillard
e2811270e8 applied patch from Graham Bennett adding 4 convenience functions to the
* include/libxml/xmlreader.h xmlreader.c: applied patch from
  Graham Bennett adding 4 convenience functions to the reader API.
Daniel
2004-10-19 09:04:23 +00:00
William M. Brack
9638d4c20f excluded a few nodes (with no content) from the string check routine.
* debugXML.c: excluded a few nodes (with no content) from the
  string check routine.
2004-10-15 18:25:33 +00:00
Daniel Veillard
c6095788c4 added UTF-8 string checking, raise a problem, need debug Daniel
* debugXML.c include/libxml/xmlerror.h: added UTF-8 string checking,
  raise a problem, need debug
Daniel
2004-10-15 14:50:10 +00:00
Daniel Veillard
43b8e5790c applied patch from Thomas Fitzsimmons fixing #155240 building outside the
* python/Makefile.am: applied patch from Thomas Fitzsimmons fixing
  #155240 building outside the source tree. but make tests fails.
Daniel
2004-10-12 22:20:10 +00:00
Daniel Veillard
0d24b11c34 added namespace checking daniel
* debugXML.c include/libxml/xmlerror.h: added namespace checking
daniel
2004-10-11 12:28:34 +00:00
Daniel Veillard
7682114636 some framework preparation to add namespace checkings daniel
* debugXML.c: some framework preparation to add namespace checkings
daniel
2004-10-09 20:39:04 +00:00
Daniel Veillard
78fed53e2b Changed the link for ChangeLog and News to reflect the actual content, daniel 2004-10-09 19:44:48 +00:00
Daniel Veillard
8de5c0bd79 adding the tree debug mode fixing various problems reported by the debug
* debugXML.c include/libxml/debugXML.h include/libxml/xmlerror.h:
  adding the tree debug mode
* parser.c relaxng.c tree.c xpath.c: fixing various problems reported
  by the debug mode.
* SAX2.c: another tree fix from Rob Richards
Daniel
2004-10-07 13:14:19 +00:00
William M. Brack
181a1ca018 fix small leak 2004-10-06 18:00:29 +00:00
William M. Brack
6218b31b7f small change to last fix, to get xml:base right
* catalog.c: small change to last fix, to get xml:base right
2004-10-06 17:52:32 +00:00
William M. Brack
b7b54de6c6 added code to handle <group>, including dumping to output (bug 151924).
* catalog.c: added code to handle <group>, including dumping
  to output (bug 151924).
* xmlcatalog.c, xmlstring.c, parser.c: minor compiler warning
  cleanup (no change to logic)
2004-10-06 16:38:01 +00:00
Daniel Veillard
22cdb842fd revamped the XML debugging module and prepare for a new checking mode
* configure.in debugXML.c include/libxml/xmlversion.h.in
  include/libxml/xmlwin32version.h.in: revamped the XML debugging
  module and prepare for a new checking mode
Daniel
2004-10-04 14:09:17 +00:00
Daniel Veillard
c93a19fc10 applied patch from Malcolm Tredinnick fixing bug #152426 Daniel
* parser.c: applied patch from Malcolm Tredinnick fixing bug #152426
Daniel
2004-10-04 11:53:20 +00:00
Daniel Veillard
263ec86a75 applied patch from Malcolm Tredinnick fixing bug #154294 related to saving
* python/generator.py python/libxml.c python/tests/outbuf.py:
  applied patch from Malcolm Tredinnick fixing bug #154294
  related to saving to python file objects.
Daniel
2004-10-04 10:26:54 +00:00
William M. Brack
2c22844057 changed xmlHasNsProp to properly handle a request for the default
* tree.c: changed xmlHasNsProp to properly handle a request for
  the default namespace (bug 153557)
2004-10-03 04:10:00 +00:00
William M. Brack
c3f8134511 fixed problem with dictionary handling within xmlParseInNodeContext (bug
* parser.c: fixed problem with dictionary handling within
  xmlParseInNodeContext (bug 153175)
2004-10-03 01:22:44 +00:00
William M. Brack
cb40c222a4 changed changed sys.path setting from 'append' to 'insert' (patch supplied
* check-relaxng-test-suite.py, check-relaxng-test-suite2.py,
  check-xinclude-test-suite.py, check-xml-test-suite.py,
  check-xsddata-test-suite.py, doc/examples/index.py: changed
  changed sys.path setting from 'append' to 'insert' (patch
  supplied by Malcolm Tredinnick) (bug 153716)
2004-10-02 22:55:49 +00:00
William M. Brack
d1757abcb8 added two new macros IS_ASCII_LETTER and IS_ASCII_DIGIT used with (html)
* include/libxml/parserInternals.h: added two new macros
  IS_ASCII_LETTER and IS_ASCII_DIGIT used with (html)
  parsing and xpath for testing data not necessarily
  unicode.
* HTMLparser.c, xpath.c: changed use of IS_LETTER_CH and
  IS_DIGIT_CH macros to ascii versions (bug 153936).
2004-10-02 22:07:48 +00:00
William M. Brack
d0407520d8 added some coding to attempt to display which file contains an error when
* error.c: added some coding to attempt to display which file
  contains an error when using XInclude (bug 152623)
2004-10-02 03:54:00 +00:00
Daniel Veillard
8b817dace5 stupid cut'n paste bug in xmllint detection daniel
* configure.in: stupid cut'n paste bug in xmllint detection
daniel
2004-09-30 09:19:33 +00:00
Daniel Veillard
210818b18a releasing 2.6.14, rebuilding the docs Daniel
* configure.in doc/*: releasing 2.6.14, rebuilding the docs
Daniel
2004-09-29 15:50:37 +00:00
Kasimier T. Buchcik
87876407ce Parsing of <complexContent> - handle attribute 'mixed', catch illegal
* xmlschemas.c include/libxml/xmlerror.h include/libxml/xmlschemas.h
  include/libxml/schemasInternals.h: Parsing of <complexContent>
  - handle attribute 'mixed', catch illegal attributes.
  Parsing of <complexType> - handle attributes 'abstract',
  'final' and 'block', catch illegal attributes.
  Validation of complex types - handle abstract types.
  Added handling of default/fixed attributes and element values.
  Per validation option attribute nodes/text nodes are created
  on the instance.
  Added the corresponding constraints for fixed/default.
  Added xmlSchemaSetValidOptions, xmlSchemaGetValidOptions
  to the external API.
  Extended element declaration constraints.
  Got rid of perseverative creation of temporery validation/parser
  contexts.
  Added handling of xsi:schemaLocation and
  xsi:noNamespaceSchemaLocation.
  Fixed xsi:type component resolution if using non-prefixed
  QNames.
* xmlregexp.c xmlschemas.c include/libxml/xmlautomata.h:
  Enabled namespace awareness of the content model if using the
  model group "all".
* test/schemas/bug152470_1.xsd: Removed an "abstract" attribute,
  which broke the test.
* xstc/xstc.py:  Workaround to accomodate case insensitive
  test definitions in ms-test.def.xml (was missing in a previous
  commit).
2004-09-29 13:29:03 +00:00
Daniel Veillard
bc2f2c3de4 another patch from Malcolm Tredinnick adding option not to load dtd from
* python/drv_libxml2.py: another patch from Malcolm Tredinnick
  adding option not to load dtd from the drv_libxml2.py module
  #134633
Daniel
2004-09-29 09:04:00 +00:00
Daniel Veillard
c7e3cc49ba another patch from Malcolm Tredinnick fixing warning generated by the
* acconfig.h config.h.in configure.in xmlIO.c xmlregexp.c xmlschemas.c
  xmlschemastypes.c: another patch from Malcolm Tredinnick fixing
  warning generated by the Nonstop Kernel Open System Services
  compiler #151710
Daniel
2004-09-28 12:33:52 +00:00
Daniel Veillard
a81355ef66 applied patch from Malcolm Tredinnick fixing python exception hierarchy
* python/libxml.py: applied patch from Malcolm Tredinnick fixing
  python exception hierarchy #139824
Daniel
2004-09-28 11:08:27 +00:00
Daniel Veillard
807b4de282 applied patch from Malcolm Tredinnick fixing errata E20 concerning
* valid.c TODO: applied patch from Malcolm Tredinnick fixing errata
  E20 concerning NMTOKENS and co. validation #153722
* result/VC/AttributeNmtokens test/VC/AttributeNmtokens
  test/VCM/AttributeNmtokens.xml: also added tests from Malcolm
Daniel
2004-09-26 14:42:56 +00:00
Daniel Veillard
a918b5b08a applied patch from Malcolm Tredinnick fixing space/tabs fixed a realloc
* xstc/xstc.py: applied patch from Malcolm Tredinnick fixing space/tabs
* xpath.c: fixed a realloc potential problem
Daniel
2004-09-26 14:25:37 +00:00
Daniel Veillard
522780e74f fixed make valgrind xstc Daniel
* Makefile.am: fixed make valgrind xstc
Daniel
2004-09-24 12:14:55 +00:00
Daniel Veillard
49e8963c64 fixing an out of bound adressing issue Daniel
* xmlschemastypes.c: fixing an out of bound adressing issue
Daniel
2004-09-23 16:24:36 +00:00
Daniel Veillard
079f6a7559 more memory related code cleanups. Daniel
* HTMLparser.c parser.c relaxng.c xmlschemas.c: more memory related
  code cleanups.
Daniel
2004-09-23 13:15:03 +00:00
Daniel Veillard
2248ff178b fixed a bunch of errors when realloc failed. Daniel
* parser.c: fixed a bunch of errors when realloc failed.
Daniel
2004-09-22 23:05:14 +00:00