aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* applied patch from James Bursa fixing an html parsing bug in push modeDaniel Veillard2005-07-031-0/+1
| | | | | | | | * HTMLparser.c: applied patch from James Bursa fixing an html parsing bug in push mode * result/HTML/repeat.html* test/HTML/repeat.html: added the test to the regression suite Daniel
* Added initial tests for some new DOM-wrapper helping functions.Kasimier T. Buchcik2005-06-272-0/+524
| | | | | | * test/namespaces/reconcile/tests.xml test/namespaces/reconcile/tests-to-c.xsl: Added initial tests for some new DOM-wrapper helping functions.
* Added regression tests (from Dhyanesh).Kasimier T. Buchcik2005-06-213-0/+28
| | | | | * test/schemas/empty-value* result/schemas/empty-value*: Added regression tests (from Dhyanesh).
* Added schema tests submitted by Tom Browder (bug #306806).Kasimier T. Buchcik2005-06-152-0/+655
| | | | | * test/schemas/bug306806_1.xsd test/schemas/bug306806_0.xml: Added schema tests submitted by Tom Browder (bug #306806).
* fixed a bug exposed by Rob Richards in the mailing-list added theDaniel Veillard2005-06-132-0/+11
| | | | | | | * 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
* Further enhancement for XPath streaming, consolidated with schemas usageWilliam M. Brack2005-06-092-0/+17
| | | | | | | | | | | | * 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
* applied patch from Malcolm Rowe to avoid namespace troubles on rollbackDaniel Veillard2005-06-091-0/+9
| | | | | | | | * 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
* Fixed facet errors to be channelled back for union type members;Kasimier T. Buchcik2005-05-252-0/+27
| | | | | | | | | | | * 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).
* Added regression a test provided by Heiko Oberdiek (bug #303566).Kasimier T. Buchcik2005-05-102-0/+82
| | | | | | | | * 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.
* Added output of canonical values in identity-constraint error messages.Kasimier T. Buchcik2005-04-182-0/+267
| | | | | | | | | | | * 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.
* fixed the bug in lang() as raised by Elliotte Rusty Harold added aDaniel Veillard2005-04-062-0/+18
| | | | | | | * 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
* fixed a problem in Relax-NG validation #159968 added the test to theDaniel Veillard2005-03-313-0/+25
| | | | | | | * relaxng.c: fixed a problem in Relax-NG validation #159968 * test/relaxng/list.* result/relaxng/list_*: added the test to the regression suite Daniel
* Removed inheritance of "mixed" content type for short-hand restrictions ofKasimier T. Buchcik2005-03-171-1/+1
| | | | | | | | | | * xmlschemas.c: Removed inheritance of "mixed" content type for short-hand restrictions of "anyType" (reported by Guy Fabrice to the mailing list). Added the namespace conversion (chameleon includes) for the base type reference of <restriction> and <extension>. * test/schemas/bug152470_1.xsd: Adapted due to the above change of "mixed" inheritance.
* Changed xmlSearchNsByHref to call xmlNsInScope with the prefix instead ofKasimier T. Buchcik2005-02-282-6/+6
| | | | | | | | * tree.c: Changed xmlSearchNsByHref to call xmlNsInScope with the prefix instead of the namespace name. * test/schemas/annot-err_0.xsd test/schemas/element-err_0.xsd: Adapted invalid values of the "id" attribute, since they are validated now.
* Added the regression test of Frans Englich for bug #167754.Kasimier T. Buchcik2005-02-182-0/+41
| | | | | * test/schemas/bug167754_0*: Added the regression test of Frans Englich for bug #167754.
* fixed implementation for | added a specific regression test DanielDaniel Veillard2005-02-052-0/+21
| | | | | | | * pattern.c xmllint.c: fixed implementation for | * test/pattern/conj.* result/pattern/conj: added a specific regression test Daniel
* fixed the namespaces support fixed xmlGetNodePath when namespaces are usedDaniel Veillard2005-02-054-0/+59
| | | | | | | | | * pattern.c: fixed the namespaces support * tree.c: fixed xmlGetNodePath when namespaces are used * result/pattern/multiple result/pattern/namespaces test/pattern/multiple.* test/pattern/namespaces.*: added more regression tests Daniel
* added first test for the patterns a few fixes DanielDaniel Veillard2005-01-302-0/+20
| | | | | | | * Makefile.am configure.in result/pattern/simple test/pattern/simple.*: added first test for the patterns * pattern.c xmllint.c: a few fixes Daniel
* found and fixed 2 problems in the internal subset scanning code affectingDaniel Veillard2005-01-251-0/+282
| | | | | | | | * parser.c: found and fixed 2 problems in the internal subset scanning code affecting the push parser (and the reader), fixes #165126 * test/intsubset2.xml result//intsubset2.xml*: added the test case to the regression tests. Daniel
* boosting common commnent parsing code, it was really slow. added sprecificDaniel Veillard2005-01-233-0/+178
| | | | | | | | * parser.c: boosting common commnent parsing code, it was really slow. * test/comment[3-5].xml result//comment[3-5].xml*: added sprecific regression tests Daniel
* fixed bug #164556 where non-fatal errors stopped push parsing andDaniel Veillard2005-01-211-0/+9
| | | | | | | | | * parser.c: fixed bug #164556 where non-fatal errors stopped push parsing and xmlreader. * Makefile.am: fixup * test/errors/webdav.xml result/errors/webdav*: adding regression test for this problem. Daniel
* fixed bug #157633 in relaxng choice optimization added regression testsDaniel Veillard2005-01-1510-0/+49
| | | | | | | | | * relaxng.c: fixed bug #157633 in relaxng choice optimization * result/relaxng/choice0* test/relaxng/choice0*: added regression tests about it. * doc/*: rebuilt * testdso.c: removed a warning due to a missing void in signature. Daniel
* fixed namespace bug in push mode reported by Rob Richards added it to theDaniel Veillard2005-01-041-0/+4
| | | | | | | | | | * parser.c: fixed namespace bug in push mode reported by Rob Richards * test/ns6 result//ns6*: added it to the regression tests * xmlmodule.c testModule.c include/libxml/xmlmodule.h: added an extra option argument to module opening and defined a couple of flags to the API. Daniel
* making DSO support an option code and documentation cleanups regeneratedDaniel Veillard2005-01-041-1/+1
| | | | | | | | | | | * configure.in: making DSO support an option * xmlmodule.c xmlreader.c include/libxml/xmlmodule.h: code and documentation cleanups * elfgcchack.h testapi.c doc/*: regenerated the docs and checks for new module * test/valid/REC-xml-19980210.xml: fix a small change introduced previously Daniel
* fixed ID deallocation problem based on patch from Steve Shepard fixes bugDaniel Veillard2004-12-101-1/+1
| | | | | | | | * valid.c: fixed ID deallocation problem based on patch from Steve Shepard fixes bug #160893 * xmlmemory.c: improving comment. * testapi.c: new test for xmlDictExists() is generated. Daniel
* Fixed back modified tests erased on last commit, danielDaniel Veillard2004-11-073-0/+5194
|
* fixed typos and avoid Catalogs verbosity DanielDaniel Veillard2004-11-073-5194/+0
| | | | | * gentest.py testapi.c: fixed typos and avoid Catalogs verbosity Daniel
* adding xmlMemBlocks() work on generator of an automatic API regressionDaniel Veillard2004-11-021-0/+0
| | | | | | | | | | | * 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
* fixed the leak reported by Volker Roth on the list added a specific testDaniel Veillard2004-10-251-0/+21
| | | | | | * parser.c: fixed the leak reported by Volker Roth on the list * test/ent10 result//ent10*: added a specific test for the problem Daniel
* added support for HTML PIs #156087 added specific tests DanielDaniel Veillard2004-10-221-0/+10
| | | | | | * HTMLparser.c: added support for HTML PIs #156087 * test/HTML/python.html result/HTML/python.html*: added specific tests Daniel
* Parsing of <complexContent> - handle attribute 'mixed', catch illegalKasimier T. Buchcik2004-09-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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).
* applied patch from Malcolm Tredinnick fixing errata E20 concerningDaniel Veillard2004-09-262-0/+20
| | | | | | | | * 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
* Simpified attribute wildcard creation and assignment to get rid of memoryKasimier T. Buchcik2004-09-162-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* "" is a valid hexbinary string dixit xmlschema-dev update the test. addedDaniel Veillard2004-08-312-1/+5
| | | | | | | | | | * 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
* Added missing test file. Substituted the obsolete xmlSchemaValidError(s)Kasimier T. Buchcik2004-08-251-0/+5
| | | | | | | | | | | | | | * 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.
* modified parsing of <list>, <union>, <restriction>, <sequence>, <choice>,William M. Brack2004-08-2025-0/+526
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * xmlschemas.c: modified parsing of <list>, <union>, <restriction>, <sequence>, <choice>, <include>, <import>. Fixed schema defaults (elementFormDefault, etc.) for included schemas. Fixed a bug which reported attributes as invalid on elements declarations with the built-in type 'anyType'. Added "lax" validation of the content of elements of type 'anyType'. Fixed: element declarations with the same name were treated as duplicate if located in the subtree of <choice> -> <sequence>. (This was bug 150623, submitted by Roland Lezuo) Fixed cleanup of error codes in xmlSchemaValidateDoc as proposed by Igor Kapitanker. (This was bug 150647, submitted by Igor Kapitanker) * xmlschemastypes.c: Changed the type of anyType to XML_SCHEMAS_ANYTYPE. * include/libxml/xmlerror.h: Added schema parser errors. * result/schemas/bug145246_0_0* result/schemas/extension1_0_2.err: Changed test results. * result/schemas/ct-sc-nobase_0_0* result/schemas/facet-whiteSpace_0_0* result/schemas/import1_0_0* result/schemas/import2_0_0* result/schemas/include2_0_0* result/schemas/include3_0_0* result/schemas/restriction-attr1_0_0* result/schemas/seq-dubl-elem1_0_0* result/schemas/xsd-list-itemType_0_0*: Added new rest results. test/schemas/bug145246.xsd.imp test/schemas/ct-sc-nobase_0* test/schemas/facet-whiteSpace_0* test/schemas/import1_0* test/schemas/import2_0* test/schemas/include2_0* test/schemas/include3_0* test/schemas/restriction-attr1_0* test/schemas/seq-dubl-elem1_0* test/schemas/xml.xsd test/schemas/xsd-list-itemType_0*: Added new tests and missing files.
* small typo pointed out by Mike Hommey slightly improved the --c14nDaniel Veillard2004-08-166-0/+14
| | | | | | | | | | | | | | | | | | | * xmlIO.c: small typo pointed out by Mike Hommey * doc/xmllint.xml, xmllint.html, xmllint.1: slightly improved the --c14n description, c.f. #144675 . * nanohttp.c nanoftp.c: applied a first simple patch from Mike Hommey for $no_proxy, c.f. #133470 * parserInternals.c include/libxml/parserInternals.h include/libxml/xmlerror.h: cleanup to avoid 'error' identifier in includes # * parser.c SAX2.c debugXML.c include/libxml/parser.h: first version of the inplementation of parsing within the context of a node in the tree #142359, new function xmlParseInNodeContext(), added support at the xmllint --shell level as the "set" function * test/scripts/set* result/scripts/* Makefile.am: extended the script based regression tests to instrument the new function. Daniel
* applied Schemas patches from Kasimier Buchcik lot of new tests for thingsDaniel Veillard2004-08-1029-8/+591
| | | | | | | | | | | * configure.in xmlregexp.c xmlschemas.c xmlschemastypes.c include/libxml/schemasInternals.h include/libxml/xmlerror.h include/libxml/xmlschemastypes.h: applied Schemas patches from Kasimier Buchcik * test/ result/ bug141333* annot-err* any[1-4]* bug145246* element-err* element-minmax-err* include1* restrict-CT-attr-ref*: lot of new tests for things fixed by the patch Daniel
* applied patches from Peter Breitenlohner to fix handling of white spaceDaniel Veillard2004-07-164-0/+31
| | | | | | | * catalog.c test/catalogs/white* result/catalogs/white*: applied patches from Peter Breitenlohner to fix handling of white space normalization in public ids and add tests Daniel
* Added missing file, corrected output, DanielDaniel Veillard2004-06-291-0/+12
|
* applied Schemas patches from Kasimier Buchcik, there is still one openDaniel Veillard2004-06-296-0/+90
| | | | | | | | | | * xmlschemas.c xmlschemastypes.c include/libxml/xmlerror.h include/libxml/schemasInternals.h include/libxml/xmlschemastypes.h: applied Schemas patches from Kasimier Buchcik, there is still one open issue about referencing freed memory. * test/schemas/* result/schemas/*: updated with new tests from Kasimier Daniel
* implemented bugfix from Massimo Morara for DTD dumping problem. addedWilliam M. Brack2004-06-241-0/+12
| | | | | | | | * valid.c: implemented bugfix from Massimo Morara for DTD dumping problem. * test/valid/t10.xml, result/valid/t10.*: added regression for above * configure.in: small change for my profile settings
* applied another patch from Kasimier Buchcik for Schema ComponentDaniel Veillard2004-06-086-0/+179
| | | | | | | * xmlschemas.c include/libxml/xmlerror.h: applied another patch from Kasimier Buchcik for Schema Component Constraints * test/schemas/* result/schemas/*: added the regression tests Daniel
* fixed a serious problem when substituing entities using the Reader, theDaniel Veillard2004-06-081-0/+61
| | | | | | | | | * parser.c xmlreader.c include/libxml/parser.h: fixed a serious problem when substituing entities using the Reader, the entities content might be freed and if rereferenced would crash * Makefile.am test/* result/*: added a new test case and a new test operation for the reader with substitution of entities. Daniel
* added a bunch of tests from Kasimier Buchcik posted on May 11 DanielDaniel Veillard2004-06-0430-0/+334
| | | | | | * test/schemas/* result/schemas/*: added a bunch of tests from Kasimier Buchcik posted on May 11 Daniel
* new patch from Kasimier Buchcik for processContents of wildcards attributeDaniel Veillard2004-06-034-0/+82
| | | | | | | | * xmlschemas.c: new patch from Kasimier Buchcik for processContents of wildcards attribute handling * test/schemas/anyAttr-* result/schemas/anyAttr-*: added specific regression tests Daniel
* fixed a bug where invalid charrefs may not be detected sometimes asDaniel Veillard2004-06-031-0/+1
| | | | | | | | * parser.c: fixed a bug where invalid charrefs may not be detected sometimes as pointed by Morus Walter. * test/errors/charref1.xm result/errors/charref1.xml*: added the test in the regression suite. Daniel
* applied a patch from Kasimier Buchcik implementing attribute uses andDaniel Veillard2004-06-0221-0/+983
| | | | | | | | * xmlschemas.c include/libxml/schemasInternals.h include/libxml/xmlerror.h: applied a patch from Kasimier Buchcik implementing attribute uses and wildcards. * test/schemas/* result/schemas/*: added/fixed a bunch of tests Daniel
* applied a patch from Charles Bozeman fixing a side effect in date handlingDaniel Veillard2004-05-291-0/+1
| | | | | | * test/schemas/date_0.xml xmlschemastypes.c: applied a patch from Charles Bozeman fixing a side effect in date handling Daniel
* Applied patches supplied by Kasimier Buchcik. changed test to account forWilliam M. Brack2004-05-112-96/+98
| | | | | | | | * xmlschemas.c, include/libxml/schemasInternals.h, include/libxml/xmlerror.h: Applied patches supplied by Kasimier Buchcik. * test/schemas/po1_0.xml, test/schemas/po1_0.xsd: changed test to account for above patch.