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

2479 Commits

Author SHA1 Message Date
Kasimier T. Buchcik
017264fe4a Commented the new functions to be experimental.
* tree.c: Commented the new functions to be experimental.
2005-06-27 13:45:24 +00:00
Daniel Veillard
dbee0f1989 working some weird error reporting problem for DTD validation. augmented
* error.c valid.c: working some weird error reporting problem for
  DTD validation.
* runtest.c: augmented with DTD validation tests
* result/VC/OneID*: slight change in validation output.
Daniel
2005-06-27 13:42:57 +00:00
Daniel Veillard
fc319af531 added most HTML tests Daniel
* runtest.c: added most HTML tests
Daniel
2005-06-27 12:44:55 +00:00
Kasimier T. Buchcik
44555f060d Added initial tests for some new DOM-wrapper helping functions.
* test/namespaces/reconcile/tests.xml
  test/namespaces/reconcile/tests-to-c.xsl: Added initial tests
  for some new DOM-wrapper helping functions.
2005-06-27 12:09:02 +00:00
Kasimier T. Buchcik
cbddfe87a5 Cleanup. Removed, those are not needed anymore due to the new test suite.
* xstc/xstc-to-python.xsl: Cleanup.
* xstc/sun-test-def.xml xstc/nist-test-def.xml xstc/ms-test-def.xml:
  Removed, those are not needed anymore due to the new test suite.
