Wed Sep 29 15:00:11 CEST 2004 Kasimier Buchcik * xmlschemas.c include/libxml/xmlerror.h include/libxml/xmlschemas.h include/libxml/schemasInternals.h: Parsing of - handle attribute 'mixed', catch illegal attributes. Parsing of - 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). Wed Sep 29 11:03:10 CEST 2004 Daniel Veillard * python/drv_libxml2.py: another patch from Malcolm Tredinnick adding option not to load dtd from the drv_libxml2.py module #134633 Tue Sep 28 14:30:22 CEST 2004 Daniel Veillard * acconfig.h config.h.in configure.in xmlIO.c xmlregexp.c xmlschemas.c xmlschemastypes.c: another patch from Malcolm Tredinnick fixing warning generated by the Nonstop Kernel Open System Services compiler #151710 Tue Sep 28 13:07:37 CEST 2004 Daniel Veillard * python/libxml.py: applied patch from Malcolm Tredinnick fixing python exception hierarchy #139824 Sun Sep 26 16:40:24 CEST 2004 Daniel Veillard * 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 Sun Sep 26 16:24:44 CEST 2004 Daniel Veillard * xstc/xstc.py: applied patch from Malcolm Tredinnick fixing space/tabs #153713 * xpath.c: fixed a realloc potential problem Fri Sep 24 16:14:12 CEST 2004 Daniel Veillard * Makefile.am: fixed make valgrind xstc Thu Sep 23 18:23:46 CEST 2004 Daniel Veillard * xmlschemastypes.c: fixing an out of bound adressing issue Thu Sep 23 15:14:12 CEST 2004 Daniel Veillard * HTMLparser.c parser.c relaxng.c xmlschemas.c: more memory related code cleanups. Thu Sep 23 01:04:30 CEST 2004 Daniel Veillard * parser.c: fixed a bunch of errors when realloc failed. Wed Sep 22 23:56:05 CEST 2004 Daniel Veillard * threads.c uri.c: couple of memory fixes from Mark Vakoc reported by Purify on Windows. Mon Sep 20 22:01:47 CEST 2004 Daniel Veillard * xmllint.c: added --timing --copy timing for the copy * vms/build_libxml.com: applied patch from Craig Berry to build with recent releases Fri Sep 17 21:25:33 PDT 2004 William Brack * 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. Fri Sep 17 10:40:23 CEST 2004 Daniel Veillard * 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. Fri Sep 17 10:36:23 CEST 2004 Daniel Veillard * ChangeLog: applied fix from Stepan Kasal to fix duplication in the change log and cleanup of space/tabs issues. Thu Sep 16 13:24:27 CEST 2004 Kasimier Buchcik * 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 . 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. Sat Sep 11 09:04:22 PDT 2004 William Brack * xmlwriter.c: changed char array initialisation to avoid a complaint from some compiler(s) (bug 152308) Thu Sep 9 07:22:11 PDT 2004 William Brack * encoding.c: applied fixes for the UTF8ToISO8859x transcoding routine suggested by Mark Itzcovitz Wed Sep 8 22:50:27 CEST 2004 Daniel Veillard * 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 ! Wed Sep 8 11:04:27 CEST 2004 Kasimier Buchcik * xmlschemas.c include/libxml/xmlschemas.h: Added the function xmlSchemaValidateOneElement to the XML Schema validation API, as proposed by Jeffrey Fink - see bug # 152073. Tue Sep 7 11:10:36 CEST 2004 Daniel Veillard * 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 Mon Sep 6 16:42:59 CEST 2004 Kasimier Buchcik * xstc/xstc.py: Changed to finally validate instance documents. Mon Sep 6 16:04:01 CEST 2004 Daniel Veillard * xstc/Makefile.am Makefile.am: integrated to "make valgrind", heavy ... weight 250MB of VM ! Mon Sep 6 14:54:39 CEST 2004 Daniel Veillard * xstc/Makefile.am xstc/xstc-to-python.xsl xstc/xstc.py Makefile.am: more cleanup in integrating the xstc testsuite Mon Sep 6 13:56:28 CEST 2004 Daniel Veillard * Makefile.am configure.in xstc/.cvsignore xstc/Makefile.am: starting to integrate the xstc suite in the normal regression tests Mon Sep 6 13:14:11 CEST 2004 Kasimier Buchcik * xstc/sun-test-def.xml: The "tsDir" attribute was not set correctly. Mon Sep 6 11:52:50 CEST 2004 Daniel Veillard * 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 Mon Sep 6 11:17:35 CEST 2004 Kasimier Buchcik * 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" Fri Sep 3 20:29:59 CEST 2004 Kasimier Buchcik * 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 ; 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. Fri Sep 3 10:08:13 PDT 2004 William Brack * xmlstring.c: modified comments on xmlGetUTF8Char in response to bug 151760 (no change to logic) Tue Aug 31 09:46:18 PDT 2004 William Brack * xmlstring.c: fixed error reported on the list caused by my last change Tue Aug 31 15:41:52 CEST 2004 Daniel Veillard * NEWS configure.in doc/*: release of libxml2-2.6.13