Log

Author Commit Date CI Message
Daniel Veillard 961bfc14 2006-02-21T19:24:04 small man page improvements from Daniel Leidert Daniel * doc/xmllint.1 doc/xmllint.xml: small man page improvements from Daniel Leidert Daniel
Kasimier T. Buchcik 4c0aa16e 2006-02-20T14:47:08 Fixed a side-effect of the previous XSI bugfix: The constructor needs a * xmlschemas.c: Fixed a side-effect of the previous XSI bugfix: The constructor needs a bucket to be assigned during component fixup.
Kasimier T. Buchcik 1869be56 2006-02-20T13:37:55 Fixed xs:boolean to reject the empty string (reported by Bas Driessen on * xmlschemas.c xmlschemastypes.c: Fixed xs:boolean to reject the empty string (reported by Bas Driessen on the mailing-list). Fixed schema XSI-acquisition and construction: the schemata (xmlSchema) didn't get the targetNamespace in some cases, thus the component resolution mechanism failed to work. The XSI stuff needs to be tested more intensively; think about how to test this for regression.
Daniel Veillard 46f97219 2006-02-20T08:58:51 more man page improvements from Daniel Leidert Daniel * doc/xmllint.1 doc/xmllint.xml: more man page improvements from Daniel Leidert Daniel
Daniel Veillard 6464d6aa 2006-02-19T21:35:39 man page improvements from Daniel Leidert, c.f. #331290 Daniel * doc/xmllint.1 doc/xmllint.xml: man page improvements from Daniel Leidert, c.f. #331290 Daniel
Daniel Veillard ea71f5dd 2006-02-19T16:55:55 fix an error report when using --path and --valid closes bug #331290 * xmllint.c: fix an error report when using --path and --valid closes bug #331290 Daniel
Daniel Veillard 79338009 2006-02-19T15:32:29 Added new regression tests for #331062, daniel
Daniel Veillard 87254c84 2006-02-19T15:27:17 trying to fix #331062, this is again a problem around interleave, there is * relaxng.c: trying to fix #331062, this is again a problem around interleave, there is no good fix unless reimplementing but this works around some cases and allow to validate in that case. Daniel
Kasimier T. Buchcik eb468708 2006-02-15T10:57:50 Fixed bug #328896 reported by Liron. The path for text- and * tree.c: Fixed bug #328896 reported by Liron. The path for text- and CDATA-section-nodes was computed incorrectly in xmlGetNodePath().
Daniel Veillard a29aca18 2006-02-14T09:17:23 Remove a deprecated paragraph on internal encoding, daniel
Daniel Veillard fc011b7f 2006-02-12T19:14:15 bug fixes for #327167 as well as some cleanups and more thorough tests on * xmlregexp.c: bug fixes for #327167 as well as some cleanups and more thorough tests on atoms comparisons. 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
Daniel Veillard 9b528c75 2006-02-05T03:06:15 bill pointed out a missing block in xmlParseComment trying to fill with a * parser.c: bill pointed out a missing block in xmlParseComment trying to fill with a normal processing of the given character. Daniel
Daniel Veillard 6974feb0 2006-02-05T02:43:36 fixed the comment streaming bug raised by Graham Bennett added to the * parser.c: fixed the comment streaming bug raised by Graham Bennett * test/badcomment.xml result//badcomment.xml*: added to the regression suite. 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 cab801b1 2006-02-03T16:35:27 Added an initial version of xmlDOMWrapCloneNode() to the API. It will be * tree.c: Added an initial version of xmlDOMWrapCloneNode() to the API. It will be used to reflect DOM's Node.cloneNode and Document.importNode methods. The pros: 1) non-recursive, 2) optimized ns-lookup (mostly pointer comparison), 3) user defined ns-lookup, 4) save ns-processing. The function is in an unfinished and experimental state and should be only used to test it.
Daniel Veillard 8f3392ef 2006-02-03T09:45:10 applied patch from Rob Richards fixing the URI regressions tests on * uri.c: applied patch from Rob Richards fixing the URI regressions tests on Windows which seems to indicate bad escaping. Daniel
Kasimier T. Buchcik e8f8d751 2006-02-02T12:13:07 Fixed some bugs xmlDOMWrapReconcileNamespaces() wrt the previous addition * tree.c: Fixed some bugs xmlDOMWrapReconcileNamespaces() wrt the previous addition of the removal of redundant ns-decls.
Kasimier T. Buchcik e01b2fd7 2006-02-01T16:36:13 Enhanced xmlDOMWrapReconcileNamespaces() to remove redundant ns-decls if * tree.c: Enhanced xmlDOMWrapReconcileNamespaces() to remove redundant ns-decls if the option XML_DOM_RECONNS_REMOVEREDUND was given. Note that I haven't moved this option to the header file yet; so just call this function with an @option of 1 to test the behaviour.
Kasimier T. Buchcik 2363555e 2006-02-01T11:28:14 Added changed as proposed on the mailing list by venkat naidu in order to * tapi.c win32/Makefile.*: Added changed as proposed on the mailing list by venkat naidu in order to compile testapi.c on windows.
Daniel Veillard 4188ddf8 2006-01-19T08:58:42 trying to fix windows/configure issues reported by Tim Van Holder Daniel * configure.in xml2-config.in: trying to fix windows/configure issues reported by Tim Van Holder Daniel
Daniel Veillard 499cc920 2006-01-18T17:22:35 try to fix xmlParseInNodeContext when operating on an HTML document. * HTMLparser.c libxml.h parser.c: try to fix xmlParseInNodeContext when operating on an HTML document. Daniel
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.
Daniel Veillard a617e24f 2006-01-09T14:38:44 reverted first patches for #319279 which led to #326295 and fixed the * parser.c: reverted first patches for #319279 which led to #326295 and fixed the problem in xmlParseChunk() instead * test/ent11 result//ent11*: added test for #326295 to the regression suite Daniel
Daniel Veillard 67952601 2006-01-05T15:29:44 upated the news regenerated the docs, preparing for release of 2.6.23 * NEWS configure.in libxml.spec.in testapi.c doc/*: upated the news regenerated the docs, preparing for release of 2.6.23 * pattern.c xmlschemas.c: fixed some comments Daniel
Kasimier T. Buchcik bb2074e8 2006-01-05T14:49:40 Added regression tests for the latest XPath/pattern fixes. * test/XPath/docs/nodes test/XPath/tests/nodespat result/XPath/tests/nodespat: Added regression tests for the latest XPath/pattern fixes.
Kasimier T. Buchcik bb80f544 2006-01-05T14:44:45 Another fix to handle "foo//.": "foo" was not included in the resulting * pattern.c: Another fix to handle "foo//.": "foo" was not included in the resulting node-set.
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 b20c63a2 2006-01-04T17:08:46 tiny refactoring patch from Bjorn Reese Daniel * parser.c: tiny refactoring patch from Bjorn Reese Daniel
Daniel Veillard 6977c6c4 2006-01-04T14:03:10 fix bug #324432 with <xml:foo/> added to the regression tests Daniel * SAX2.c: fix bug #324432 with <xml:foo/> * test/ns7 resul//ns7*: added to the regression tests Daniel
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
Kasimier T. Buchcik dfbc33a1 2006-01-03T10:51:59 Removed last dependency on the obsolete enum xmlSchemaValidError. * xmlschemas.c: Removed last dependency on the obsolete enum xmlSchemaValidError.
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
Daniel Veillard 0b1ff14b 2005-12-28T21:13:33 bug in xmlRegExecPushString2() pointed out by Sreeni Nair. Daniel * xmlregexp.c: bug in xmlRegExecPushString2() pointed out by Sreeni Nair. Daniel
Daniel Veillard d95ecf0b 2005-12-22T14:58:32 Fixed xmlStrEqual() doc, 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 5bb0c08d 2005-12-20T10:48:33 Fixed a segfault during text concatenation when validating a node tree: * xmlschemas.c xmlstring.c: Fixed a segfault during text concatenation when validating a node tree: xmlStrncat was called with a @len of -1; but unlike xmlStrncatNew, it does not calculate the length automatically in such a case (reported by Judy Hay on the mailing list). Updated the descriptions of the involved string functions to note this.
Daniel Veillard 9a2724d8 2005-12-15T11:12:26 applied patch from Gary Coady to accept gzipped http resources. Daniel * nanohttp.c: applied patch from Gary Coady to accept gzipped http resources. Daniel
Kasimier T. Buchcik 4a113f98 2005-12-14T17:43:03 Added enable/disable of runtime debugging (LIBXML_DEBUG_RUNTIME). * win32/configure.js: Added enable/disable of runtime debugging (LIBXML_DEBUG_RUNTIME).
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 b0d74c66 2005-12-13T11:52:35 Added regression test for bug #321475 (reported by Gabor Nagy). Fixing of * test/schemas/bug321475* result/schemas/bug321475*: Added regression test for bug #321475 (reported by Gabor Nagy). Fixing of bug #323510 seemed to have fixed this bug as well.
Kasimier T. Buchcik bd9d91f9 2005-12-12T15:34:04 Adjusted a bug's wrong date-time
Kasimier T. Buchcik 826da468 2005-12-12T15:26:39 Named the reporter of bug #323510
Kasimier T. Buchcik 183fa3e7 2005-12-12T15:20:28 Added regression test for bug #323510. * test/schemas/bug323510* result/schemas/bug323510*: Added regression test for bug #323510.
Kasimier T. Buchcik 7ca5aedf 2005-12-12T15:13:40 Workaround for bug #323510: substituted the epsilon transition for a * xmlschemas.c: Workaround for bug #323510: substituted the epsilon transition for a labelled transition, in order to avoid a bug in xmlregexp.c which eliminated the epsilon transition and marked the initial state as final.
Daniel Veillard bc4cc9da 2005-12-12T13:26:56 Gary Coady pointed a memory leak in xmlTextReaderReadInnerXml() applied * xmlreader.c: Gary Coady pointed a memory leak in xmlTextReaderReadInnerXml() applied patch fixing #323864 Daniel
Daniel Veillard 6a0baa0c 2005-12-10T11:11:12 fixed a number of warnings shown by HP-UX compiler and reported by Rick * HTMLparser.c configure.in parserInternals.c runsuite.c runtest.c testapi.c xmlschemas.c xmlschemastypes.c xmlstring.c: fixed a number of warnings shown by HP-UX compiler and reported by Rick Jones Daniel
Rob Richards ffe47feb 2005-12-09T17:52:21 Insert space between pubid and sysid when both passed to * xmlwriter.c: Insert space between pubid and sysid when both passed to xmlTextWriterStartDTD and indenting not being used. Remove no longer used Mem callbacks.
Kasimier T. Buchcik dcac4fce 2005-12-09T10:03:27 Changed to instantly mark instance-tests as failed if the corresponding * runsuite.c: Changed to instantly mark instance-tests as failed if the corresponding schema was invalid. This reflects the side of the Python code for the XML Schema test suite. We now get the same number of failed tests on both sides.
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 215406f0 2005-12-07T12:14:09 Fixed a segfault: the instance document was still tried to be validated, * xmlschemas.c: Fixed a segfault: the instance document was still tried to be validated, if the schema, dynamically acquired using XSI was invalid, thus mangled. The validation will stop (or rather won't validate) now in such a case. The schema parser error code will be set on the validion context now; this is somehow not nice, but it assures that the validation context indicates an error in there was a parser error.
Daniel Veillard 42ca6734 2005-12-06T22:21:46 small doc patch from Aron Stansvik another doc patch for a deprecated API * xmlreader.c: small doc patch from Aron Stansvik * legacy.c: another doc patch for a deprecated API Daniel
Kasimier T. Buchcik 27759f26 2005-12-05T15:32:28 Tiny change for 'make tests': raised the number of expected failures for * Makefile.am: Tiny change for 'make tests': raised the number of expected failures for James Clark's XML Schema datatype tests from 10 to 11. The additional reported error was agreed to be correct long time ago, but we missed to adjust the message reported by the testing script.
Kasimier T. Buchcik 7c78215b 2005-12-02T12:52:47 Added missing regression test results for the latest IDC and xs:decimal * result/schemas/decimal* result/schemas/bug322411*: Added missing regression test results for the latest IDC and xs:decimal bugs.
Kasimier T. Buchcik bf442eb2 2005-11-30T11:24:18 Added regression tests for the latest IDC and xs:decimal bugs. * test/schemas/decimal* test/schemas/bug322411*: Added regression tests for the latest IDC and xs:decimal bugs.
Kasimier T. Buchcik f39e8d1f 2005-11-30T11:03:24 Fixed bubbling of duplicate IDC nodes: the parent's list of duplicates was * xmlschemas.c: Fixed bubbling of duplicate IDC nodes: the parent's list of duplicates was filled with NULLs instead of the nodes under certain conditions. This lead to a segfault when the list's entries were accessed.
Kasimier T. Buchcik 72f50c18 2005-11-28T16:36:30 Fixed parsing of xs:decimal to allow/deny special lexical forms. Fixed the * xmlschemastypes.c: Fixed parsing of xs:decimal to allow/deny special lexical forms. Fixed the totalDigits for values in the range (x < 1) && (x > -1) && (x != 0); E.g "0.123" has now a totalDigits of 3 (was 4 previously). Adjusted the comparison function for decimals due to this change. As a side effect comparison against zeroes was optimized.
Kasimier T. Buchcik 132ba5f5 2005-11-28T12:32:24 An assignment to a local variable, which was used to access the IDC node * xmlschemas.c: An assignment to a local variable, which was used to access the IDC node list, was missing after the reallocation of the list (reported by Fabrice GUY bug #322411). Renamed the define ENABLE_IDC_NODE_TABLES to ENABLE_IDC_NODE_TABLES_TEST and *disabled* it, since it is used to force bubbling of IDC node tables even if not necessary; this was intended to be used for test purposes, but I obviously missed to disable it (although it apparently helped finding the bug).
Kasimier T. Buchcik 81755ea6 2005-11-23T16:39:27 In xmlSchemaAssembleByXSI() the return value of xmlSchemaGetMetaAttrInfo() * xmlschemas.c: In xmlSchemaAssembleByXSI() the return value of xmlSchemaGetMetaAttrInfo() was not assigned to anything; this caused XSI-driven-dynamic schema acquisition to fail with @noNamespaceSchemaLocation (reported by Julien Lamy on the mailing list).
Kasimier T. Buchcik 5d2998be 2005-11-22T17:36:01 Fixed a bug in xmlSchemaFindRedefCompInGraph() which caused the search for * xmlschemas.c: Fixed a bug in xmlSchemaFindRedefCompInGraph() which caused the search for components to stop at the first encountered attribute group component. Fixed error report in xmlSchemaCheckSRCRedefineFirst(): the designation of a not-found component was not reported.
Daniel Veillard 5e9576a4 2005-11-21T11:23:47 Albert Chin found another signed/unsigned problem in the date and time * xmlschemastypes.c: Albert Chin found another signed/unsigned problem in the date and time code raised on IRIX 6.5 Daniel
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 c19d535e 2005-11-17T13:12:16 removed unreachable code pointed out by Oleksandr Kononenko, fixes bug * parserInternals.c: removed unreachable code pointed out by Oleksandr Kononenko, fixes bug #321695 Daniel
Daniel Veillard ae487ba0 2005-11-17T07:25:52 use ctxt->standalone = -2 to indicate that the XMLDecl was parsed but no * parser.c: use ctxt->standalone = -2 to indicate that the XMLDecl was parsed but no standalone attribute was found, suggested by Michael Day to detect if an XMLDecl was found. Daniel
Daniel Veillard 93e577f1 2005-11-15T08:50:04 Hisashi Fujinaka pointed that errors in Schemas tests were not properly * runtest.c: Hisashi Fujinaka pointed that errors in Schemas tests were not properly reported. Daniel
Daniel Veillard 4d3866cf 2005-11-13T12:43:59 applied patch from Geert Jansen to remove xmlBufferClose() which is not * xmlIO.c: applied patch from Geert Jansen to remove xmlBufferClose() which is not needed. Daniel
Kasimier T. Buchcik 77e76829 2005-11-11T12:52:32 Changed xmlSchemaFormatIDCKeySequence() to use * xmlschemas.c: Changed xmlSchemaFormatIDCKeySequence() to use xmlSchemaGetCanonValueWhtspExt() in order to correctly report values for xs:anySimpleType. * test/schemas/idc-keyref-err1* result/schemas/idc-keyref-err1*: Added a test for this change.
Rob Richards a44f234d 2005-11-09T18:03:45 function consolidation when writing to xmlBuffer. Return error condition * xmlIO.c xmlwriter.c: function consolidation when writing to xmlBuffer. Return error condition not len if xmlwriter fails writing to buffer.
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
Kasimier T. Buchcik 69dea3a0 2005-11-07T14:02:44 Fixed the type of the totalDigits value to be positiveInteger. Fixed crash * xmlschemas.c xmlschemastypes.c: Fixed the type of the totalDigits value to be positiveInteger. Fixed crash in an error report function when we gave it the document node; only element and attribute nodes are processed now (reported by Rob Richards).
Daniel Veillard fc6eca0d 2005-11-01T15:24:02 fix bug #319897, problem with counted atoms when the transition itself is * xmlregexp.c: fix bug #319897, problem with counted atoms when the transition itself is counted too * result/regexp/hard test/regexp/hard: augmented the regression tests with the problem exposed. 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 f93a67e9 2005-10-28T16:37:05 tiny fix from Albert Chin portability cleanup for arch needing trio for * libxml.3: tiny fix from Albert Chin * runsuite.c runtest.c testapi.c: portability cleanup for arch needing trio for *printf Daniel
Rob Richards 19dc961e 2005-10-28T16:15:16 add additional checks to prevent tree corruption. fix problem copying * tree.c: add additional checks to prevent tree corruption. fix problem copying attribute using xmlDocCopyNode from one document to another.
Daniel Veillard d4e39ae2 2005-10-28T15:59:14 cleanup from Albert Chin html/index.sgml doesn't exist anymore Daniel * config.h.in configure.in vms/config.vms macos/src/config-mac.h: cleanup from Albert Chin * doc/Makefile.am: html/index.sgml doesn't exist anymore Daniel
Daniel Veillard 9b693b48 2005-10-28T14:54:17 more portability patches from Albert Chin for HP-UX and AIX Daniel * xmlIO.c xmlmodule.c: more portability patches from Albert Chin for HP-UX and AIX Daniel
Daniel Veillard 1d96f5aa 2005-10-28T08:44:48 applied 2 patches from Albert Chin for module portability Daniel * xmlmodule.c configure.in: applied 2 patches from Albert Chin for module portability Daniel
Daniel Veillard dbf7bfed 2005-10-28T08:25:51 fixing a portability problem on some old Unices with patch from Albert * error.c: fixing a portability problem on some old Unices with patch from Albert Chin Daniel
Aleksey Sanin b2eabc0c 2005-10-28T03:15:18 fixed bug in exc-c14n namespace visibility + test case 319367(bug #319367)
Daniel Veillard eaccdc65 2005-10-27T14:10:52 remove warnings to stdout patch from Nic Ferrier Daniel * python/libxml.py: remove warnings to stdout patch from Nic Ferrier 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 6e84bb28 2005-10-26T09:00:29 fix a problem in some error case on Solaris when passed a NULL filename, * parserInternals.c: fix a problem in some error case on Solaris when passed a NULL filename, pointed by Albert Chin. Daniel
Daniel Veillard b990008f 2005-10-25T12:36:29 script HTML parser error fix, corrects bug #319715 added test from Michael * HTMLparser.c: script HTML parser error fix, corrects bug #319715 * result/HTML/53867* test/HTML/53867.html: added test from Michael Day to the regression suite Daniel
Daniel Veillard 2cf36a1c 2005-10-25T12:21:29 typo fix from Michael Day Daniel * HTMLparser.c: typo fix from Michael Day Daniel
Rob Richards c342ec6d 2005-10-25T00:10:12 fix issue adding non-namespaced attributes in xmlAddChild(), * tree.c: fix issue adding non-namespaced attributes in xmlAddChild(), xmlAddNextSibling() and xmlAddPrevSibling() (bug #319108) - part 1.
William M. Brack dc904f1f 2005-10-22T02:04:26 fixed second spot where CRLF split between chunks could cause trouble (bug * parser.c: fixed second spot where CRLF split between chunks could cause trouble (bug #319279) * gentest.py, testapi.c: fixed two problems involved with --with-minimum compilation (compilation errors with schematron and formal expressions tests)
Rob Richards 2e2691b5 2005-10-21T14:45:16 prevent output of fragment tags when serializing XHTML. * xmlsave.c: prevent output of fragment tags when serializing XHTML.
Daniel Veillard aa622012 2005-10-20T15:55:25 commiting a some fixes and debug done yesterday in the London airport. * xmlregexp.c: commiting a some fixes and debug done yesterday in the London airport. Daniel
Kasimier T. Buchcik f326e77c 2005-10-20T11:06:00 Removed creation of a temporary parser context during validation when * xmlschemas.c: Removed creation of a temporary parser context during validation when processing xsi:type; this previously added a string to the dict of the schema - to assure thread safety, we don't want to modify a given schema during validation.
William M. Brack f4caa5e6 2005-10-20T09:04:05 fixed problem in xmlTextWriterVSprintf caused by misuse of vsnprintf added * xmlwriter.c: fixed problem in xmlTextWriterVSprintf caused by misuse of vsnprintf * configure.in, config.h.in: added a configuration check for va_copy and added a define for VA_COPY for xmlwriter.c fix * parser.c: fixed problem with CRLF split between chunks (bug #319279) (fix provided by Brion Vibber)
Kasimier T. Buchcik 940ab0c6 2005-10-19T17:00:53 Fixed a potential memory leak in xmlSchemaCheckCSelectorXPath() when an * xmlschemas.c: Fixed a potential memory leak in xmlSchemaCheckCSelectorXPath() when an internal error occurs. Fixed setting of ctxt->err to the given error code in the parsing error functions. * pattern.c: Added internal xmlCompileIDCXPathPath() as a starting point for IDC XPath compilation; this and some other tiny changes fixes issues regarding whitespace in the expressions and IDC selector/field relevant restrictions of the subset of XPath. Fixed a missing blocking of attributes in xmlStreamPushInternal().
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
Kasimier T. Buchcik ee8e8ae9 2005-10-17T14:15:37 Fixed a memory leak in xmlSchemaContentModelDump(). Added output of local * xmlschemas.c: Fixed a memory leak in xmlSchemaContentModelDump(). Added output of local types in xmlSchemaElementDump(). Tiny cosmetical changes to the dump output.
Kasimier T. Buchcik 65c2f1d7 2005-10-17T12:39:58 Silenced intel compiler warnings (reported by Kjartan Maraas, bug * tree.c pattern.c: Silenced intel compiler warnings (reported by Kjartan Maraas, bug #318517). * xmlschemas.c: The above changes in pattern.c revealed an inconsistency wrt IDCs: we now _only_ pop XPath states, if we really pushed them beforehand; this was previously not checked for the case when we discover an element node to be invalid wrt the content model. Fixed segfault in xmlSchemaGetEffectiveValueConstraint().
Kasimier T. Buchcik 95c3adf5 2005-10-14T14:41:35 Adapted regression test results. * result/schemas/*.err: Adapted regression test results.
Kasimier T. Buchcik 27820270 2005-10-14T14:33:48 Fixed some identity-constraint issues: Restructured IDC node-tables * xmlschemas.c: Fixed some identity-constraint issues: Restructured IDC node-tables Allowed IDCs to resolve also to nodes of complex type with simple content. Added check for keyrefs with references to keyrefs. IDC target-nodes were interferring with IDC node-tables, since they used one list of entries only. I separated this one big list into 3 lists: 1 for IDC node-table entries, 1 for _duplicates_ of IDC node-table entries and 1 for IDC target-nodes. More code, but cleaner and it works at last. Keyrefs will fail to resolve to duplicate key/unique entries. I thought this was already working this way, but it didn't. The wording of the definition for [node table] in the spec can lead to a scenario, where keyrefs resolve perfectly, even if the relevant key-sequences of the referenced key/unique have duplicates in the subtree. Currently only Saxon 8.5.1 is dissallowing resolution to duplicate entries correctly - we will follow Saxon here. Removed some intel compiler warnings (reported by Kjartan Maraas, bug #318517). * pattern.c: Fixed an IDC-XPath problem when resolving to attributes.
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 748cebc2 2005-10-10T13:36:27 Adapted regression test results
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.
Rob Richards 54a8f67c 2005-10-07T02:33:00 remove warnings under Windows. * schematron.c xmlregexp.c: remove warnings under Windows.