2005-06-27 12:03:41 +00:00
Daniel Veillard
4a5a964c66 added SAXv2 regression tests apparently missing. added SAX1/SAX2 checks.
* result/*.sax2 MAkefile.am: added SAXv2 regression tests apparently
  missing.
* runtest.c: added SAX1/SAX2 checks.
Daniel
2005-06-27 10:40:55 +00:00
Kasimier T. Buchcik
bc0e3c6b1a Added xmlDOMWrapReconcileNamespaces(), xmlDOMWrapAdoptNode() and
* tree.c include/libxml/tree.h: Added
  xmlDOMWrapReconcileNamespaces(), xmlDOMWrapAdoptNode() and
  xmlDOMWrapRemoveNode() to the API. These are functions intended
  to be used with DOM-wrappers.
2005-06-27 10:28:23 +00:00
Daniel Veillard
c950d70998 continue to increase the tests Daniel
* runtest.c: continue to increase the tests
Daniel
2005-06-27 09:15:06 +00:00
Daniel Veillard
c111c15390 continue to increase the tests Daniel
* runtest.c: continue to increase the tests
Daniel
2005-06-27 08:22:10 +00:00
Daniel Veillard
fd110d29cc continue to increase the tests Daniel
* runtest.c: continue to increase the tests
Daniel
2005-06-27 00:02:02 +00:00
Daniel Veillard
1b75c3bd69 avoid name glob in agruments as it matches the glob() routine. first steps
* include/libxml/valid.h valid.c: avoid name glob in agruments as
  it matches the glob() routine.
* runtest.c Makefile.am: first steps toward a C regression test
  framework.
Daniel
2005-06-26 21:49:08 +00:00
William M. Brack
7d8b36bcf5 fixed a problem with the detection of ss_family for ipV6, as reported on
* configure.in: fixed a problem with the detection of
  ss_family for ipV6, as reported on the mailing list by
  Doug Orleans.
2005-06-25 07:30:50 +00:00
Kasimier T. Buchcik
21edf9b42c Added regression tests (from Dhyanesh).
* test/schemas/empty-value* result/schemas/empty-value*:
  Added regression tests (from Dhyanesh).
2005-06-21 08:46:25 +00:00
Kasimier T. Buchcik
9c215eb384 Fixed NULL values to be validated as empty string values (reported by
* xmlschemas.c: Fixed NULL values to be validated as empty
  string values (reported by Dhyanesh to the mailing list).
  Adjusted text concatenation of mixed content.
2005-06-21 08:38:49 +00:00
Daniel Veillard
da6f4af38a applied patch from Rob Richards for removal of ID (and xml:id) applied
* tree.c valid.c: applied patch from Rob Richards for removal
  of ID (and xml:id)
* xmlreader.c: applied patch from James Wert implementing
  xmlTextReaderReadInnerXml and xmlTextReaderReadOuterXml
Daniel
2005-06-20 17:17:54 +00:00
Kasimier T. Buchcik
84a56e313d Fixed SAX2 validation: grow of internal namespace list, appending of
* xmlschemas.c: Fixed SAX2 validation: grow of internal
  namespace list, appending of element character content.
* xstc/xstc.py: Added "--sax" option for SAX2 validation.
2005-06-16 12:44:35 +00:00
Kasimier T. Buchcik
7f6e02432d Added missing function descriptions.
* xmlschemastypes.c: Added missing function descriptions.
2005-06-15 13:36:10 +00:00
Daniel Veillard
81562d2d66 if sax1 is used and input is a file use the old API xmlParseFile()
* xmllint.c: if sax1 is used and input is a file use the old
  API xmlParseFile()
* xmlschemas.c: cleanups
* doc/* testapi.c elfgcchack.h: rebuilt to add python bindings
  for the new functions in Schemas.
Daniel
2005-06-15 13:27:56 +00:00
Kasimier T. Buchcik
c63fbbff72 Added xmlSchemaValidateFile() to the public API. This will use SAX2-driven
* xmlschemas.c include/libxml/xmlschemas.h: Added
  xmlSchemaValidateFile() to the public API. This will use
  SAX2-driven validation.
2005-06-15 12:54:05 +00:00
Kasimier T. Buchcik
ef1b6676f6 Added schema test results (Tom Browder, bug #306806).
* result/schemas/bug306806_1_0 result/schemas/bug306806_1_0.err:
  Added schema test results (Tom Browder, bug #306806).
2005-06-15 09:15:11 +00:00
Kasimier T. Buchcik
8cd0903f9f Added schema tests submitted by Tom Browder (bug #306806).
* test/schemas/bug306806_1.xsd test/schemas/bug306806_0.xml:
  Added schema tests submitted by Tom Browder (bug #306806).
2005-06-15 09:11:00 +00:00
William M. Brack
537f1173c3 adjusted last change to xmlCompilePathPattern, fixed one compilation
* pattern.c: adjusted last change to xmlCompilePathPattern,
  fixed one compilation warning
2005-06-14 22:02:59 +00:00
Kasimier T. Buchcik
9ca11bfc3d Some changes/fixes to the streaming evaluation. A bit of support for
* pattern.c: Some changes/fixes to the streaming evaluation.
* xmlschemas.c: A bit of support for parsing the schema for
  schema. Fixed attribute derivation when the use is
  "prohibited" and was "optional". Fixed an attribute construction
  bug, a left-over from the time, where <complexContent>,
  <extension>, etc. where created as structs.
2005-06-14 19:24:47 +00:00
Daniel Veillard
9ea5565f41 removed a redundant include path Daniel
* libxml-2.0.pc.in: removed a redundant include path
Daniel
2005-06-14 10:35:37 +00:00
Kasimier T. Buchcik
d8e10448d1 Some more adjustments.
* xstc/Makefile.am: Some more adjustments.
2005-06-13 13:00:15 +00:00
Kasimier T. Buchcik
34b9a9c063 Changed test extraction process, since some boxes don't know about "tar
* xstc/Makefile.am: Changed test extraction process, since some
  boxes don't know about "tar --strip-path".
2005-06-13 12:43:29 +00:00
Daniel Veillard
f46440392e fixed a bug exposed by Rob Richards in the mailing-list added the
* relaxng.c: fixed a bug exposed by Rob Richards in the mailing-list
* result//compare0* test//compare0*: added the regression test in
  the suite as this went unnoticed !
Daniel
2005-06-13 11:41:31 +00:00
William M. Brack
ea152c05b3 Further enhancement for XPath streaming, consolidated with schemas usage
* pattern.c, xpath.c, include/libxml/pattern.h: Further
  enhancement for XPath streaming, consolidated with
  schemas usage of pattern.c.  Added a new enum
  xmlPatternFlags.
* doc/*, testapi.c, elfgcchack.h: updated to reflect new
  enum.
* test/XPath/tests/mixedpat, test/XPath/docs/mixed,
  result/XPath/mixedpat: added regression test for problems
  reported in bug306348
2005-06-09 18:12:28 +00:00
Kasimier T. Buchcik
1c720df4e5 Changed non-prefixed QNames to be bound to a default namespace if
* xmlschemastypes.c: Changed non-prefixed QNames to be bound to a
  default namespace if existent.
2005-06-09 14:54:59 +00:00
Kasimier T. Buchcik
8dd1e1bcad Fixed a bug which I invented: hexBinary's string values were not
* xmlschemastypes.c: Fixed a bug which I invented: hexBinary's string
  values were not duplicated corrently when creating a computed value
  in xmlSchemaValAtomicType.
2005-06-09 13:14:38 +00:00
Kasimier T. Buchcik
828f654769 Fixed an attribute fixed/default value constraint error.
* xmlschemas.c result/schemas/include1_0_0.err:
  Fixed an attribute fixed/default value constraint error.
2005-06-09 11:23:39 +00:00
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
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
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