include


Log

Author Commit Date CI Message
Daniel Veillard 438ebbd5 2008-05-12T12:58:46 fx compilation when configured without the reader should fix #513110 * xmlschemas.c runtest.c testapi.c include/libxml/xmlreader.h python/types.c python/libxml_wrap.h python/libxml.c: fx compilation when configured without the reader should fix #513110 * doc/*: regenerated Daniel svn path=/trunk/; revision=3743
Daniel Veillard dee23485 2008-04-11T12:58:43 added new function xmlSchemaValidCtxtGetParserCtxt based on Holger * include/libxml/xmlschemas.h xmlschemas.c: added new function xmlSchemaValidCtxtGetParserCtxt based on Holger Kaelberer patch * doc/apibuild.py doc/*: regenerated the doc, chased why the new function didn't got any documentation, added more checking in the generator * include/libxml/relaxng.h include/libxml/schematron.h include/libxml/xmlschemas.h include/libxml/c14n.h include/libxml/xmlregexp.h include/libxml/globals.h include/libxml/xmlreader.h threads.c xmlschemas.c: various changes and cleanups following the new reports Daniel svn path=/trunk/; revision=3738
Rob Richards c3e2435a 2008-04-09T17:49:09 support older win32 platforms when building with newer versions of VS * include/wsockcompat.h: support older win32 platforms when building with newer versions of VS svn path=/trunk/; revision=3736
Daniel Veillard e43579b2 2008-04-03T04:56:04 small doc improvement for xmlXPathContext from Jack Jansen, fixes #524759 * include/libxml/xpath.h: small doc improvement for xmlXPathContext from Jack Jansen, fixes #524759 * doc/newapi.xsl doc/*: fixed a problem and regenerated the docs Daniel svn path=/trunk/; revision=3722
Daniel Veillard 68b6e02b 2008-03-31T09:26:00 lot of out of memory handling fixes from Ashwin work around a problem with * parser.c: lot of out of memory handling fixes from Ashwin * elfgcchack.h doc/elfgcchack.xsl: work around a problem with xmlDllMain * include/libxml/threads.h: indenting cleanups Daniel svn path=/trunk/; revision=3720
Daniel Veillard c4b0debc 2008-03-14T12:46:42 applied patch from Tobias Minich to allow plugin schematron error * include/libxml/schematron.h include/libxml/xmlerror.h schematron.c: applied patch from Tobias Minich to allow plugin schematron error reporting in the normal error system, should fix #513998 Daniel svn path=/trunk/; revision=3707
Rob Richards a544c189 2008-03-10T15:26:27 add ICONV_CONST define for win32 build to satisfy encoding.c change in rev * include/win32config.h: add ICONV_CONST define for win32 build to satisfy encoding.c change in rev 3693 svn path=/trunk/; revision=3702
Daniel Veillard 6f8611fd 2008-02-15T08:33:21 patch from Julien Charbon to simplify the processing of xmlSetProp() * include/libxml/xmlerror.h tree.c: patch from Julien Charbon to simplify the processing of xmlSetProp() Daniel svn path=/trunk/; revision=3694
Rob Richards 82fbf579 2008-01-25T19:03:37 fix build under VS 2008. patch by David Wimsey * include/win32config.h win32/Makefile.msvc: fix build under VS 2008. patch by David Wimsey svn path=/trunk/; revision=3681
Rob Richards e967f0bd 2007-06-08T19:36:04 *use specified calling convention for xmlDllMain. Old SDKs (VC6) only support InterlockedCompareExchange. add xmlDllMain to header for win32 when building for static dll svn path=/trunk/; revision=3624
William M. Brack 38d452ac 2007-05-22T16:00:06 Fixed typo in xmlCharEncFirstLine pointed out by Mark Rowe (bug #440159) * encoding.c: Fixed typo in xmlCharEncFirstLine pointed out by Mark Rowe (bug #440159) * include/libxml/xmlversion.h.in: Added check for definition of _POSIX_C_SOURCE to avoid warnings on Apple OS/X (patch from Wendy Doyle and Mark Rowe, bug #346675) * schematron.c, testapi.c, tree.c, xmlIO.c, xmlsave.c: minor changes to fix compilation warnings - no change to logic. svn path=/trunk/; revision=3618
Daniel Veillard a1413b84 2007-04-26T08:33:28 patch from Richard Jones to save the query part in raw form. Daniel * uri.c include/libxml/uri.h: patch from Richard Jones to save the query part in raw form. Daniel svn path=/trunk/; revision=3607
Daniel Veillard 509ed2aa 2007-04-18T07:51:50 new patch from Andreas Stricke to better integrate support for Windows CE * include/win32config.h libxml.h: new patch from Andreas Stricke to better integrate support for Windows CE Daniel svn path=/trunk/; revision=3602
Daniel Veillard 7ef51690 2007-03-21T16:47:12 applied documentation patch from James Dennett Daniel * include/libxml/xpath.h: applied documentation patch from James Dennett Daniel svn path=/trunk/; revision=3595
Aleksey Sanin d8377640 2007-01-03T23:13:12 expose xmlTextReaderSetup function svn path=/trunk/; revision=3571
Daniel Veillard 602f2bd0 2006-12-04T09:26:04 patch from Michael Day on standalone and XML declaration detection, and * parser.c include/libxml/tree.h: patch from Michael Day on standalone and XML declaration detection, and associated documentation change Daniel
Daniel Veillard c8338f1a 2006-10-25T16:06:29 preparing release of libxml2-2.6.27 fix a small problem with preproc flags * NEWS configure.in testapi.c doc//*: preparing release of libxml2-2.6.27 * include/libxml/tree.h: fix a small problem with preproc flags Daniel
Daniel Veillard f1a27c65 2006-10-13T22:33:03 added --html --memory to test htmlReadMemory to test #321632 added various * xmllint.c: added --html --memory to test htmlReadMemory to test #321632 * HTMLparser.c: added various initialization calls which may help #321632 but not conclusive * testapi.c tree.c include/libxml/tree.h: fixed compilation with --with-minimum --with-sax1 and --with-minimum --with-schemas fixing #326442 Daniel
Daniel Veillard f4721d66 2006-10-11T21:12:10 fix comment on versions do not spend too much time digging in dumped * include/libxml/xmlversion.h.in: fix comment on versions * xmlmemory.c: do not spend too much time digging in dumped memory Daniel
Daniel Veillard a37a6ad9 2006-10-10T20:05:45 trying to fix entities behaviour when using SAX, had to extend entities * include/libxml/entities.h entities.c SAX2.c parser.c: trying to fix entities behaviour when using SAX, had to extend entities content and hack on the entities processing code, but that should fix the long standing bug #159219 Daniel
Daniel Veillard b8efdda0 2006-10-10T12:37:14 add a new function xmlPathToUri() to provide a clean conversion when * uri.c include/libxml/uri.h: add a new function xmlPathToUri() to provide a clean conversion when setting up a base * SAX2.c tree.c: use said function when setting up doc->URL or using the xmlSetBase function. Should fix #346261 Daniel
Daniel Veillard 681e904e 2006-09-29T09:16:00 fixed a comment applied a patch from Michael Day to add a new function * xmlsave.c: fixed a comment * xinclude.c include/libxml/xinclude.h: applied a patch from Michael Day to add a new function providing the _private field for the generated parser contexts xmlXIncludeProcessFlagsData() Daniel
Daniel Veillard 34c647cf 2006-09-21T06:53:59 exports htmlNewParserCtxt() as Michael Day pointed out this is needed to * HTMLparser.c include/libxml/HTMLparser.h: exports htmlNewParserCtxt() as Michael Day pointed out this is needed to use htmlCtxtRead*() Daniel
Daniel Veillard 75acfeea 2006-07-13T06:29:56 applied patch from Andrew W. Nosenko to expose if zlib support was * configure.in parser.c xmllint.c include/libxml/parser.h include/libxml/xmlversion.h.in: applied patch from Andrew W. Nosenko to expose if zlib support was compiled in, in the header, in the feature API and in the xmllint --version output. Daniel
Kasimier T. Buchcik 631ea817 2006-06-26T16:47:25 Added xmlXPathCompiledEvalToBoolean() to the API and adjusted/added * xpath.c: Added xmlXPathCompiledEvalToBoolean() to the API and adjusted/added xmlXPathRunEval(), xmlXPathRunStreamEval(), xmlXPathCompOpEvalToBoolean(), xmlXPathNodeCollectAndTest() to be aware of a boolean result request. The new function is now used to evaluate predicates.
Kasimier T. Buchcik 978039bb 2006-06-16T19:46:26 Fixed a bug in xmlDOMWrapAdoptNode(); the tree traversal stopped if the * tree.c include/libxml/tree.h: Fixed a bug in xmlDOMWrapAdoptNode(); the tree traversal stopped if the very first given node had an attribute node :-( This was due to a missed check in the traversal mechanism. Expanded the xmlDOMWrapCtxt: it now holds the namespace map used in xmlDOMWrapAdoptNode() and xmlDOMWrapCloneNode() for reusal; so the map-items don't need to be created for every cloning/adoption. Added a callback function to it for retrieval of xmlNsPtr to be set on node->ns; this is needed for my custom handling of ns-references in my DOM wrapper. Substituted code which created the XML namespace decl on the doc for a call to xmlTreeEnsureXMLDecl(). Removed those nastly "warnigns" from the docs of the clone/adopt functions; they work fine on my side.
Kasimier T. Buchcik 803e37ac 2006-06-09T19:46:46 Clarified in the docs that the tree must not be tried to be modified if * include/libxml/parser.h: Clarified in the docs that the tree must not be tried to be modified if using the parser flag XML_PARSE_COMPACT as suggested by Stefan Behnel (#344390).
Kasimier T. Buchcik 5869469f 2006-05-31T12:37:28 Changed the name of the recently added public function * xpath.c include/libxml/xpath.h runsuite.c: Changed the name of the recently added public function xmlXPathContextSetObjectCache() to xmlXPathContextSetCache(); so a more generic one, in case we decide to cache more things than only XPath objects.
Kasimier T. Buchcik e5f810f6 2006-05-30T09:41:25 A warning will now be reported in the value of the XSD attribute * xmlschemas.c: A warning will now be reported in the value of the XSD attribute 'schemaLocation' does not consist of tuples (namespace-name, document-URI). A warning will be reported if a schema document could not be found at the specified location (via 'schemaLocation' or 'noNamespaceSchemaLocation'). * include/libxml/xmlerror.h: Added XML_SCHEMAV_MISC to xmlParserErrors.
Kasimier T. Buchcik a7248443 2006-05-29T16:15:36 Added an XPath object cache. It sits on an xmlXPathContext and need to be * xpath.c include/libxml/xpath.h: Added an XPath object cache. It sits on an xmlXPathContext and need to be explicitely activated (or deactivated again) with xmlXPathContextSetObjectCache(). The cache consists of 5 lists for node-set, string, number, boolean and misc XPath objects. Internally the xpath.c module will use object- deposition and -acquisition functions which will try to reuse as many XPath objects as possible, and fallback to normal free/create behaviour if no cache is available or if the cache is full. * runsuite.c: Adjusted to deactivate the cache for XML Schema tests if a cache-creation is turned on by default for the whole library, e.g. for testing purposes of the cache. It is deactivated here in order to avoid confusion of the memory leak detection in runsuite.c.
Daniel Veillard b2f8f1de 2006-04-28T16:30:48 preparing 2.6.24 release, fixed Python paths at the last moment fix some * NEWS configure.in doc//*: preparing 2.6.24 release, fixed Python paths at the last moment * relaxng.c testapi.c tree.c: fix some comments Daniel
Daniel Veillard 05e9db80 2006-03-27T09:30:13 applied patches from Aivars Kalvans to make unicode tables const, fixes * chvalid.c genChRanges.py genUnicode.py xmlunicode.c include/libxml/chvalid.h include/libxml/xmlunicode.h: applied patches from Aivars Kalvans to make unicode tables const, fixes bug #336096, this also updates to Unicode 4.01 final with a couple of character ranges fixes. Daniel
Daniel Veillard 8ea29c48 2006-03-26T22:52:40 fixed bug #335603 and resync'ed genChRanges.py to the expected output. * chvalid.c genChRanges.py include/libxml/chvalid.h: fixed bug #335603 and resync'ed genChRanges.py to the expected output. Daniel
Daniel Veillard 73dd71ec 2006-02-09T09:08:46 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
Kasimier T. Buchcik a81d9199 2006-02-03T16:37:44 Added the xmlDOMWrapCloneNode() to the header file. * include/libxml/tree.h: Added the xmlDOMWrapCloneNode() to the header file.
Kasimier T. Buchcik a930fbec 2006-01-09T16:28:20 Added xmlRelaxNGSetParserStructuredErrors() to the API. * relaxng.c include/libxml/relaxng.h: Added xmlRelaxNGSetParserStructuredErrors() to the API.
Kasimier T. Buchcik 97258713 2006-01-05T12:30:43 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.
Daniel Veillard affb8688 2006-01-04T09:55:16 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
Daniel Veillard d0271473 2006-01-02T10:22:02 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
Rob Richards 77b92ff6 2005-12-20T15:55:14 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.
Kasimier T. Buchcik d81ebd17 2005-12-14T17:14:35 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@.
Kasimier T. Buchcik bdadaedd 2005-12-07T14:02:42 Added xmlTextReaderSchemaValidateCtxt() to the API. * xmlreader.c include/libxml/xmlreader.h: Added xmlTextReaderSchemaValidateCtxt() to the API.
Kasimier T. Buchcik 90b5ebc0 2005-11-18T17:18:27 Added xmlSchemaSetParserStructuredErrors() to the API. Fixed channeling of * xmlschemas.c include/libxml/xmlschemas.h: Added xmlSchemaSetParserStructuredErrors() to the API. Fixed channeling of error relevant information to subsequent parser/validation contexts.
Daniel Veillard 9a00fd29 2005-11-09T08:56:26 applied patch from Geert Jansen to implement the save function to a * xmlsave.c xmlIO.c include/libxml/xmlIO.h include/libxml/xmlsave.h: applied patch from Geert Jansen to implement the save function to a xmlBuffer, and a bit of cleanup. Daniel
Daniel Veillard 3d6aa10d 2005-11-01T10:55:24 applied patch from Mark Junker to fix compilation with MinGW Daniel * win32/Makefile.mingw include/win32config.h: applied patch from Mark Junker to fix compilation with MinGW Daniel
Daniel Veillard 7802ba56 2005-10-27T11:56:20 avoid function parameters names 'list' as this seems to give troubles with * valid.c xmlregexp.c include/libxml/valid.h include/libxml/xmlregexp.h: avoid function parameters names 'list' as this seems to give troubles with VC6 and stl as reported by Samuel Diaz Garcia. Daniel
Daniel Veillard 567a45b5 2005-10-18T19:11:55 removed the error message removed 2 instability warnings from function * runtest.c: removed the error message * relaxng.c xmlschemas.c: removed 2 instability warnings from function documentation * include/libxml/schemasInternals.h: changed warning about API stability * xmlregexp.c: trying to improve runtime execution of non-deterministic regexps and automata. Not fully finished but should be way better. Daniel
Rob Richards cb418de0 2005-10-13T23:12:42 applied patch from Kolja Nowak to use getaddrinfo() if supported in * nanohttp.c include/wsockcompat.h: applied patch from Kolja Nowak to use getaddrinfo() if supported in Windows build (bug# 317431).
Kasimier T. Buchcik 570faa57 2005-10-10T13:18:40 Initial implementation for redefinitions; this still misses checks for * xmlschemas.c include/libxml/schemasInternals.h include/libxml/xmlerror.h: Initial implementation for redefinitions; this still misses checks for restrictions of the content model of complex types. Fixed default/fixed values for attributes (looks like they did not work in the last releases). Completed constraints for attribute uses. Seperated attribute derivation from attribute constraints. Completed constraints for attribute group definitions. Disallowing <import>s of schemas in no target namespace if the importing schema is a chameleon schema. This contradicts the way Saxon, Xerces-J, XSV and IBM's SQC works, but the W3C XML Schema WG, thinks it is correct to dissalow such imports. Added cos-all-limited constraints. Restructured reference resolution to model groups and element declarations. Misc cleanup.
Kasimier T. Buchcik ef3d07d8 2005-09-14T17:53:43 Added some comments for the struct fields. * include/libxml/schemasInternals.h: Added some comments for the struct fields.
Daniel Veillard 33b20b70 2005-09-12T21:43:20 release of 2.6.22 updated doc and rebuild. added XML_SAVE_NO_XHTML * NEWS configure.in doc//*: release of 2.6.22 updated doc and rebuild. * xmlsave.c include/libxml/xmlsave.h: added XML_SAVE_NO_XHTML xmlSaveOption * xmlschemas.c: minor cleanups Daniel
Kasimier T. Buchcik 22c0c465 2005-09-12T19:09:46 Completion of the schema graph. Centralisation, more robustness of the * xmlschemas.c include/libxml/schemasInternals.h include/libxml/xmlerror.h: Completion of the schema graph. Centralisation, more robustness of the schema document aquisition story. Centralised and restructured component fixup. Fixed attribute derivation when 'prohibiting' attribute uses. Added warnings: when schema documents cannot be localized during imports; when we get duplicate and pointless attribute prohibitions. Changed error reports for IDCs to report the relevant IDC designation as well (requested by GUY Fabrice). Misc code-cleanup.
Rob Richards 2ce51c06 2005-09-12T12:16:35 add XML_SAVE_NO_EMPTY save option and use option from xmlSaveCtxtPtr * include/libxml/xmlsave.h xmlsave.c: add XML_SAVE_NO_EMPTY save option and use option from xmlSaveCtxtPtr rather than global during output. * xmlsave.c: fix some output formatting for meta element under XHTML.
Daniel Veillard 602434de 2005-09-12T09:20:31 damn XML_FEATURE_UNICODE clashes with Expat headers rename to XML_WITH_ to * include/libxml/parser.h parser.c xmllint.c: damn XML_FEATURE_UNICODE clashes with Expat headers rename to XML_WITH_ to fix bug #316053. * doc/Makefile.am: build devhelp before the examples. * doc/*: regenerated the API Daniel
Daniel Veillard 99b78502 2005-09-11T22:04:08 started work needed to generate devhelp content, not too hard based on the * configure.in doc/Makefile.am doc/apibuild.py doc/libxml2-api.xml doc/devhelp/*: started work needed to generate devhelp content, not too hard based on the existing format and extractor. Daniel
Daniel Veillard 0bcc7f6a 2005-09-04T21:39:03 updated the docs and rebuild releasing 2.6.21 removed * NEWS elfgcchack.h testapi.c doc/*: updated the docs and rebuild releasing 2.6.21 * include/libxml/threads.h threads.c: removed xmlIsThreadsEnabled() * threads.c include/libxml/threads.h xmllint.c: added the more generic xmlHasFeature() as suggested by Bjorn Reese, xmllint uses it. Daniel
Daniel Veillard b3d1491b 2005-09-04T20:47:39 prepare for release work for #303289, fix a formatting bug for MIN_INT * configure.in doc/* configure.in: prepare for release * xpath.c: work for #303289, fix a formatting bug for MIN_INT Daniel
Daniel Veillard f03a8cda 2005-09-04T12:01:57 fixing yet another pattern induced XPath bug #314282 reverted back last * pattern.c xpath.c include/libxml/pattern.h: fixing yet another pattern induced XPath bug #314282 * relaxng.c: reverted back last change it was seriously broken Daniel
Daniel Veillard 2e7598cb 2005-09-02T12:28:34 avoid passing a char[] as snprintf first argument. implemented * encoding.c parserInternals.c: avoid passing a char[] as snprintf first argument. * threads.c include/libxml/threads.h: implemented xmlIsThreadsEnabled() based on Andrew W. Nosenko idea. * doc/* elfgcchack.h: regenerated the API Daniel
Daniel Veillard 8874b94c 2005-08-25T13:19:21 added a parser XML_PARSE_COMPACT option to allocate small text nodes (less * HTMLparser.c parser.c SAX2.c debugXML.c tree.c valid.c xmlreader.c xmllint.c include/libxml/HTMLparser.h include/libxml/parser.h: added a parser XML_PARSE_COMPACT option to allocate small text nodes (less than 8 bytes on 32bits, less than 16bytes on 64bits) directly within the node, various changes to cope with this. * result/XPath/tests/* result/XPath/xptr/* result/xmlid/*: this slightly change the output Daniel
Daniel Veillard 1fc3ed02 2005-08-24T12:46:09 finally converted the encoding module to the common error reporting * encoding.c error.c include/libxml/xmlerror.h: finally converted the encoding module to the common error reporting mechanism * doc/* doc/html/libxml-xmlerror.html: rebuilt Daniel
Daniel Veillard bca3ad25 2005-08-23T22:14:02 fixed compilation when configured --without-sax1 and other cleanups fixes * SAX2.c globals.c runtest.c testC14N.c testapi.c tree.c include/libxml/SAX2.h include/libxml/xmlregexp.h: fixed compilation when configured --without-sax1 and other cleanups fixes bug #172683 * doc/* elfgcchack.h: regenerated Daniel
Daniel Veillard ea4b0bae 2005-08-23T16:06:08 added a recovery mode for the HTML parser based on the suggestions of bug * HTMLparser.c include/libxml/HTMLparser.h: added a recovery mode for the HTML parser based on the suggestions of bug #169834 by Paul Loberg Daniel
Daniel Veillard 17cccb5e 2005-08-23T13:49:54 Hopefully fixed this time, daniel
Daniel Veillard ccb4d41c 2005-08-23T13:41:17 regenerated fixed a compilation problem some cleanups and one bug fix * elfgcchack.h testapi.c doc/*: regenerated * schematron.c: fixed a compilation problem * xmlregexp.c include/libxml/xmlregexp.h: some cleanups and one bug fix * result/expr/base: slightly changes the number of Cons. Daniel
Daniel Veillard 5eee767c 2005-08-22T21:22:27 rescanned code and rebuilt small cleanup cleanup problems from code * elfgcchack.h testapi.c doc/*: rescanned code and rebuilt * xmlregexp.c: small cleanup * include/libxml/schematron.h include/libxml/xmlexports.h include/libxml/xmlversion.h.in: cleanup problems from code scanner Daniel
Daniel Veillard 0090bd52 2005-08-22T14:43:43 exported xmlExpExpDerive(), added it to the testRegexp command line tool * testRegexp.c xmlregexp.c include/libxml/xmlregexp.h: exported xmlExpExpDerive(), added it to the testRegexp command line tool when providing multiple expressions. Daniel
Daniel Veillard 465a000b 2005-08-22T12:07:04 fixed an uninitialized variable extended the API to add the parser, * valid.c: fixed an uninitialized variable * xmlregexp.c include/libxml/xmlregexp.h: extended the API to add the parser, serializer and some debugging * include/libxml/xmlversion.h.in: made the new support compiled by default if Schemas is included * testRegexp.c: cleanup and integration of the first part of the new code with a special switch * xmllint.c: show up Expr in --version if compiled in * include/libxml/tree.h: moved the xmlBuffer definition up Daniel
Daniel Veillard 81a8ec6b 2005-08-22T00:20:58 pushing the formal expression handling code to have it in CVs from now. * xmlregexp.c include/libxml/xmlregexp.h: pushing the formal expression handling code to have it in CVs from now. Not plugged, and misses APIs it's not compiled in yet. Daniel
Kasimier T. Buchcik 764b3d61 2005-08-12T12:25:23 Changed output for keyref-match errors; the target-node will be now * xmlschemas.c include/libxml/xmlerror.h: Changed output for keyref-match errors; the target-node will be now reported rather than the scope-node of the keyref definition - allowing easier chasing of instance errors. This was reported by Guy Fabrice to the mailing list. Some initial parsing code for schema redefinitions. * result/schemas/bug303566_1_1.err result/schemas/bug312957_1_0.err: Adapted test results due to the keyref changes.
Daniel Veillard 100e1803 2005-08-08T14:44:11 fixed #145092 by adding an xmlSaveOption to omit XML declaration Daniel * xmlsave.c include/libxml/xmlsave.h: fixed #145092 by adding an xmlSaveOption to omit XML declaration Daniel
Daniel Veillard 336a8e13 2005-08-07T10:46:19 get rid of the dependancy on a locally installed DTD try to cleanup the * test/relaxng/docbook_0.xml: get rid of the dependancy on a locally installed DTD * uri.c include/libxml/uri.h xmlIO.c nanoftp.c nanohttp.c: try to cleanup the Path/URI conversion mess, needed fixing in various layers and a new API to the uri module which also fixes #306861 * runtest.c: integrated a regression test specific to check the URI conversions done before calling the I/O handlers. Daniel
Daniel Veillard e70375cd 2005-07-30T21:09:12 commiting work done on the plane last week-end Daniel * schematron.c xmllint.c include/libxml/schematron.h: commiting work done on the plane last week-end Daniel
Daniel Veillard 4cd3b519 2005-07-28T19:28:58 added schematron.h, oops ... Daniel * include/libxml/Makefile.am: added schematron.h, oops ... Daniel
Daniel Veillard ed6c5497 2005-07-23T15:00:22 changed xmlPatterncompile signature to pass an int and not an enum since * pattern.c include/libxml/pattern.h: changed xmlPatterncompile signature to pass an int and not an enum since it can generate ABI compat troubles. * include/libxml/schematron.h schematron.c: adding the new schematron code, work in progress lots to be left and needing testing * include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h.in Makefile.am configure.in: integration of schematron into the build * xpath.c include/libxml/xpath.h: adding flags to control compilation options right now just XML_XPATH_CHECKNS. Daniel
Daniel Veillard ffa3c749 2005-07-21T13:24:09 applied a patch from Marcus Boerger to fix problems with calling * error.c globals.c parser.c runtest.c testHTML.c testSAX.c threads.c valid.c xmllint.c xmlreader.c xmlschemas.c xmlstring.c xmlwriter.c include/libxml/parser.h include/libxml/relaxng.h include/libxml/valid.h include/libxml/xmlIO.h include/libxml/xmlerror.h include/libxml/xmlexports.h include/libxml/xmlschemas.h: applied a patch from Marcus Boerger to fix problems with calling conventions on Windows this should fix #309757 Daniel
Daniel Veillard 9efc476b 2005-07-19T14:33:55 fixing bug #172215 about foreign namespaces by adding support for negated * xmlregexp.c xmlschemas.c include/libxml/xmlautomata.h: fixing bug #172215 about foreign namespaces by adding support for negated string transitions. Error messages still need to be improved. * test/schemas/any5* result/schemas/any5*: adding regression tests for this. Daniel
Daniel Veillard da0aa4cf 2005-07-13T23:07:49 applied patch from Marcus Boerger to route relaxng and schemas error * error.c relaxng.c xmlreader.c xmlschemas.c include/libxml/relaxng.h include/libxml/xmlschemas.h: applied patch from Marcus Boerger to route relaxng and schemas error messages when using the reader through the structured interface if activated. * elfgcchack.h doc/* testapi.c: rebuilt since this add new APIs to test. Daniel
Daniel Veillard 1f33c4d6 2005-07-10T21:38:31 preparing to make testsuite releases along with code source releases fixed * xstc/Makefile.am README README.tests Makefile.tests Makefile.am: preparing to make testsuite releases along with code source releases * gentest.py testapi.c: fixed a couple of problem introduced by the new Schemas support for Readers * xpath.c: fixed the XPath attribute:: bug #309580, #309864 in a crude but simple way. * xmlschemas.c include/libxml/tree.h: fixed a couple of problems raised by the doc builder. * doc/*: made rebuild Daniel
Daniel Veillard f10ae12c 2005-07-10T19:03:16 fixed a typo pointed by Jeroen Ruigrok increased the APIs for xmlReader * doc/xmllint.1 doc/xmllint.html doc/xmllint.xml: fixed a typo pointed by Jeroen Ruigrok * include/libxml/xmlreader.h include/libxml/xmlschemas.h: increased the APIs for xmlReader schemas validation support * xmllint.c xmlreader.c xmlschemas.c: xmlReader schemas validation implementation and testing as xmllint --stream --schema ... Daniel
Daniel Veillard d17760f3 2005-07-10T14:12:00 try to avoid conflicts. Daniel * include/libxml/xmlwin32version.h.in: try to avoid conflicts. Daniel
Daniel Veillard 971771ef 2005-07-09T17:32:57 fix for #309761 from Dylan Shell added xmlSchemaSAXPlug and * parser.c: fix for #309761 from Dylan Shell * xmlschemas.c include/libxml/xmlschemas.h: added xmlSchemaSAXPlug and xmlSchemaSAXUnplug generic APIs for SAX Schemas validation. * xmllint.c: couple of fixes plus added descriptions for --sax and --sax1 Daniel
Kasimier T. Buchcik c306d904 2005-07-08T21:37:44 Added c-props-correct constraint to check for equal cardinality of * xmlschemas.c: Added c-props-correct constraint to check for equal cardinality of keyref/key. * include/libxml/xmlerror.h: Added an error code.
Daniel Veillard 87b3046b 2005-07-05T14:04:36 first steps toward a testsuite dist fixed bug #307870 Daniel * Makefile.am: first steps toward a testsuite dist * SAX2.c include/libxml/xmlerror.h: fixed bug #307870 Daniel
Daniel Veillard 39e5c890 2005-07-03T22:48:50 fixing a leak detected by testapi in xmlDOMWrapAdoptNode, and fixing * testapi.c tree.c: fixing a leak detected by testapi in xmlDOMWrapAdoptNode, and fixing another side effect in testapi seems to pass tests fine now. * include/libxml/parser.h parser.c: xmlStopParser() is no more limited to push mode * error.c: remove a warning * runtest.c xmllint.c: avoid compilation errors if only some parts of the library are compiled in. Daniel
Kasimier T. Buchcik 4d9c948f 2005-06-27T15:04:46 Added allocation/deallocation functions for the DOM-wrapper context. * tree.c include/libxml/tree.h: Added allocation/deallocation functions for the DOM-wrapper context.
Kasimier T. Buchcik bc0e3c6b 2005-06-27T10:28:23 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.
Daniel Veillard 1b75c3bd 2005-06-26T21:49:08 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
Kasimier T. Buchcik c63fbbff 2005-06-15T12:54:05 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.
William M. Brack ea152c05 2005-06-09T18:12:28 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
Kasimier T. Buchcik 4efd90d9 2005-06-09T10:32:53 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.
Daniel Veillard d892557d 2005-06-08T22:34:55 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
Kasimier T. Buchcik c872afbd 2005-04-18T10:57:04 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.
Kasimier T. Buchcik 1a99a397 2005-04-08T11:23:56 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.
Kasimier T. Buchcik 256401b2 2005-04-01T15:36:42 Committing again, since the CVS server aborted. * xmlschemas.c include/libxml/schemasInternals.h result/schemas/src-element2-*.err result/schemas/element-*.err: Committing again, since the CVS server aborted.
Daniel Veillard 7331e5ca 2005-03-31T14:59:00 fixed #172260 redundant assignment. fixed xmlSAXParseDoc() and * SAX.c: fixed #172260 redundant assignment. * parser.c include/libxml/parser.h: fixed xmlSAXParseDoc() and xmlParseDoc() signatures #172257. Daniel
Aleksey Sanin 9e75e9fe 2005-03-20T19:16:47 special case "DAV:" namespace in c14n relative namespaces check and add * c14n.c include/libxml/xmlerror.h: special case "DAV:" namespace in c14n relative namespaces check and add structured error messages to c14n code
Kasimier T. Buchcik 478d693f 2005-03-16T16:29:18 Hopefully finished validation against facets to use the normalized value * xmlschemas.c xmlschemastypes.c include/libxml/xmlschemastypes.h: Hopefully finished validation against facets to use the normalized value of both, the facets and instance values. Added xmlSchemaValidateLengthFacetWhtsp(), xmlSchemaValidateFacetWhtsp() and xmlSchemaGetValType() to the schema API.
Kasimier T. Buchcik 6c81d0ea 2005-03-15T14:58:11 In preparation to use normalized values of facets during validation: * xmlschemastypes.c xmlschemastypes.h: In preparation to use normalized values of facets during validation: changed the arguments of some string comparison functions; added a static xmlSchemaValidateFacetInternal() with more arguments to be more flexible. Prepared XML_SCHEMA_FACET_ENUMERATION validation to use the comparison functions. Fixed some assignments in xmlSchemaValAtomicType(): total digit count, lo, mi, hi.
Daniel Veillard c0c6ce29 2005-03-10T09:22:07 some gcc4 portability patches, including a serious aliasing bug exposed in * include/libxml/hash.h libxml.h libxml.spec.in: some gcc4 portability patches, including a serious aliasing bug exposed in s390 when trying to convert data pointer to code pointer. Daniel