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

2659 Commits

Author SHA1 Message Date
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
Daniel Veillard
8399ff337e couple of memory fixes from Mark Vakoc reported by Purify on Windows.
* threads.c uri.c: couple of memory fixes from Mark Vakoc reported
  by Purify on Windows.
Daniel
2004-09-22 21:57:53 +00:00
Daniel Veillard
4edd3ed8c5 added --timing --copy timing for the copy applied patch from Craig Berry
* xmllint.c: added --timing --copy timing for the copy
* vms/build_libxml.com: applied patch from Craig Berry
  to build with recent releases
Daniel
2004-09-20 20:03:01 +00:00
William M. Brack
13dfa87e91 added the routine xmlNanoHTTPContentLength to the external API
* nanohttp.c, include/libxml/nanohttp.h: added the routine
  xmlNanoHTTPContentLength to the external API (bug151968).
* parser.c: fixed unnecessary internal error message (bug152060);
  also changed call to strncmp over to xmlStrncmp.
* encoding.c: fixed compilation warning (bug152307).
* tree.c: fixed segfault in xmlCopyPropList (bug152368); fixed
  a couple of compilation warnings.
* HTMLtree.c, debugXML.c, xmlmemory.c: fixed a few compilation
  warnings; no change to logic.
2004-09-18 04:52:08 +00:00
Daniel Veillard
7a5e0dd1fc removed some extern before function code reported by Kjartan Maraas on IRC
* parser.c: removed some extern before function code reported by
  Kjartan Maraas on IRC
* legacy.c: fixed compiling when configuring out the HTML parser
* Makefile.am: added a declaration for CVS_EXTRA_DIST
* HTMLparser.c: beginning of an attempt at cleaning up the construction
  of the HTML parser data structures, current data generate a huge
  amount of ELF relocations at loading time.
Daniel
2004-09-17 08:45:25 +00:00
Daniel Veillard
3fc249ef12 applied fix from Stepan Kasal to fix duplication in the change log and
* ChangeLog: applied fix from Stepan Kasal to fix duplication
  in the change log and cleanup of space/tabs issues.
Daniel
2004-09-17 08:38:20 +00:00
Kasimier T. Buchcik
876a6db193 Simpified attribute wildcard creation and assignment to get rid of memory
* xmlschemas.c include/libxml/schemasInternals.h
  test/schemas/bug152470_1.* result/schemas/bug152470_1_1*:
  Simpified attribute wildcard creation and assignment to get rid
  of memory leaks.
  Restructured the validation process.
  Restructured and expanded parsing of <attributeGroup>.
  Added initial handing of xsi:type.
  Advanced handling of xsi:nil (should work now for simple types).
  Added construction of schemata using xsi:schemaLocation and
  xsi:noNamespaceSchemaLocation; this is not enabled, since
  no corresponding API exists yet.
  Moved the content model to complex type components.
  Resolution of types for attributes will look for simple types
  only (incl. all the built-in simple types).
  Extended parsing of 'anyAttribute'.
  Fixed content-type type for complex types if derived from
  'anyType' using the short-hand form (see bug # 152470,
  submitted by Thilo Jeremias).
* include/libxml/xmlschematypes.h: Cleaned up some comments.
* xstc/xstc.py: Workaround to accomodate case insensitive
  test definitions in ms-test.def.xml.
* result/schemas/deter0_0_0.err result/schemas/ns0_0_2.err
  result/schemas/ns0_1_2.err: Adapted.
2004-09-16 11:31:52 +00:00
Daniel Veillard
0046c2a1be Added Australian mirrors maintained by jason andrade, removed speakeasy, Daniel 2004-09-13 12:28:54 +00:00
William M. Brack
47a3188400 changed char array initialisation to avoid a complaint from some
* xmlwriter.c: changed char array initialisation to avoid a
  complaint from some compiler(s) (bug 152308)
2004-09-11 16:09:09 +00:00
William M. Brack
f54924bd7e applied fixes for the UTF8ToISO8859x transcoding routine suggested by Mark
* encoding.c: applied fixes for the UTF8ToISO8859x transcoding
  routine suggested by Mark Itzcovitz
2004-09-09 14:35:17 +00:00
Daniel Veillard
41c4a753bc fixed 2 problems raised by #152140, one which is that notation not in the
* valid.c xmlsave.c: fixed 2 problems raised by #152140, one
  which is that notation not in the internal subset should
  not be saved, and the second more nasty on an error saving
  NOTATIONs, if there is a proof that nobody uses notations !
Daniel
2004-09-08 20:55:38 +00:00
Kasimier T. Buchcik
5eba91f2d9 Added the function xmlSchemaValidateOneElement to the XML Schema
* xmlschemas.c include/libxml/xmlschemas.h: Added the function
  xmlSchemaValidateOneElement to the XML Schema validation API,
  as proposed by Jeffrey Fink - see bug # 152073.
2004-09-08 09:17:27 +00:00
Daniel Veillard
06500c8aa6 some cleanup checking for xmllint and xsltproc in configure.in, fixed make
* configure.in doc/Makefile.am xstc/Makefile.am: some cleanup
  checking for xmllint and xsltproc in configure.in, fixed
  make dist w.r.t. the new xstc subdir.
