1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-11 12:58:16 +03:00

3356 Commits

Author SHA1 Message Date
Daniel Veillard
ea71f5dd0b fix an error report when using --path and --valid closes bug #331290
* xmllint.c: fix an error report when using --path and --valid
  closes bug #331290
Daniel
2006-02-19 16:55:55 +00:00
Daniel Veillard
7933800926 Added new regression tests for #331062, daniel 2006-02-19 15:32:29 +00:00
Daniel Veillard
87254c8497 trying to fix #331062, this is again a problem around interleave, there is
* relaxng.c: trying to fix #331062, this is again a problem
  around interleave, there is no good fix unless reimplementing
  but this works around some cases and allow to validate in that
  case.
Daniel
2006-02-19 15:27:17 +00:00
Kasimier T. Buchcik
eb46870850 Fixed bug #328896 reported by Liron. The path for text- and
* tree.c: Fixed bug #328896 reported by Liron. The path
  for text- and CDATA-section-nodes was computed incorrectly
  in xmlGetNodePath().
2006-02-15 10:57:50 +00:00
Daniel Veillard
a29aca1819 Remove a deprecated paragraph on internal encoding, daniel 2006-02-14 09:17:23 +00:00
Daniel Veillard
fc011b7fb8 bug fixes for #327167 as well as some cleanups and more thorough tests on
* xmlregexp.c: bug fixes for #327167 as well as some cleanups
  and more thorough tests on atoms comparisons.
Daniel
2006-02-12 19:14:15 +00:00
Daniel Veillard
73dd71ecdd patch from Eric Zurcher to compile with Borland C++ 6 Daniel
* include/wsockcompat.h: patch from Eric Zurcher to compile with
  Borland C++ 6
Daniel
2006-02-09 09:08:46 +00:00
Daniel Veillard
9b528c759b bill pointed out a missing block in xmlParseComment trying to fill with a
* parser.c: bill pointed out a missing block in xmlParseComment
  trying to fill with a normal processing of the given character.
Daniel
2006-02-05 03:06:15 +00:00
Daniel Veillard
6974feb0cf fixed the comment streaming bug raised by Graham Bennett added to the
* parser.c: fixed the comment streaming bug raised by Graham Bennett
* test/badcomment.xml result//badcomment.xml*: added to the regression suite.
Daniel
2006-02-05 02:43:36 +00:00
Kasimier T. Buchcik
a81d9199c6 Added the xmlDOMWrapCloneNode() to the header file.
* include/libxml/tree.h: Added the xmlDOMWrapCloneNode() to
  the header file.
2006-02-03 16:37:44 +00:00
Kasimier T. Buchcik
cab801b163 Added an initial version of xmlDOMWrapCloneNode() to the API. It will be
* tree.c: Added an initial version of xmlDOMWrapCloneNode() to
  the API. It will be used to reflect DOM's Node.cloneNode and
  Document.importNode methods.
  The pros: 1) non-recursive, 2) optimized ns-lookup
  (mostly pointer comparison), 3) user defined ns-lookup,
  4) save ns-processing. The function is in an unfinished
  and experimental state and should be only used to test it.
2006-02-03 16:35:27 +00:00
Daniel Veillard
8f3392ef69 applied patch from Rob Richards fixing the URI regressions tests on
* uri.c: applied patch from Rob Richards fixing the URI regressions
  tests on Windows which seems to indicate bad escaping.
Daniel
2006-02-03 09:45:10 +00:00
Kasimier T. Buchcik
e8f8d75166 Fixed some bugs xmlDOMWrapReconcileNamespaces() wrt the previous addition
* tree.c: Fixed some bugs xmlDOMWrapReconcileNamespaces() wrt
  the previous addition of the removal of redundant ns-decls.
