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

3101 Commits

Author SHA1 Message Date
Kasimier T. Buchcik
e879861885 Adapted regression test results.
* result/schemas/*: Adapted regression test results.
2005-06-09 10:53:42 +00:00
Kasimier T. Buchcik
21f63b0347 Adapted regression test results 2005-06-09 10:48:40 +00:00
Kasimier T. Buchcik
4efd90d9c3 Changed the validation process to be able to work in streaming mode. Some
* xmlschemas.c xmlschemastypes.c include/libxml/schemasInternals.h
  include/libxml/xmlschemastypes.h: Changed the validation process
  to be able to work in streaming mode. Some datatype fixes,
  especially for list and union types. Due to the changes the
  error report output has changed in most cases. Initial migration to
  functions usable by both, the parser and the validator. This should
  ease a yet-to-come XS construction API in the long term as well.
2005-06-09 10:32:53 +00:00
Daniel Veillard
365cf67ff8 applied patch from Malcolm Rowe to avoid namespace troubles on rollback
* parser.c: applied patch from Malcolm Rowe to avoid namespace
  troubles on rollback parsing of elements start #304761
* test/nsclean.xml result/noent/nsclean.xml result/nsclean.xml*:
  added it to the regression tests.
Daniel
2005-06-09 08:18:24 +00:00
Daniel Veillard
d892557d99 applied patch from Rob Richards for xml:space and xml:lang handling with
* parser.c include/libxml/xmlerror.h: applied patch from Rob Richards
  for xml:space and xml:lang handling with SAX2 api.
Daniel
2005-06-08 22:34:55 +00:00
Daniel Veillard
d846768e27 applied patch from Morten Welinder, closing bug #306901 on compiling
* globals.c: applied patch from Morten Welinder, closing bug #306901
  on compiling subsets of the library
Daniel
2005-06-08 17:42:42 +00:00
Kasimier T. Buchcik
1ace20342a Adapted the XS tests to use the new release of tests and test-definitions.
* xstc/Makefile.am xstc.py xstc-to-python.xsl: Adapted the
  XS tests to use the new release of tests and test-definitions.
2005-06-08 17:15:58 +00:00
Aleksey Sanin
3ea201cedb fixing rendering of attributes when parent node is not in the node set 2005-06-07 16:53:57 +00:00
Aleksey Sanin
2650df1a68 fixed xml attributes processing bug in exc c14n added --exc-c14n command
* c14n.c: fixed xml attributes processing bug in exc c14n
* xmllint.c: added --exc-c14n command line option
2005-06-06 17:16:50 +00:00
William M. Brack
fbb619f476 Enhanced xmlXPathRunStreamEval, fixed handling of depth/level for cases
* xpath.c, pattern.c: Enhanced xmlXPathRunStreamEval, fixed
  handling of depth/level for cases like union operator
  (bug #306348 reported by Bob Stayton).  Also enhanced
  several comments throughout pattern.c.
* doc/apibuild.py: fixed problem in handling of
  'signed' declaration.  Rebuilt the docs.
2005-06-06 13:49:18 +00:00
William M. Brack
0b13a091e8 Enhanced handling of xml:base for included elements, fixing bugs 169209
* xinclude.c: Enhanced handling of xml:base for included
  elements, fixing bugs 169209 and 302353.
2005-06-01 03:37:59 +00:00
Kasimier T. Buchcik
bd6c3f7df8 Fixed facet errors to be channelled back for union type members;
* xmlschemas.c: Fixed facet errors to be channelled back for
  union type members; facet-validation will stop now on the
  first error. Reported by GUY Fabrice to the mailing-list.
* xmlschemastypes.c: Changed to ignore lengh-related facet
  validation for QNames and NOTATIONs as proposed by the
  schema people.
* test/schemas/union2* result/schemas/union2*: Added
  regression tests for union types (by GUY Fabrice).
2005-05-25 17:29:36 +00:00
Daniel Veillard
7cd517c262 applied patch from Mark Vakoc fixing saving of CDATA with NULL content.
* xmlsave.c: applied patch from Mark Vakoc fixing saving of
  CDATA with NULL content.
Daniel
2005-05-20 18:47:22 +00:00
Kasimier T. Buchcik
690a68095f Changed the VALID_TZO macro to restrict the timezone to -840 to 840.
* xmlschemastypes.c: Changed the VALID_TZO macro to restrict
  the timezone to -840 to 840.
2005-05-12 13:16:01 +00:00
Kasimier T. Buchcik
285b36722a Applied patch from Steve Nairn (bug #303670) for "signed int" of the
* xmlschemastypes.c: Applied patch from Steve Nairn (bug #303670)
  for "signed int" of the date-time timezone field. Silenced
  a warning.
2005-05-12 13:10:22 +00:00
Daniel Veillard
64d7d123a0 applied patch for replaceNode from Brent Hendricks Daniel
* tree.c: applied patch for replaceNode from Brent Hendricks
Daniel
2005-05-11 18:03:42 +00:00
Daniel Veillard
6c6d3c7f8a more on lxml, Daniel 2005-05-11 11:12:30 +00:00
Daniel Veillard
929746e75f Added a link to lxml from the bindings pages, Daniel 2005-05-11 11:08:22 +00:00
Daniel Veillard
c587bce5c9 fixed bug #303682 of a leak reported by Malcolm Rowe Daniel
* tree.c: fixed bug #303682 of a leak reported by Malcolm Rowe
Daniel
2005-05-10 15:28:08 +00:00
Daniel Veillard
8aa7afa698 applied patch from Steve Nairn tof fix the compilation problem exposed in
* testapi.c: applied patch from Steve Nairn tof fix the compilation
  problem exposed in bug #303640
Daniel
2005-05-10 09:50:01 +00:00
Kasimier T. Buchcik
3eec790cdc Added regression a test provided by Heiko Oberdiek (bug #303566).
* test/schemas/bug303566_1* result/schemas/bug303566_1_1*:
  Added regression a test provided by Heiko Oberdiek (bug #303566).

  level for XML Schema IDCs (bug #303566 reported by Heiko Oberdiek).
  This should not affect pattern-like resolution on every level.
2005-05-10 09:16:19 +00:00
Kasimier T. Buchcik
22678566b8 Changed the XPath "." to resolve only on the first level for XML Schema
* pattern.c: Changed the XPath "." to resolve only on the first
  level for XML Schema IDCs. This should not affect pattern-like
  resolution on every level.
2005-05-09 16:01:05 +00:00
Daniel Veillard
942d6c7b4f fixed #169630 segfault in xmlMemDisplay Daniel
* xmlmemory.c: fixed #169630 segfault in xmlMemDisplay
Daniel
2005-05-08 11:39:56 +00:00
Daniel Veillard
99dd7636a4 fixing bug #303068 increasing the nanoftp buffer. fixed __attribute()
* nanoftp.c: fixing bug #303068 increasing the nanoftp buffer.
* doc/apibuild.py: fixed __attribute() parsing problem
* doc/* testapi.c: regenerated the descriptions and docs.
Daniel
2005-05-06 11:40:56 +00:00
Daniel Veillard
dbfe05aff4 on linux/gcc use weak definitions to avoid linking with pthread library on
* Makefile.am configure.in threads.c: on linux/gcc use weak definitions
  to avoid linking with pthread library on non-threaded environments.
* xpath.c: applied patch from Mark Vakoc w.r.t. a buggy namespace
  list allocation.
Daniel
2005-05-04 09:18:00 +00:00
Igor Zlatkovic
cbdf65157a ignored the bindist directory 2005-05-03 19:02:47 +00:00
Kasimier T. Buchcik
455472f208 Fixed a test for duplicate attributes: Non-prefixed attributes were
* parser.c: Fixed a test for duplicate attributes: Non-prefixed
  attributes were treated as being bound to the default namespace.
2005-04-29 10:04:43 +00:00
Kasimier T. Buchcik
64dc4d2c5b Fixed date-time related validation (reported by David Crossley, bug
* xmlschemastypes.c: Fixed date-time related validation
  (reported by David Crossley, bug #300576).
2005-04-19 15:58:31 +00:00
Kasimier T. Buchcik
c0e833f002 Removed 5 unnecessary dereferences (reported by Andriy, bug #301074).
* xmlschemas.c xmlregexp.c: Removed 5 unnecessary
  dereferences (reported by Andriy, bug #301074).
2005-04-19 15:02:20 +00:00
William M. Brack
3d42666362 Added some code to avoid integer overflow for ceil, floor and round
* xpath.c: Added some code to avoid integer overflow for
  ceil, floor and round functions (bug 301162)
2005-04-19 14:40:28 +00:00
Kasimier T. Buchcik
187ea5f657 Removed workaround for bug #172215, since it does more harm in some
* xmlschemas.c: Removed workaround for bug #172215, since it
  does more harm in some scenarios. Added some of the
  "Particle Restriction OK" constraints - not yet enabled.
2005-04-19 11:25:43 +00:00
Kasimier T. Buchcik
eabc1d6558 Added test results.
* result/schemas/changelog093*: Added test results.
2005-04-18 11:04:28 +00:00
Kasimier T. Buchcik
c872afbd82 Added output of canonical values in identity-constraint error messages.
* xmlschemas.c: Added output of canonical values in
  identity-constraint error messages.
* xmlschemastypes.c include/libxml/xmlschemastypes.h:
  Added xmlSchemaGetCanonValueWhtsp() to the API.
  Further enhancement of the canonical value
  conversion.
* test/schemas/changelog093_0.*: Added test with an XSD
  submitted by Randy J. Ray.
2005-04-18 10:57:04 +00:00
William M. Brack
d6e347e865 Applied Daniel's fix for memory leak in dtd prefix (bug 300550). minor
* valid.c: Applied Daniel's fix for memory leak in dtd
  prefix (bug 300550).
* xpath.c: minor change to comment only
2005-04-15 01:34:41 +00:00
Daniel Veillard
18ffe20c9e added the call to the breakpoint routine when a monitored block is
* xmlmemory.c: added the call to the breakpoint routine
  when a monitored block is reallocated or freed
Daniel
2005-04-14 17:50:59 +00:00
Daniel Veillard
351f2d6e1a applied patch from Aron Stansvik for bug #172525 about HTTP query string
* nanohttp.c: applied patch from Aron Stansvik for bug #172525
  about HTTP query string parameter being lost
Daniel
2005-04-13 02:55:12 +00:00
Daniel Veillard
f9cf6f5a01 applied patch from Brent Hendricks adding namespace removal at the python
* python/libxml.c python/libxml.py: applied patch from Brent Hendricks
  adding namespace removal at the python level #300209
* python/tests/Makefile.am python/tests/nsdel.py: added the regression
  test
Daniel
2005-04-12 01:02:29 +00:00
Daniel Veillard
d49370e9c5 Updated Steve Ball and Mac OS X binaries URL, Daniel 2005-04-11 23:28:16 +00:00
William M. Brack
2c19a7bf2e fixed several places where memory cleanup was not properly done after an
* xpath.c: fixed several places where memory cleanup was not
  properly done after an error was detected (problem was
  reported on the mailing list by Pawel Palucha)
2005-04-10 01:03:23 +00:00
Kasimier T. Buchcik
016d92e30b Added substitution group constraints; changed the build of the
* xmlschemas.c: Added substitution group constraints; changed
  the build of the pre-computed substitution groups. Channeled
  errors during xsi assembling of schemas to the validation
  context. Fixed a big memory leak, which occured when using
  IDCs: the precomputed value of attributes was not freed if
  the attribute did not resolve to an IDC field (discovered
  with the help of Randy J. Ray's schema, posted to the
  xmlschema-dev maling list).
2005-04-08 20:08:40 +00:00
Kasimier T. Buchcik
1a99a39745 Added "Particle correct 2" to parsing of model groups. Added handling
* xmlschemas.c: Added "Particle correct 2" to parsing of model groups.
  Added handling substitution groups inside <choice> and <sequence>;
  for <all> this is not supported yet. Changed circular checks for
  model groups definitions. "memberTypes" are processed at different
  levels now: component resolution first, construction later; this
  goes hand in hand with a global change to handle component
  resolution in a distinct phase. Fixed invalid default values for
  elements to mark the schema as invalid; this just resulted in an
  error report previously, but the schema was handled as valid.
  Separated the assignment of the model groups to referencing
  model group definition references (i.e. particles); this was
  needed to perform the circularity check for model group definitions.
  Added "Element Declaration Properties Correct (e-props-correct)"
  constraints. Separated component resolution for simple/complex
  types.
* include/libxml/schemasInternals.h: Added a flag for substitution
  group heads.
2005-04-08 11:23:56 +00:00
Daniel Veillard
142fb21c10 Updated links to bindings, daniel 2005-04-07 12:48:10 +00:00
Igor Zlatkovic
f12177d977 make install cleanup 2005-04-06 21:14:06 +00:00
Igor Zlatkovic
f52de60f11 fixed mingw compilation 2005-04-06 20:42:35 +00:00
Igor Zlatkovic
53dbdd7774 *** empty log message *** 2005-04-06 20:06:50 +00:00
Igor Zlatkovic
c52020fc13 added Eclipse project files to ignore 2005-04-06 20:06:08 +00:00
Daniel Veillard
4ddaa56d7a fixed the bug in lang() as raised by Elliotte Rusty Harold added a
* xpath.c: fixed the bug in lang() as raised by Elliotte Rusty Harold
* result/XPath/tests/langsimple test/XPath/tests/langsimple
  test/XPath/docs/lang: added a regression test
Daniel
2005-04-06 14:09:08 +00:00
Daniel Veillard
6056ae93d3 applied fix from Rob Richards to compile on Windows. Daniel
* nanoftp.c: applied fix from Rob Richards to compile on Windows.
Daniel
2005-04-05 21:48:57 +00:00
Kasimier T. Buchcik
5e371a048c Added "Type Derivation OK (Complex)" constraints and anchored them in the
* xmlschemas.c: Added "Type Derivation OK (Complex)" constraints
  and anchored them in the "Element Locally Valid (Element)"
  constraints. This restricts the type substitution via "xsi:type".
2005-04-05 15:08:05 +00:00
Daniel Veillard
f35984584e patch from Matthew Burgess to improve some schemas facets validation
* xmlschemas.c: patch from Matthew Burgess to improve some schemas
  facets validation messages.
Daniel
2005-04-05 11:10:45 +00:00