* doc/*: rebuilt
Daniel
2004-09-07 09:12:44 +00:00
Kasimier T. Buchcik
6258a4b903 Changed to finally validate instance documents.
* xstc/xstc.py: Changed to finally validate instance documents.
2004-09-06 14:26:45 +00:00
Daniel Veillard
f31187d31b integrated to "make valgrind", heavy ... weight 250MB of VM ! Daniel
* xstc/Makefile.am Makefile.am: integrated to "make valgrind",
  heavy ... weight 250MB of VM !
Daniel
2004-09-06 14:05:06 +00:00
Daniel Veillard
aa9a352fc7 Small updates, Daniel 2004-09-06 13:20:05 +00:00
Daniel Veillard
cd4535f7a4 Small fix on when to run xstc testsuite in make tests, daniel 2004-09-06 13:03:15 +00:00
Daniel Veillard
2cdd2f3a82 more cleanup in integrating the xstc testsuite Daniel
* xstc/Makefile.am xstc/xstc-to-python.xsl xstc/xstc.py Makefile.am:
  more cleanup in integrating the xstc testsuite
Daniel
2004-09-06 12:55:41 +00:00
Daniel Veillard
68763173d1 Small fix, Daniel 2004-09-06 12:02:19 +00:00
Daniel Veillard
b1da40c144 starting to integrate the xstc suite in the normal regression tests Daniel
* Makefile.am configure.in xstc/.cvsignore xstc/Makefile.am:
  starting to integrate the xstc suite in the normal regression
  tests
Daniel
2004-09-06 11:57:44 +00:00
Kasimier T. Buchcik
9d8d83aa8d The "tsDir" attribute was not set correctly.
* xstc/sun-test-def.xml: The "tsDir" attribute was not
  set correctly.
2004-09-06 11:44:27 +00:00
Daniel Veillard
8b7967c340 when output and expected do not match exactly run diff to put the
* check-xinclude-test-suite.py: when output and expected do not match
  exactly run diff to put the differences in the log c.f. #148691
Daniel
2004-09-06 09:54:35 +00:00
Kasimier T. Buchcik
9d2674960c Initial release of generation files to create python test scripts, which
* xstc/xstc-to-python.xslt xstc/ms-test-def.xml xstc/nist-test-def.xml
  xstc/sun-test-def.xml: Initial release of generation files to
  create python test scripts, which will run the W3C XML Schema Test
  Collection. The ms-test-def.xml and sun-test-def.xml files
  were extracted from the online HTML XSTC results [1], since they did
  not exist for the SUN tests, and only partially did exist for the
  MS tests. The NIST definition file was created by concatenation
  of the existing definition files for each single datatype.
  The stylesheet "xstc-to-python.xslt" should be run against the
  definition files to produce the python scripts.
  [1] "http://www.w3.org/XML/2001/05/xmlschema-test-collection/
  results-master.html"
2004-09-06 09:39:56 +00:00
Kasimier T. Buchcik
383434b2f7 Fixed a seg fault in xmlGetQNameProp: a format argument was missing. Fixed
* xmlschemas.c include/libxml/schemasInternals.h
  include/libxml/xmlerror.h: Fixed a seg fault in xmlGetQNameProp:
  a format argument was missing.
  Fixed wrong assignment of the owner of a wildcard in
  xmlSchemaBuildAttributeValidation (in the shorthandform of
  <complexType>; this caused a seg fault, due to a double-free
  of the wildcard.
  Added a check for circular attribute group references.
  Added a check for circular model group definition references.
  Fixed a dublicate xmlParserErrors enum value - see bug #151738.
2004-09-03 18:55:35 +00:00
William M. Brack
3e53016965 modified comments on xmlGetUTF8Char in response to bug 151760 (no change
* xmlstring.c: modified comments on xmlGetUTF8Char in
  response to bug 151760 (no change to logic)
2004-09-03 17:10:08 +00:00
William M. Brack
f409515f15 fixed error reported on the list caused by my last change
* xmlstring.c: fixed error reported on the list caused by
  my last change
2004-08-31 16:49:26 +00:00
Daniel Veillard
d1de4a3da9 release of libxml2-2.6.13 Daniel
* NEWS configure.in doc/*: release of libxml2-2.6.13
Daniel
2004-08-31 13:43:07 +00:00
Daniel Veillard
71b956387b fixing #151456, an encoding error could generate a serialization loop.
* xmlIO.c: fixing #151456, an encoding error could generate
  a serialization loop.
Daniel
2004-08-31 12:15:36 +00:00
Daniel Veillard
0bff36ddf7 also produce a tar ball with just the sources added --path option and
* Makefile.am: also produce a tar ball with just the sources
* xmllint.c: added --path option and --load-trace options to
  xmllint, RFE #147740 based on xsltproc versions
* doc/xmllint.* doc/*: updated the man page and rebuilt
Daniel
2004-08-31 09:37:03 +00:00
Daniel Veillard
f34a20e69d "" is a valid hexbinary string dixit xmlschema-dev update the test. added
* xmlschemastypes.c: "" is a valid hexbinary string dixit xmlschema-dev
* result/schemas/hexbinary_0_1.err test/schemas/hexbinary_1.xml:
  update the test.
* test/ns5 result//ns5*: added a test for the namespace bug fixed
  in previous commit.
* Makefile.am: added a message in the regression tests
Daniel
2004-08-31 08:42:17 +00:00
Daniel Veillard
fc263f1fcf Fixed snapshot link, Daniel 2004-08-31 07:02:04 +00:00
William M. Brack
bf5cf2196c fixed bug introduced during OOM fixup causing problems with default
* SAX2.c: fixed bug introduced during OOM fixup causing problems
  with default namespace when a named prefix with the same href
  was present (reported on the mailing list by Karl Eichwalder.
* xmlstring.c: modified xmlCheckUTF8 with suggested code from
  Julius Mittenzwei.
* dict.c: added a typecast to try to avoid problem reported by
  Pascal Rodes.
2004-08-31 06:47:17 +00:00
Kasimier T. Buchcik
b4a9e64f75 Fixed a bug in xmlSchemasCheckFacet, which did not create a computed value
* xmlschemas.c: Fixed a bug in xmlSchemasCheckFacet, which did
  not create a computed value on a facet and thus crashed during
  validation of instances.
  Expanded validity checks for min/maxOccurs attributes.
  Expanded validity checks for the value of the attribute "form".
2004-08-30 10:56:53 +00:00
William M. Brack
3ffe90ea1c fixed a problem with xmlCheckUTF8 reported on the mailing list by Julius
* xmlstring.c: fixed a problem with xmlCheckUTF8 reported on the
  mailing list by Julius Mittenzwei
2004-08-28 01:33:30 +00:00
Daniel Veillard
da3336f2d1 added BuildRequires: zlib-devel, fixes Red Hat bug #124942 Daniel
* libxml.spec.in: added BuildRequires:  zlib-devel, fixes
  Red Hat bug #124942
Daniel
2004-08-26 22:14:34 +00:00
Kasimier T. Buchcik
924bd468a1 Added a missing ChangeLog entry.
Added a missing ChangeLog entry.
2004-08-26 10:46:41 +00:00
Daniel Veillard
eebd633b91 remove a warning on Solaris fix a crashing bug #151111 Daniel
* parser.c: remove a warning on Solaris
* xmlschemastype.c: fix a crashing bug #151111
Daniel
2004-08-26 10:30:44 +00:00
Kasimier T. Buchcik
bea2354a33 Added missing test file. Substituted the obsolete xmlSchemaValidError(s)
* test/schemas/import-bad-1_0.imp: Added missing test file.
* xmlschemas.c include/libxml/xmlerror.h include/libxml/xmlschemas.h:
  Substituted the obsolete xmlSchemaValidError(s) for xmlParserErrors
  - see #150840.
  Changed the import of schemas to allow failure of location
  of a resource to be imported.
* result/schemas/all_* result/schemas/any3_0_0.err
  result/schemas/choice_* result/schemas/import1_0_0.err
  result/schemas/list0_0_1.err result/schemas/list0_1_0.err
  result/schemas/list0_1_1.err result/schemas/ns0_0_2.err
  result/schemas/ns0_1_2.err: Adapted regression test results.
2004-08-25 20:35:45 +00:00
MDT 2004 John Fleck
4c3bb7d8a2 doc/tutorial/xmltutorial.xml, xmltutorial.pdf, *.html fix Xpath memory
Tue Aug 24 20:49:15 MDT 2004 John Fleck <jfleck@inkstain.net>

	* doc/tutorial/xmltutorial.xml, xmltutorial.pdf, *.html
	fix Xpath memory leak (thanks to sKaBoy and William Brack)
2004-08-25 02:51:27 +00:00
Igor Zlatkovic
abbf9dfd62 *** empty log message *** 2004-08-24 19:13:20 +00:00
Igor Zlatkovic
07d5976bf4 fixed DTD loading problem reported by Abhinkar, Sameer 2004-08-24 19:12:51 +00:00
Igor Zlatkovic
8834d2767d *** empty log message *** 2004-08-24 14:43:30 +00:00
Igor Zlatkovic
5b9d71462f upgraded to zlib 1.2.1 2004-08-24 14:42:56 +00:00
Igor Zlatkovic
8ea667fdb3 added support for version extra 2004-08-24 14:42:29 +00:00
Daniel Veillard
4918efe916 removing -O -g from default gcc flags #150828 Daniel
* configure.in: removing -O -g from default gcc flags #150828
Daniel
2004-08-23 12:35:14 +00:00
Daniel Veillard
b331fffbb9 preparing 2.6.12 release, updated and and rebuilt the docs. Daniel
* configure.in doc/* NEWS: preparing 2.6.12 release, updated and
  and rebuilt the docs.
Daniel
2004-08-22 14:21:57 +00:00