2006-02-02 12:13:07 +00:00
Kasimier T. Buchcik
e01b2fd776 Enhanced xmlDOMWrapReconcileNamespaces() to remove redundant ns-decls if
* tree.c: Enhanced xmlDOMWrapReconcileNamespaces() to remove
  redundant ns-decls if the option XML_DOM_RECONNS_REMOVEREDUND
  was given. Note that I haven't moved this option to the
  header file yet; so just call this function with an @option
  of 1 to test the behaviour.
2006-02-01 16:36:13 +00:00
Kasimier T. Buchcik
2363555e76 Added changed as proposed on the mailing list by venkat naidu in order to
* tapi.c win32/Makefile.*: Added changed as proposed on
  the mailing list by venkat naidu in order to compile
  testapi.c on windows.
2006-02-01 11:28:14 +00:00
Daniel Veillard
4188ddf811 trying to fix windows/configure issues reported by Tim Van Holder Daniel
* configure.in xml2-config.in: trying to fix windows/configure
  issues reported by Tim Van Holder
Daniel
2006-01-19 08:58:42 +00:00
Daniel Veillard
499cc9204f try to fix xmlParseInNodeContext when operating on an HTML document.
* HTMLparser.c libxml.h parser.c: try to fix xmlParseInNodeContext
  when operating on an HTML document.
Daniel
2006-01-18 17:22:35 +00:00
Kasimier T. Buchcik
a930fbec6b Added xmlRelaxNGSetParserStructuredErrors() to the API.
* relaxng.c include/libxml/relaxng.h: Added
  xmlRelaxNGSetParserStructuredErrors() to the API.
2006-01-09 16:28:20 +00:00
Daniel Veillard
a617e24f32 reverted first patches for #319279 which led to #326295 and fixed the
* parser.c: reverted first patches for #319279 which led to #326295
  and fixed the problem in xmlParseChunk() instead
* test/ent11 result//ent11*: added test for #326295 to the regression
  suite
