pattern.c


Log

Author Commit Date CI Message
William M. Brack 537f1173 2005-06-14T22:02:59 adjusted last change to xmlCompilePathPattern, fixed one compilation * pattern.c: adjusted last change to xmlCompilePathPattern, fixed one compilation warning
Kasimier T. Buchcik 9ca11bfc 2005-06-14T19:24:47 Some changes/fixes to the streaming evaluation. A bit of support for * pattern.c: Some changes/fixes to the streaming evaluation. * xmlschemas.c: A bit of support for parsing the schema for schema. Fixed attribute derivation when the use is "prohibited" and was "optional". Fixed an attribute construction bug, a left-over from the time, where <complexContent>, <extension>, etc. where created as structs.
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
William M. Brack fbb619f4 2005-06-06T13:49:18 Enhanced xmlXPathRunStreamEval, fixed handling of depth/level for cases * xpath.c, pattern.c: Enhanced xmlXPathRunStreamEval, fixed handling of depth/level for cases like union operator (bug #306348 reported by Bob Stayton). Also enhanced several comments throughout pattern.c. * doc/apibuild.py: fixed problem in handling of 'signed' declaration. Rebuilt the docs.
Kasimier T. Buchcik 22678566 2005-05-09T16:01:05 Changed the XPath "." to resolve only on the first level for XML Schema * pattern.c: Changed the XPath "." to resolve only on the first level for XML Schema IDCs. This should not affect pattern-like resolution on every level.
Daniel Veillard 5d4644ef 2005-04-01T13:11:58 revamped the elfgcchack.h format to cope with gcc4 change of aliasing * doc/apibuild.py doc/elfgcchack.xsl: revamped the elfgcchack.h format to cope with gcc4 change of aliasing allowed scopes, had to add extra informations to doc/libxml2-api.xml to separate the header from the c module source. * *.c: updated all c library files to add a #define bottom_xxx and reimport elfgcchack.h thereafter, and a bit of cleanups. * doc//* testapi.c: regenerated when rebuilding the API Daniel
Daniel Veillard 0e460da3 2005-03-30T22:47:10 another patch from Brent Hendricks to add new handlers with the various * python/generator.py python/libxml.py: another patch from Brent Hendricks to add new handlers with the various validity contexts * python/tests/Makefile.am python/tests/validDTD.py python/tests/validRNG.py python/tests/validSchemas.py: also added the regression tests he provided Daniel
Kasimier T. Buchcik 285ebabb 2005-03-04T18:04:59 Enabled IDC parsing and validation. Added xmlSchemaCopyValue to the API; * xmlschemas.c: Enabled IDC parsing and validation. * xmlschemastypes.c include/libxml/xmlschemastypes.h: Added xmlSchemaCopyValue to the API; this was done due to validation of default attributes against IDCs: since IDC keys consume the precomputed value, one needs a copy. * pattern.c: Enabled IDC support; this is currently done via calling xmlPatterncompile with a flag arg of 1.
Daniel Veillard fa1f77f2 2005-02-21T10:44:36 fixed remaining known bugs in the XPath streaming, and switched XPath to * pattern.c xpath.c: fixed remaining known bugs in the XPath streaming, and switched XPath to use it by default when possible Daniel
Kasimier T. Buchcik 2a0fdd91 2005-02-17T21:34:45 Some experimental addition for parsing of expressions and streamable * pattern.c pattern.h: Some experimental addition for parsing of expressions and streamable validation. Added xmlStreamPushAttr to the API.
Daniel Veillard 56de87ee 2005-02-16T00:22:29 fix the comment to describe the real return values lot of work on the * encoding.c: fix the comment to describe the real return values * pattern.c xpath.c include/libxml/pattern.h: lot of work on the patterns, pluggin in the XPath default evaluation, but disabled right now because it's not yet good enough for XSLT. pattern.h streaming API are likely to be changed to handle relative and absolute paths in the same expression. Daniel
Daniel Veillard 2b2e02d6 2005-02-05T23:20:22 fixed implementation for | added a specific regression test Daniel * pattern.c xmllint.c: fixed implementation for | * test/pattern/conj.* result/pattern/conj: added a specific regression test Daniel
Daniel Veillard f1f08cf8 2005-02-05T16:35:04 first implementation for | support Daniel * pattern.c: first implementation for | support Daniel
Daniel Veillard 0996a162 2005-02-05T14:00:10 fixed the namespaces support fixed xmlGetNodePath when namespaces are used * 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
Daniel Veillard d4301aba 2005-02-03T22:24:10 use the walker to test the patterns instead of the normal reader bug fixes * Makefile.am: use the walker to test the patterns instead of the normal reader * pattern.c xmllint.c: bug fixes in the train including fixing the stupid build break. Daniel
Daniel Veillard 364fbed5 2005-02-03T09:08:06 Fixed debug in pattern.c, Daniel
Daniel Veillard 9740d1d4 2005-02-01T16:21:43 more bug fixes for the XPath streaming code. Daniel * pattern.c: more bug fixes for the XPath streaming code. Daniel
Daniel Veillard 16ef800b 2005-01-31T00:27:50 bugfixes around the streaming patterns Daniel * pattern.c xmllint.c: bugfixes around the streaming patterns Daniel
Daniel Veillard f9d16914 2005-01-30T22:36:30 added first test for the patterns a few fixes Daniel * Makefile.am configure.in result/pattern/simple test/pattern/simple.*: added first test for the patterns * pattern.c xmllint.c: a few fixes Daniel
Daniel Veillard 8f2efae4 2005-01-30T18:44:30 Oops desabling debug, Daniel
Daniel Veillard 2fc6df95 2005-01-30T18:42:55 added a streaming pattern detector for a subset of XPath, should help * pattern.c include/libxml/pattern.h xmllint.c: added a streaming pattern detector for a subset of XPath, should help Kasimier for identity constraints * python/generator.py: applied Stephane Bidoul patch to find paths without breaking. Daniel
Daniel Veillard c7c9fb19 2005-01-12T21:04:15 fixed the fixed size array structure problem reported by Patrick Streule * pattern.c: fixed the fixed size array structure problem reported by Patrick Streule Daniel
Daniel Veillard 427174fb 2003-12-10T10:42:59 removed some compilation warnings Daniel * SAX2.c pattern.c: removed some compilation warnings Daniel
Daniel Veillard ffa7b7e2 2003-12-05T16:10:21 fixed the pattern interfaces but not yet the parser to handle the * pattern.c xmlreader.c xmllint.c include/libxml/pattern.h include/libxml/xmlreader.h: fixed the pattern interfaces but not yet the parser to handle the namespaces. * doc/examples/reader3.c doc/*: fixed the example, rebuilt the docs. Daniel
Daniel Veillard 1e90661b 2003-12-05T14:57:46 cleanup the make rebuild in doc, this include new directive to stop * globals.c xmlwriter.c doc/apibuild.py include/libxml/globals.h include/libxml/pattern.h include/libxml/schemasInternals.h include/libxml/xmlexports.h include/libxml/xmlwriter.h: cleanup the make rebuild in doc, this include new directive to stop documentation warnings * doc/* doc/html/*: rebuilt the docs * pattern.c xmlreader.c include/libxml/pattern.h include/libxml/xmlreader.h: adding xmlTextReaderPreservePattern() to save nodes while scanning the tree with the reader, cleanup the way element were freed, and xmlTextReaderPreserve() implementation, the API might change for namespace binding support when compiling patterns. * doc/examples/*: added reader3.c exposing the xmlTextReaderPreserve() Daniel
Daniel Veillard b3de70c2 2003-12-02T22:32:15 adding the pattern node selection code. Inheried in part from libxslt but * pattern.c include/libxml/pattern.h: adding the pattern node selection code. Inheried in part from libxslt but smaller. * Makefile.am configure.in include/libxml/xmlversion.h.in: integrated the pattern module, made it a configure time option * xmllint.c: added --pattern to test when doing --stream Daniel