Daniel
2006-01-09 14:38:44 +00:00
Daniel Veillard
6795260135 upated the news regenerated the docs, preparing for release of 2.6.23
* NEWS configure.in libxml.spec.in testapi.c doc/*: upated the news
  regenerated the docs, preparing for release of 2.6.23
* pattern.c xmlschemas.c: fixed some comments
Daniel
LIBXML2_2_6_23
2006-01-05 15:29:44 +00:00
Kasimier T. Buchcik
bb2074e8ff Added regression tests for the latest XPath/pattern fixes.
* test/XPath/docs/nodes test/XPath/tests/nodespat
  result/XPath/tests/nodespat: Added regression tests for
  the latest XPath/pattern fixes.
2006-01-05 14:49:40 +00:00
Kasimier T. Buchcik
bb80f544d4 Another fix to handle "foo//.": "foo" was not included in the resulting
* pattern.c: Another fix to handle "foo//.": "foo" was not
  included in the resulting node-set.
2006-01-05 14:44:45 +00:00
Kasimier T. Buchcik
97258713d3 Fixed bug #322928, reported by Erich Schubert: The bug was in pattern.c,
* pattern.c xpath.c include/libxml/pattern.h:
  Fixed bug #322928, reported by Erich Schubert: The bug was
  in pattern.c, which is used for a tiny subset of xpath
  expression which can be evaluated in an optimized way.
  The doc-node was never considered when evaluating "//"
  expressions. Additionally, we fixed resolution
  to nodes of any type in pattern.c; i.e. a "//." didn't work
  yet, as it did select only element-nodes. Due to this
  issue the pushing of nodes in xpath.c needed to be adjusted
  as well.
2006-01-05 12:30:43 +00:00
Daniel Veillard
b20c63a29c tiny refactoring patch from Bjorn Reese Daniel
* parser.c: tiny refactoring patch from Bjorn Reese
Daniel
2006-01-04 17:08:46 +00:00
Daniel Veillard
6977c6c437 fix bug #324432 with <xml:foo/> added to the regression tests Daniel
* SAX2.c: fix bug #324432 with <xml:foo/>
* test/ns7 resul//ns7*: added to the regression tests
Daniel
2006-01-04 14:03:10 +00:00
Daniel Veillard
affb8688da applied patch from Mark Junker, fixing a MinGW compilation problem, should
* include/wsockcompat.h: applied patch from Mark Junker, fixing a
  MinGW compilation problem, should close bug #324943
Daniel
2006-01-04 09:55:16 +00:00
Kasimier T. Buchcik
dfbc33a1f0 Removed last dependency on the obsolete enum xmlSchemaValidError.
* xmlschemas.c: Removed last dependency on the obsolete enum
  xmlSchemaValidError.
2006-01-03 10:51:59 +00:00
Daniel Veillard
d0271473ab compilation and doc build fixes from Michael Day Daniel
* xmlreader.c include/libxml/xmlreader.h xmlschemas.c: compilation
  and doc build fixes from Michael Day
Daniel
2006-01-02 10:22:02 +00:00
Daniel Veillard
0b1ff14bd0 bug in xmlRegExecPushString2() pointed out by Sreeni Nair. Daniel
* xmlregexp.c: bug in xmlRegExecPushString2() pointed out by
  Sreeni Nair.
Daniel
2005-12-28 21:13:33 +00:00
Daniel Veillard
d95ecf0b8d Fixed xmlStrEqual() doc, Daniel 2005-12-22 14:58:32 +00:00
Rob Richards
77b92ff6a8 fix bug #322136 in xmlNodeBufGetContent when entity ref is a child of an
* tree.c: fix bug #322136 in xmlNodeBufGetContent when entity ref is
  a child of an element (fix by Oleksandr Kononenko).
* HTMLtree.c include/libxml/HTMLtree.h: Add htmlDocDumpMemoryFormat.
2005-12-20 15:55:14 +00:00
Kasimier T. Buchcik
5bb0c08d2f Fixed a segfault during text concatenation when validating a node tree:
* xmlschemas.c xmlstring.c: Fixed a segfault during
  text concatenation when validating a node tree:
  xmlStrncat was called with a @len of -1; but unlike
  xmlStrncatNew, it does not calculate the length
  automatically in such a case (reported by Judy Hay
  on the mailing list).
  Updated the descriptions of the involved string
  functions to note this.
2005-12-20 10:48:33 +00:00
Daniel Veillard
9a2724d847 applied patch from Gary Coady to accept gzipped http resources. Daniel
* nanohttp.c: applied patch from Gary Coady to accept gzipped
  http resources.
Daniel
2005-12-15 11:12:26 +00:00
Kasimier T. Buchcik
4a113f9888 Added enable/disable of runtime debugging (LIBXML_DEBUG_RUNTIME).
* win32/configure.js: Added enable/disable of runtime
  debugging (LIBXML_DEBUG_RUNTIME).
2005-12-14 17:43:03 +00:00
Kasimier T. Buchcik
d81ebd1746 Fixed to define LIBXML_DEBUG_RUNTIME on the basis of @WITH_RUN_DEBUG@.
* include/libxml/xmlversion.h.in: Fixed to define
  LIBXML_DEBUG_RUNTIME on the basis of @WITH_RUN_DEBUG@.
2005-12-14 17:14:35 +00:00
Kasimier T. Buchcik
b0d74c661a Added regression test for bug #321475 (reported by Gabor Nagy). Fixing of
* test/schemas/bug321475* result/schemas/bug321475*:
  Added regression test for bug #321475 (reported by
  Gabor Nagy). Fixing of bug #323510 seemed to have
  fixed this bug as well.
2005-12-13 11:52:35 +00:00
Kasimier T. Buchcik
bd9d91f9dc Adjusted a bug's wrong date-time 2005-12-12 15:34:04 +00:00
Kasimier T. Buchcik
826da468f9 Named the reporter of bug #323510 2005-12-12 15:26:39 +00:00
Kasimier T. Buchcik
183fa3e79a Added regression test for bug #323510.
* test/schemas/bug323510* result/schemas/bug323510*:
  Added regression test for bug #323510.
2005-12-12 15:20:28 +00:00
Kasimier T. Buchcik
7ca5aedfc3 Workaround for bug #323510: substituted the epsilon transition for a
* xmlschemas.c: Workaround for bug #323510: substituted the
  epsilon transition for a labelled transition, in order to
  avoid a bug in xmlregexp.c which eliminated the epsilon
  transition and marked the initial state as final.
2005-12-12 15:13:40 +00:00
Daniel Veillard
bc4cc9da77 Gary Coady pointed a memory leak in xmlTextReaderReadInnerXml() applied
* xmlreader.c: Gary Coady pointed a memory leak in
  xmlTextReaderReadInnerXml() applied patch fixing #323864
Daniel
2005-12-12 13:26:56 +00:00
Daniel Veillard
6a0baa0cd8 fixed a number of warnings shown by HP-UX compiler and reported by Rick
* HTMLparser.c configure.in parserInternals.c runsuite.c runtest.c
  testapi.c xmlschemas.c xmlschemastypes.c xmlstring.c: fixed a number
  of warnings shown by HP-UX compiler and reported by Rick Jones
Daniel
2005-12-10 11:11:12 +00:00
Rob Richards
ffe47feb27 Insert space between pubid and sysid when both passed to
* xmlwriter.c: Insert space between pubid and sysid when both
  passed to xmlTextWriterStartDTD and indenting not being used.
  Remove no longer used Mem callbacks.
2005-12-09 17:52:21 +00:00
Kasimier T. Buchcik
dcac4fce1d Changed to instantly mark instance-tests as failed if the corresponding
* runsuite.c: Changed to instantly mark instance-tests as
  failed if the corresponding schema was invalid. This
  reflects the side of the Python code for the XML Schema test
  suite. We now get the same number of failed tests on both
  sides.
2005-12-09 10:03:27 +00:00
Kasimier T. Buchcik
bdadaedd88 Added xmlTextReaderSchemaValidateCtxt() to the API.
* xmlreader.c include/libxml/xmlreader.h: Added
  xmlTextReaderSchemaValidateCtxt() to the API.
2005-12-07 14:02:42 +00:00
Kasimier T. Buchcik
215406f089 Fixed a segfault: the instance document was still tried to be validated,
* xmlschemas.c: Fixed a segfault: the instance document was
  still tried to be validated, if the schema, dynamically
  acquired using XSI was invalid, thus mangled. The
  validation will stop (or rather won't validate) now in
  such a case. The schema parser error code will be set
  on the validion context now; this is somehow not nice,
  but it assures that the validation context indicates an
  error in there was a parser error.
2005-12-07 12:14:09 +00:00
Daniel Veillard
42ca673492 small doc patch from Aron Stansvik another doc patch for a deprecated API
* xmlreader.c: small doc patch from Aron Stansvik
* legacy.c: another doc patch for a deprecated API
Daniel
2005-12-06 22:21:46 +00:00
Kasimier T. Buchcik
27759f2670 Tiny change for 'make tests': raised the number of expected failures for
* Makefile.am: Tiny change for 'make tests': raised
  the number of expected failures for James Clark's
  XML Schema datatype tests from 10 to 11. The additional
  reported error was agreed to be correct long time ago,
  but we missed to adjust the message reported by
  the testing script.
2005-12-05 15:32:28 +00:00
Kasimier T. Buchcik
7c78215b14 Added missing regression test results for the latest IDC and xs:decimal
* result/schemas/decimal* result/schemas/bug322411*:
  Added missing regression test results for the latest IDC
  and xs:decimal bugs.
2005-12-02 12:52:47 +00:00
Kasimier T. Buchcik
bf442eb243 Added regression tests for the latest IDC and xs:decimal bugs.
* test/schemas/decimal* test/schemas/bug322411*: Added
  regression tests for the latest IDC and xs:decimal bugs.
2005-11-30 11:24:18 +00:00