[Zorba-coders] [Merge] lp:~ceejatec/zorba/xslt-schema-w3c-bugfix into lp:zorba
Chris Hillery has proposed merging lp:~ceejatec/zorba/xslt-schema-w3c-bugfix into lp:zorba. Requested reviews: Daniel Turcanu (danielturcanu) For more details, see: https://code.launchpad.net/~ceejatec/zorba/xslt-schema-w3c-bugfix/+merge/79068 -- https://code.launchpad.net/~ceejatec/zorba/xslt-schema-w3c-bugfix/+merge/79068 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'schemas/xslt-xquery-serialization.xsd' --- schemas/xslt-xquery-serialization.xsd 2011-08-10 20:23:54 + +++ schemas/xslt-xquery-serialization.xsd 2011-10-12 07:16:43 + @@ -49,7 +49,7 @@ xs:simpleType name=encoding-string-type xs:restriction base=xs:string - xs:pattern value=[A-Za-z]([A-Za-z0-9._]|-)*/ + xs:pattern value=[A-Za-z]([A-Za-z0-9._\-])*/ /xs:restriction /xs:simpleType -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
Re: [Zorba-coders] [Merge] lp:~ceejatec/zorba/xslt-schema-w3c-bugfix into lp:zorba
Daniel - I'm asking you to review this since you originally explained that the regexp was in error in this zorba-coders thread: https://lists.inf.ethz.ch/mailman/private/zorba-coders/2011-August/011953.html See the W3C bug mentioned in the commit message. This change modifies the regexp to the one specified by Henry Zongaro on that bug. -- https://code.launchpad.net/~ceejatec/zorba/xslt-schema-w3c-bugfix/+merge/79068 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba
Federico Cavalieri has proposed merging lp:~fcavalieri/zorba/bugs into lp:zorba. Requested reviews: Markos Zaharioudakis (markos-za) For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 Fixed bug #872697 Updated Changelog for bugs #872697, #871623 and #871629 -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'ChangeLog' --- ChangeLog 2011-10-10 19:29:05 + +++ ChangeLog 2011-10-12 07:21:30 + @@ -41,11 +41,13 @@ * Fixed bug #863730 (static delete-node* functions don't raise ZDDY0012) * Implemented the probe-index-range-value for general indexes * Fixed bug #867662 (nullptr warning) + * Fixed bug #871623 and #871629 (assertion failures with insertions in dynamic collections) * Fixed bug #867262 (allow reuse of iterator over ExtFuncArgItemSequence) * Fixed bug #869024 (segmentation fault with node-reference) * Fixed bug #869025 (segmentation fault with node-reference) * New node-reference module. References can be obtained for any node, and different nodes cannot have the same identifier. + * Fixed bug #872697 (segmentation fault with validation of NMTOKENS) version 2.0.1 === modified file 'src/store/naive/simple_item_factory.cpp' --- src/store/naive/simple_item_factory.cpp 2011-07-22 07:23:17 + +++ src/store/naive/simple_item_factory.cpp 2011-10-12 07:21:30 + @@ -162,7 +162,7 @@ for ( unsigned int i = 0; i atomicTextValues.size() ; i++) { store::Item_t resultItem; -if ( createNMTOKENS(resultItem, atomicTextValues[i]) ) +if ( createNMTOKEN(resultItem, atomicTextValues[i]) ) { typedValues.push_back(resultItem.getp()); } === added file 'test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-18.xml.res' --- test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-18.xml.res 1970-01-01 00:00:00 + +++ test/rbkt/ExpQueryResults/zorba/parsing_and_serializing/parse-xml-fragment-18.xml.res 2011-10-12 07:21:30 + @@ -0,0 +1,2 @@ +?xml version=1.0 encoding=UTF-8? +note nmt=aaa/ \ No newline at end of file === added file 'test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-18.xq' --- test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-18.xq 1970-01-01 00:00:00 + +++ test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-18.xq 2011-10-12 07:21:30 + @@ -0,0 +1,10 @@ +import module namespace x = http://www.zorba-xquery.com/modules/xml;; + +x:parse-xml-fragment(?xml version='1.0'? +!DOCTYPE note [ +!ELEMENT note (#PCDATA) +!ATTLIST note nmt NMTOKENS #REQUIRED +] +note nmt='aaa'/ +, +d) -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba
The proposal to merge lp:~fcavalieri/zorba/bugs into lp:zorba has been updated. Commit Message changed to: Fixed bug #872697 Updated Changelog for bugs #872697, #871623 and #871629 For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba
The proposal to merge lp:~fcavalieri/zorba/bugs into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~ceejatec/zorba/xslt-schema-w3c-bugfix into lp:zorba
Validation queue job xslt-schema-w3c-bugfix-2011-10-12T07-16-09.14Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~ceejatec/zorba/xslt-schema-w3c-bugfix/+merge/79068 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~ceejatec/zorba/xslt-schema-w3c-bugfix into lp:zorba
The proposal to merge lp:~ceejatec/zorba/xslt-schema-w3c-bugfix into lp:zorba has been updated. Status: Approved = Needs review For more details, see: https://code.launchpad.net/~ceejatec/zorba/xslt-schema-w3c-bugfix/+merge/79068 -- https://code.launchpad.net/~ceejatec/zorba/xslt-schema-w3c-bugfix/+merge/79068 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/bugs-2011-10-12T07-31-14.98Z/log.html -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 871623] Re: Assertion failed with insert after in a collection
** Changed in: zorba Status: New = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/871623 Title: Assertion failed with insert after in a collection Status in Zorba - The XQuery Processor: Fix Released Bug description: The following query crashes zorba with an assertion failure: import module namespace ddl = http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl;; import module namespace dml = http://www.zorba-xquery.com/modules/store/dynamic/collections/dml;; ddl:create(xs:QName(ddl:test2),(center1/,oldlast/)); dml:insert-nodes-after(xs:QName(ddl:test2), dml:collection(xs:QName(ddl:test2))[1], (c1/,c2/)); dml:collection(xs:QName(ddl:test2))/self::node() Also import module namespace ddl = http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl;; import module namespace dml = http://www.zorba-xquery.com/modules/store/dynamic/collections/dml;; ddl:create(xs:QName(ddl:test2),(center1/,oldlast/)); dml:insert-nodes-before(xs:QName(ddl:test2), dml:collection(xs:QName(ddl:test2))[2], (c1/,c2/)); dml:collection(xs:QName(ddl:test2))/self::node() To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/871623/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 869025] Re: Segmentation fault with getReference
** Changed in: zorba Status: New = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/869025 Title: Segmentation fault with getReference Status in Zorba - The XQuery Processor: Fix Released Bug description: The following query causes a segmentation fault: import module namespace ddl = http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl;; import module namespace dml = http://www.zorba-xquery.com/modules/store/dynamic/collections/dml;; import module namespace ref = http://www.zorba-xquery.com/modules/node-reference;; ddl:create(xs:QName(ddl:coll)); dml:insert-nodes-last(xs:QName(ddl:coll),text {aa}); ref:node-reference(dml:collection(xs:QName(ddl:coll))) To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/869025/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 869024] Re: Zorba crashes with getReference
** Changed in: zorba Status: New = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/869024 Title: Zorba crashes with getReference Status in Zorba - The XQuery Processor: Fix Released Bug description: The following query sometimes causes Zorba to crash: import module namespace ddl = http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl;; import module namespace dml = http://www.zorba-xquery.com/modules/store/dynamic/collections/dml;; import module namespace ref = http://www.zorba-xquery.com/modules/node-reference;; ddl:create(xs:QName(ddl:coll)); dml:insert-nodes-last(xs:QName(ddl:coll),element {bb}{text {aa}}); ref:node-reference(dml:collection(xs:QName(ddl:coll))) This is caused by the following cast: const OrdPathNode* n = static_castconst OrdPathNode*(node); which is not correct when node is a TextNode To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/869024/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba
Validation queue job bugs-2011-10-12T07-31-14.98Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
Re: [Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba
Voting does not meet specified criteria. Required: Approve 1, Disapprove 1. Got: 1 Pending. -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba
The proposal to merge lp:~fcavalieri/zorba/bugs into lp:zorba has been updated. Status: Approved = Needs review For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 867040] Re: Failing Geo tests
Now the situation is worse (lp:~zorba-coders/zorba/geo-win-build rev. 40): 27% tests passed, 252 tests failed out of 345 Total Test time (real) = 327.35 sec The following tests FAILED: 2880 - zorba_geo_module/geo/area10.xq (SEGFAULT) 2881 - zorba_geo_module/geo/area2.xq (SEGFAULT) 2882 - zorba_geo_module/geo/area3.xq (SEGFAULT) 2883 - zorba_geo_module/geo/area4.xq (SEGFAULT) 2884 - zorba_geo_module/geo/area5.xq (Failed) 2885 - zorba_geo_module/geo/area6.xq (SEGFAULT) 2886 - zorba_geo_module/geo/area7.xq (SEGFAULT) 2888 - zorba_geo_module/geo/area9.xq (SEGFAULT) 2889 - zorba_geo_module/geo/as_binary1.xq (Failed) 2890 - zorba_geo_module/geo/as_text1.xq (Failed) 2891 - zorba_geo_module/geo/as_text2.xq (Failed) 2892 - zorba_geo_module/geo/as_text3.xq (SEGFAULT) 2893 - zorba_geo_module/geo/as_text4.xq (SEGFAULT) 2894 - zorba_geo_module/geo/as_text5.xq (SEGFAULT) 2895 - zorba_geo_module/geo/as_text6.xq (SEGFAULT) 2896 - zorba_geo_module/geo/as_text7.xq (SEGFAULT) 2897 - zorba_geo_module/geo/as_text8.xq (SEGFAULT) 2898 - zorba_geo_module/geo/as_text9.xq (Failed) 2899 - zorba_geo_module/geo/boundary1.xq (Failed) 2900 - zorba_geo_module/geo/boundary10.xq (SEGFAULT) 2901 - zorba_geo_module/geo/boundary11.xq (SEGFAULT) 2902 - zorba_geo_module/geo/boundary12.xq (SEGFAULT) 2903 - zorba_geo_module/geo/boundary13.xq (SEGFAULT) 2904 - zorba_geo_module/geo/boundary14.xq (Failed) 2905 - zorba_geo_module/geo/boundary2.xq (SEGFAULT) 2906 - zorba_geo_module/geo/boundary3.xq (Failed) 2909 - zorba_geo_module/geo/boundary6.xq (SEGFAULT) 2910 - zorba_geo_module/geo/boundary7.xq (SEGFAULT) 2911 - zorba_geo_module/geo/boundary8.xq (SEGFAULT) 2912 - zorba_geo_module/geo/boundary9.xq (SEGFAULT) 2913 - zorba_geo_module/geo/bounding-polygons1.xq (SEGFAULT) 2914 - zorba_geo_module/geo/bounding-polygons2.xq (SEGFAULT) 2915 - zorba_geo_module/geo/bounding-polygons3.xq (SEGFAULT) 2916 - zorba_geo_module/geo/buffer1.xq (SEGFAULT) 2917 - zorba_geo_module/geo/buffer10.xq (SEGFAULT) 2918 - zorba_geo_module/geo/buffer2.xq (Failed) 2919 - zorba_geo_module/geo/buffer3.xq (SEGFAULT) 2920 - zorba_geo_module/geo/buffer4.xq (SEGFAULT) 2922 - zorba_geo_module/geo/buffer6.xq (SEGFAULT) 2924 - zorba_geo_module/geo/buffer8.xq (SEGFAULT) 2925 - zorba_geo_module/geo/buffer9.xq (SEGFAULT) 2926 - zorba_geo_module/geo/centroid1.xq (SEGFAULT) 2927 - zorba_geo_module/geo/centroid10.xq (SEGFAULT) 2928 - zorba_geo_module/geo/centroid2.xq (SEGFAULT) 2929 - zorba_geo_module/geo/centroid3.xq (Failed) 2930 - zorba_geo_module/geo/centroid4.xq (Failed) 2931 - zorba_geo_module/geo/centroid5.xq (SEGFAULT) 2932 - zorba_geo_module/geo/centroid6.xq (SEGFAULT) 2934 - zorba_geo_module/geo/centroid8.xq (SEGFAULT) 2936 - zorba_geo_module/geo/contains1.xq (SEGFAULT) 2937 - zorba_geo_module/geo/contains10.xq (SEGFAULT) 2938 - zorba_geo_module/geo/contains2.xq (SEGFAULT) 2939 - zorba_geo_module/geo/contains3.xq (SEGFAULT) 2940 - zorba_geo_module/geo/contains4.xq (SEGFAULT) 2941 - zorba_geo_module/geo/contains5.xq (SEGFAULT) 2942 - zorba_geo_module/geo/contains6.xq (SEGFAULT) 2944 - zorba_geo_module/geo/contains8.xq (Failed) 2945 - zorba_geo_module/geo/contains9.xq (SEGFAULT) 2946 - zorba_geo_module/geo/convex-hull1.xq (SEGFAULT) 2947 - zorba_geo_module/geo/convex-hull10.xq (SEGFAULT) 2948 - zorba_geo_module/geo/convex-hull2.xq (SEGFAULT) 2949 - zorba_geo_module/geo/convex-hull3.xq (Failed) 2950 - zorba_geo_module/geo/convex-hull3_3d.xq (Failed) 2951 - zorba_geo_module/geo/convex-hull4.xq (SEGFAULT) 2952 - zorba_geo_module/geo/convex-hull5.xq (SEGFAULT) 2954 - zorba_geo_module/geo/convex-hull7.xq (SEGFAULT) 2956 - zorba_geo_module/geo/convex-hull9.xq (SEGFAULT) 2959 - zorba_geo_module/geo/coordinate_dimension3.xq (Failed) 2960 - zorba_geo_module/geo/coordinate_dimension4.xq (SEGFAULT) 2961 - zorba_geo_module/geo/coordinate_dimension5.xq (SEGFAULT) 2962 - zorba_geo_module/geo/coordinate_dimension6.xq (SEGFAULT) 2964 - zorba_geo_module/geo/crosses1.xq (SEGFAULT) 2965 - zorba_geo_module/geo/crosses10.xq (SEGFAULT) 2966 - zorba_geo_module/geo/crosses2.xq (SEGFAULT) 2967 - zorba_geo_module/geo/crosses3.xq (SEGFAULT) 2968 - zorba_geo_module/geo/crosses4.xq (SEGFAULT) 2969 - zorba_geo_module/geo/crosses5.xq (SEGFAULT) 2970 - zorba_geo_module/geo/crosses6.xq (Failed) 2971 - zorba_geo_module/geo/crosses7.xq (SEGFAULT) 2972 - zorba_geo_module/geo/crosses8.xq
[Zorba-coders] [Bug 867040] Re: Failing Geo tests
ctest detailed result log ** Attachment added: LastTest.log https://bugs.launchpad.net/zorba/+bug/867040/+attachment/2537975/+files/LastTest.log ** Summary changed: - Failing Geo tests + Most Geo tests failing on Windows (segfaults + fail) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867040 Title: Most Geo tests failing on Windows (segfaults + fail) Status in Zorba - The XQuery Processor: Unknown Bug description: There are 7 geo module tests which are failing. I don't know if these were already failing, or whether this might be a side-effect of moving the module outside of Zorba, but I need to register a bug to track them so I can mark them as EXPECTED_FAILURE(). To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867040/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
Re: [Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba
Review: Approve -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba
The proposal to merge lp:~fcavalieri/zorba/bugs into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 872731] [NEW] Steps-leading-lone-slash-8a test fails in Zorba 2.0 branch
Public bug reported: In Zorba 2.0 branch, http://bazaar.launchpad.net/~zorba-coders/zorba/2.0/files revision 10421 compiled in release mode with ZORBA_TEST_XQUERYX=ON ZORBA_XQUERYX=ON ZORBA_WITH_BIG_INTEGER=ON the W3C test w3c_testsuite/XQuery/PathExpr/Steps/Steps-leading-lone-slash-8a is failing, see ctest output below. The thing is that in the Zorba trunk, compiled in release mode the test is passing because it is marked as expected failure in http://bazaar.launchpad.net/~zorba-coders/zorba/trunk/view/head:/test/rbkt/Queries/CMakeLists.txt line 213 test w3c_testsuite/XQuery/PathExpr/Steps/Steps-leading-lone-slash-8a === Query: === (:***:) (: Test: Steps-leading-lone-slash-8a :) (: Written by: Jim Melton:) (: Date: 2009-10-01T14:00:00-07:00 :) (: Purpose: Verify xgc:leading-lone-slash implementation :) (: This expression is a valid expression :) (: (/) instance of document-node(element(x)):) (:***:) declare variable $var := document {a123/a}; $var[(/) instance of document-node(element(x))] === end of Query === === Result: === a123/a === end of result === testdriver: non-canonical result for reference result # 1 doesn't match. Actual and Reference canonical results are not identical Actual Canonical Result: roota123/a/root Reference Canonical Result: root/root See line 1, col 7 of expected result. Actual: roota123/a/root Expected: root/root ** Affects: zorba Importance: Undecided Assignee: Nicolae Brinza (nbrinza) Status: New ** Changed in: zorba Assignee: (unassigned) = Nicolae Brinza (nbrinza) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/872731 Title: Steps-leading-lone-slash-8a test fails in Zorba 2.0 branch Status in Zorba - The XQuery Processor: New Bug description: In Zorba 2.0 branch, http://bazaar.launchpad.net/~zorba-coders/zorba/2.0/files revision 10421 compiled in release mode with ZORBA_TEST_XQUERYX=ON ZORBA_XQUERYX=ON ZORBA_WITH_BIG_INTEGER=ON the W3C test w3c_testsuite/XQuery/PathExpr/Steps/Steps-leading-lone-slash-8a is failing, see ctest output below. The thing is that in the Zorba trunk, compiled in release mode the test is passing because it is marked as expected failure in http://bazaar.launchpad.net/~zorba-coders/zorba/trunk/view/head:/test/rbkt/Queries/CMakeLists.txt line 213 test w3c_testsuite/XQuery/PathExpr/Steps/Steps-leading-lone-slash-8a === Query: === (:***:) (: Test: Steps-leading-lone-slash-8a :) (: Written by: Jim Melton:) (: Date: 2009-10-01T14:00:00-07:00 :) (: Purpose: Verify xgc:leading-lone-slash implementation :) (: This expression is a valid expression :) (: (/) instance of document-node(element(x)):) (:***:) declare variable $var := document {a123/a}; $var[(/) instance of document-node(element(x))] === end of Query === === Result: === a123/a === end of result === testdriver: non-canonical result for reference result # 1 doesn't match. Actual and Reference canonical results are not identical Actual Canonical Result: roota123/a/root Reference Canonical Result: root/root See line 1, col 7 of expected result. Actual: roota123/a/root Expected: root/root To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/872731/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
Re: [Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba
Review: Approve -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba
The proposal to merge lp:~fcavalieri/zorba/bugs into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/bugs-2011-10-12T08-49-58.151Z/log.html -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba
Validation queue job bugs-2011-10-12T08-49-58.151Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs into lp:zorba
The proposal to merge lp:~fcavalieri/zorba/bugs into lp:zorba has been updated. Status: Approved = Merged For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 -- https://code.launchpad.net/~fcavalieri/zorba/bugs/+merge/79070 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
Re: [Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs2 into lp:zorba
Review: Approve -- https://code.launchpad.net/~fcavalieri/zorba/bugs2/+merge/78401 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs2 into lp:zorba
The proposal to merge lp:~fcavalieri/zorba/bugs2 into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs2/+merge/78401 -- https://code.launchpad.net/~fcavalieri/zorba/bugs2/+merge/78401 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs2 into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/bugs2-2011-10-12T09-31-02.212Z/log.html -- https://code.launchpad.net/~fcavalieri/zorba/bugs2/+merge/78401 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
Re: [Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs2 into lp:zorba
Review: Approve -- https://code.launchpad.net/~fcavalieri/zorba/bugs2/+merge/78401 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/bugs2 into lp:zorba
The proposal to merge lp:~fcavalieri/zorba/bugs2 into lp:zorba has been updated. Status: Approved = Merged For more details, see: https://code.launchpad.net/~fcavalieri/zorba/bugs2/+merge/78401 -- https://code.launchpad.net/~fcavalieri/zorba/bugs2/+merge/78401 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/setsatundo into lp:zorba
The proposal to merge lp:~fcavalieri/zorba/setsatundo into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/setsatundo/+merge/79093 -- https://code.launchpad.net/~fcavalieri/zorba/setsatundo/+merge/79093 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/setsatundo into lp:zorba
Federico Cavalieri has proposed merging lp:~fcavalieri/zorba/setsatundo into lp:zorba. Requested reviews: Federico Cavalieri (fcavalieri) Markos Zaharioudakis (markos-za) For more details, see: https://code.launchpad.net/~fcavalieri/zorba/setsatundo/+merge/79093 Implemented undo for SetElementType and SetAttributeType. -- https://code.launchpad.net/~fcavalieri/zorba/setsatundo/+merge/79093 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'ChangeLog' --- ChangeLog 2011-10-12 09:20:36 + +++ ChangeLog 2011-10-12 10:04:34 + @@ -49,6 +49,7 @@ * New node-reference module. References can be obtained for any node, and different nodes cannot have the same identifier. * Fixed bug #872697 (segmentation fault with validation of NMTOKENS) + * Added undo for node revalidation version 2.0.1 === modified file 'src/store/naive/pul_primitives.cpp' --- src/store/naive/pul_primitives.cpp 2011-10-12 09:20:36 + +++ src/store/naive/pul_primitives.cpp 2011-10-12 10:04:34 + @@ -465,12 +465,20 @@ { ElementNode* target = ELEM_NODE(theTarget); + theOldTypeName=target-getType(); + theOldHaveTypedValue=target-haveTypedValue(); + if (theOldHaveTypedValue) +theOldHaveEmptyTypedValue=target-haveEmptyTypedValue(); + theOldIsInSubstitutionGroup=target-isInSubstitutionGroup(); + target-setType(theTypeName); TextNode* textChild; - - if (target-haveTypedTypedValue(textChild)) + theOldHaveTypedTypedValue=target-haveTypedTypedValue(textChild); + if (theOldHaveTypedTypedValue) { +theOldHaveListTypedValue= textChild-haveListValue(); +theOldTypedValue=textChild-getValue(); zstring textValue; textChild-getStringValue2(textValue); @@ -491,7 +499,7 @@ if (theHaveTypedTypedValue) { - TextNode* textChild = target-getUniqueTextChild(); + textChild = target-getUniqueTextChild(); textChild-setTypedValue(theTypedValue); if (theHaveListTypedValue) @@ -509,8 +517,57 @@ target-setInSubstGroup(); else target-resetInSubstGroup(); -} - + + theIsApplied=true; +} + +void UpdSetElementType::undo() +{ + if (theIsApplied) + { +ElementNode* target = ELEM_NODE(theTarget); + +target-setType(theOldTypeName); + +if (theHaveTypedTypedValue) +{ + TextNode* textChild = target-getUniqueTextChild(); + textChild-revertToTextContent(); +} + +if (theOldHaveTypedValue) +{ + target-setHaveTypedValue(); + + if (theOldHaveEmptyTypedValue) +target-setHaveEmptyTypedValue(); + else +target-resetHaveEmptyTypedValue(); + + if (theOldHaveTypedTypedValue) + { +TextNode* textChild = target-getUniqueTextChild(); + +textChild-setTypedValue(theOldTypedValue); +if (theOldHaveListTypedValue) + textChild-setHaveListValue(); +else + textChild-resetHaveListValue(); + } +} +else +{ + target-resetHaveTypedValue(); +} + +if (theOldIsInSubstitutionGroup) + target-setInSubstGroup(); +else + target-resetInSubstGroup(); + +theIsApplied=false; + } +} /*** @@ -570,6 +627,10 @@ { AttributeNode* target = ATTR_NODE(theTarget); + theOldTypeName=target-getType(); + theOldTypedValue.transfer(target-theTypedValue); + theOldHaveListValue=target-haveListValue(); + target-setType(theTypeName); target-theTypedValue.transfer(theTypedValue); @@ -577,8 +638,26 @@ target-setHaveListValue(); else target-resetHaveListValue(); -} - + + theIsApplied=true; +} + +void UpdSetAttributeType::undo() +{ + if (theIsApplied) + { +AttributeNode* target = ATTR_NODE(theTarget); +target-setType(theOldTypeName); +target-theTypedValue.transfer(theOldTypedValue); + +if (theOldHaveListValue) + target-setHaveListValue(); +else + target-resetHaveListValue(); + +theIsApplied=false; + } +} /*** === modified file 'src/store/naive/pul_primitives.h' --- src/store/naive/pul_primitives.h 2011-10-10 12:12:00 + +++ src/store/naive/pul_primitives.h 2011-10-12 10:04:34 + @@ -712,16 +712,24 @@ protected: store::Item_ttheTypeName; - store::Item_ttheTypedValue; bool theHaveTypedValue; bool theHaveEmptyTypedValue; bool theHaveTypedTypedValue; bool theHaveListTypedValue; - bool theIsInSubstitutionGroup; + store::Item_ttheOldTypeName; + store::Item_ttheOldTypedValue; + + bool theOldHaveTypedValue; + bool theOldHaveEmptyTypedValue; + bool theOldHaveTypedTypedValue; + bool theOldHaveListTypedValue; + bool
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/setsatundo into lp:zorba
Validation queue job setsatundo-2011-10-12T10-10-16.743Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~fcavalieri/zorba/setsatundo/+merge/79093 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
Re: [Zorba-coders] [Merge] lp:~fcavalieri/zorba/setsatundo into lp:zorba
Voting does not meet specified criteria. Required: Approve 1, Disapprove 1. Got: 2 Pending. -- https://code.launchpad.net/~fcavalieri/zorba/setsatundo/+merge/79093 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/setsatundo into lp:zorba
The proposal to merge lp:~fcavalieri/zorba/setsatundo into lp:zorba has been updated. Status: Approved = Needs review For more details, see: https://code.launchpad.net/~fcavalieri/zorba/setsatundo/+merge/79093 -- https://code.launchpad.net/~fcavalieri/zorba/setsatundo/+merge/79093 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 872796] Re: validate-in-place can break other update primitives
The schema xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema; targetNamespace=http://www.zorba-xquery.org/schema; xmlns=http://www.zorba-xquery.org/schema; elementFormDefault=qualified xs:element name=item xs:complexType xs:sequence xs:element name=a type=xs:string/ /xs:sequence /xs:complexType /xs:element /xs:schema -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/872796 Title: validate-in-place can break other update primitives Status in Zorba - The XQuery Processor: New Bug description: The validate-in-place function can make other update primitives uneffective. The following query should return new new but it returns old new. import module namespace schema = http://www.zorba-xquery.com/modules/schema;; import schema namespace d=http://www.example.com/doc; at test24.xsd; import module namespace file = http://expath.org/ns/file;; declare revalidation lax; variable $doc:=item xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://www.zorba-xquery.org/schema; aold/a /item; ( schema:validate-in-place($doc), replace value of node $doc//*:a with new ); variable $res1:=string($doc//*:a); ( replace value of node $doc//*:a with new ); ($res1,string($doc//*:a)) To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/872796/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 872796] [NEW] validate-in-place can break other update primitives
Public bug reported: The validate-in-place function can make other update primitives uneffective. The following query should return new new but it returns old new. import module namespace schema = http://www.zorba-xquery.com/modules/schema;; import schema namespace d=http://www.example.com/doc; at test24.xsd; import module namespace file = http://expath.org/ns/file;; declare revalidation lax; variable $doc:=item xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://www.zorba-xquery.org/schema; aold/a /item; ( schema:validate-in-place($doc), replace value of node $doc//*:a with new ); variable $res1:=string($doc//*:a); ( replace value of node $doc//*:a with new ); ($res1,string($doc//*:a)) ** Affects: zorba Importance: High Assignee: Federico Cavalieri (fcavalieri) Status: New ** Changed in: zorba Assignee: (unassigned) = Federico Cavalieri (fcavalieri) ** Changed in: zorba Importance: Undecided = High -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/872796 Title: validate-in-place can break other update primitives Status in Zorba - The XQuery Processor: New Bug description: The validate-in-place function can make other update primitives uneffective. The following query should return new new but it returns old new. import module namespace schema = http://www.zorba-xquery.com/modules/schema;; import schema namespace d=http://www.example.com/doc; at test24.xsd; import module namespace file = http://expath.org/ns/file;; declare revalidation lax; variable $doc:=item xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://www.zorba-xquery.org/schema; aold/a /item; ( schema:validate-in-place($doc), replace value of node $doc//*:a with new ); variable $res1:=string($doc//*:a); ( replace value of node $doc//*:a with new ); ($res1,string($doc//*:a)) To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/872796/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 872799] [NEW] validate-in-place can set incorrect types
Public bug reported: validate-in-place can set incorrect types. The following query should produce a smallEl with type smallEl, but it produces a smallEl typed as bigEl. import module namespace schema = http://www.zorba-xquery.com/modules/schema;; import schema namespace d=http://www.example.com/doc; at test23.xsd; import module namespace file = http://expath.org/ns/file;; declare revalidation lax; variable $doc:=items xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;    xmlns=http://www.zorba-xquery.org/schema;   bigEl aold/a   /bigEl /items; (   schema:validate-in-place($doc),   rename node $doc/*:bigEl as QName(http://www.zorba-xquery.org/schema,smallEl;) ); for $x in ($doc//*) return (node name={node-name($x)} type={schema:schema-type($x)}/) Schema xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema; targetNamespace=http://www.zorba-xquery.org/schema; xmlns=http://www.zorba-xquery.org/schema; elementFormDefault=qualified xs:element name=items xs:complexType xs:choice maxOccurs=unbounded xs:element name=bigEl type=bigEl/ xs:element name=smallEl type=smallEl/ /xs:choice /xs:complexType /xs:element xs:complexType name=bigEl xs:sequence xs:element name=a type=xs:string/ /xs:sequence /xs:complexType xs:complexType name=smallEl xs:sequence xs:element name=a type=xs:string/ /xs:sequence /xs:complexType /xs:schema ** Affects: zorba Importance: High Assignee: Federico Cavalieri (fcavalieri) Status: New ** Changed in: zorba Importance: Undecided = High ** Changed in: zorba Assignee: (unassigned) = Federico Cavalieri (fcavalieri) ** Description changed: validate-in-place can set incorrect types. The following query should produce a smallEl with type smallEl, but it produces a smallEl typed as bigEl. import module namespace schema = http://www.zorba-xquery.com/modules/schema;; import schema namespace d=http://www.example.com/doc; at test23.xsd; import module namespace file = http://expath.org/ns/file;; declare revalidation lax; variable $doc:=items xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; -xmlns=http://www.zorba-xquery.org/schema; - bigEl - aold/a - /bigEl +    xmlns=http://www.zorba-xquery.org/schema; +   bigEl + aold/a +   /bigEl /items; ( - schema:validate-in-place($doc), - rename node $doc/*:bigEl as QName(http://www.zorba-xquery.org/schema,smallEl;) +   schema:validate-in-place($doc), +   rename node $doc/*:bigEl as QName(http://www.zorba-xquery.org/schema,smallEl;) ); for $x in ($doc//*) return (node name={node-name($x)} type={schema:schema-type($x)}/) + Schema + xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema; + targetNamespace=http://www.zorba-xquery.org/schema; xmlns=http://www.zorba-xquery.org/schema; + elementFormDefault=qualified - Schema - import module namespace schema = http://www.zorba-xquery.com/modules/schema;; - import schema namespace d=http://www.example.com/doc; at test23.xsd; - import module namespace file = http://expath.org/ns/file;; - declare revalidation lax; + xs:element name=items + xs:complexType + xs:choice maxOccurs=unbounded + xs:element name=bigEl type=bigEl/ + xs:element name=smallEl type=smallEl/ + /xs:choice +/xs:complexType + /xs:element - variable $doc:=items xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; -xmlns=http://www.zorba-xquery.org/schema; - bigEl - aold/a - /bigEl - /items; +xs:complexType name=bigEl +xs:sequence +xs:element name=a type=xs:string/ + /xs:sequence +/xs:complexType - ( - schema:validate-in-place($doc), - rename node $doc/*:bigEl as QName(http://www.zorba-xquery.org/schema,smallEl;) - ); +xs:complexType name=smallEl + xs:sequence +xs:element name=a type=xs:string/ + /xs:sequence +/xs:complexType - for $x in ($doc//*) - return (node name={node-name($x)} type={schema:schema-type($x)}/) + + /xs:schema -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/872799 Title: validate-in-place can set incorrect types Status in Zorba - The XQuery Processor: New Bug description: validate-in-place can set incorrect types. The following query should produce a smallEl with type smallEl, but it produces a smallEl typed as bigEl. import module namespace schema = http://www.zorba-xquery.com/modules/schema;; import schema namespace d=http://www.example.com/doc; at test23.xsd; import module namespace file = http://expath.org/ns/file;; declare revalidation lax; variable $doc:=items xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;   Â
[Zorba-coders] [Bug 867040] Re: Most Geo tests failing on Windows (segfaults + fail)
GEOS library is not prepared to be a DLL. Use the static library. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867040 Title: Most Geo tests failing on Windows (segfaults + fail) Status in Zorba - The XQuery Processor: Unknown Bug description: There are 7 geo module tests which are failing. I don't know if these were already failing, or whether this might be a side-effect of moving the module outside of Zorba, but I need to register a bug to track them so I can mark them as EXPECTED_FAILURE(). To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867040/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 868258] Re: Assertion failed with collection delete
** Changed in: zorba Status: New = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/868258 Title: Assertion failed with collection delete Status in Zorba - The XQuery Processor: Fix Released Bug description: Trying to delete a collection twice during the same snapshot causes an assertion to fail. import module namespace ddl = http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl;; import module namespace dml = http://www.zorba-xquery.com/modules/store/dynamic/collections/dml;; ddl:create(xs:QName(ddl:coll),(a/,b/)); ( ddl:delete(xs:QName(ddl:coll)), ddl:delete(xs:QName(ddl:coll)) ); To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/868258/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~danielturcanu/zorba/mytrunk into lp:zorba
Daniel Turcanu has proposed merging lp:~danielturcanu/zorba/mytrunk into lp:zorba. Requested reviews: Chris Hillery (ceejatec) Matthias Brantner (matthias-brantner) For more details, see: https://code.launchpad.net/~danielturcanu/zorba/mytrunk/+merge/79120 fn:analyze-string fix Also removed useless test -- https://code.launchpad.net/~danielturcanu/zorba/mytrunk/+merge/79120 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'ChangeLog' --- ChangeLog 2011-10-12 09:20:36 + +++ ChangeLog 2011-10-12 13:08:19 + @@ -48,7 +48,11 @@ * Fixed bug #869025 (segmentation fault with node-reference) * New node-reference module. References can be obtained for any node, and different nodes cannot have the same identifier. + TREE * Fixed bug #872697 (segmentation fault with validation of NMTOKENS) +=== + * Fixed bug #868325 (fn:analyze-string fails with some recursive subgroups) + MERGE-SOURCE version 2.0.1 === modified file 'src/diagnostics/dict_XX_cpp.xq' --- src/diagnostics/dict_XX_cpp.xq 2011-08-05 02:21:55 + +++ src/diagnostics/dict_XX_cpp.xq 2011-10-12 13:08:19 + @@ -64,6 +64,7 @@ return string-join( ( util:copyright(), '#include stdafx.h', +'#include zorba/config.h', '#include diagnostics/dict_impl.h', '', 'namespace zorba {', === modified file 'src/diagnostics/pregenerated/dict_en.cpp' --- src/diagnostics/pregenerated/dict_en.cpp 2011-10-05 17:49:48 + +++ src/diagnostics/pregenerated/dict_en.cpp 2011-10-12 13:08:19 + @@ -20,6 +20,7 @@ */ #include stdafx.h +#include zorba/config.h #include diagnostics/dict_impl.h namespace zorba { === modified file 'src/runtime/strings/strings_impl.cpp' --- src/runtime/strings/strings_impl.cpp 2011-08-10 18:58:11 + +++ src/runtime/strings/strings_impl.cpp 2011-10-12 13:08:19 + @@ -1688,7 +1688,7 @@ GENV_ITEMFACTORY-createString(strid_item, zstrid); store::Item_t id_attrib_item; GENV_ITEMFACTORY-createAttributeNode(id_attrib_item, group_elem.getp(), nr_attrib_name, untyped_type_name, strid_item); -if(match_startg 0) +if((match_startg 0) || (match_startg match_endgood)) continue; match_endgood = match_endg; if((i+1)nr_pattern_groups) === modified file 'src/zorbatypes/URI.cpp' --- src/zorbatypes/URI.cpp 2011-06-24 23:00:33 + +++ src/zorbatypes/URI.cpp 2011-10-12 13:08:19 + @@ -1191,8 +1191,6 @@ return is_set(Scheme) !theScheme.empty(); } - - /*** / @@ -1347,7 +1345,6 @@ path = base_path.substr(0, last_slash+1); // else //path = /; - } // 6b - append the relative URI path === added directory 'test/rbkt/ExpQueryResults/zorba/string/Regex' === added file 'test/rbkt/ExpQueryResults/zorba/string/Regex/regex_a4.xml.res' --- test/rbkt/ExpQueryResults/zorba/string/Regex/regex_a4.xml.res 1970-01-01 00:00:00 + +++ test/rbkt/ExpQueryResults/zorba/string/Regex/regex_a4.xml.res 2011-10-12 13:08:19 + @@ -0,0 +1,1 @@ +fn:analyze-string-result xmlns:fn=http://www.w3.org/2005/xpath-functions;fn:matchafn:group nr=1fn:group nr=2/fn:group nr=3c/fn:group/fn:group/fn:match/fn:analyze-string-result \ No newline at end of file === added directory 'test/rbkt/Queries/zorba/string/Regex' === added file 'test/rbkt/Queries/zorba/string/Regex/regex_a4.xq' --- test/rbkt/Queries/zorba/string/Regex/regex_a4.xq 1970-01-01 00:00:00 + +++ test/rbkt/Queries/zorba/string/Regex/regex_a4.xq 2011-10-12 13:08:19 + @@ -0,0 +1,1 @@ +fn:analyze-string(ac, ((a)|(c))+) \ No newline at end of file -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 872850] [NEW] Serialization of Tumbling Window For fails
Public bug reported: Hello The serialization of a tumbling window for is broken. The assertion at src/zorbaserialization/class_serializer.h:399 doesn't pass. The problem can be reproduced by extending the plan_serialization unit test with the following diff: === modified file 'test/unit/guestbook.xq' --- test/unit/guestbook.xq 2011-08-12 16:07:57 + +++ test/unit/guestbook.xq 2011-10-12 13:06:44 + @@ -37,6 +37,14 @@ return 1 }; +declare function guestbook:window() { + let $x := 1 to 1000 + for tumbling window $w in $x + start at $s when fn:true() + end at $e when $e - $s eq 51 + return window{ $w }/window +}; + declare %ann:sequential function guestbook:init() { ddl:create($guestbook:entries); }; === modified file 'test/unit/guestbook_main.xq' --- test/unit/guestbook_main.xq 2011-08-05 02:21:55 + +++ test/unit/guestbook_main.xq 2011-10-12 12:58:13 + @@ -18,4 +18,4 @@ import module namespace refl = http://www.zorba-xquery.com/modules/reflection;; -guestbook:init(), refl:eval(guestbook:list()) +guestbook:init(), refl:eval(guestbook:list()), refl:eval(guestbook:window()) the test result is: ctest -R plan_seri -V UpdateCTestConfiguration from :/home/dagraf/zorba/build/DartConfiguration.tcl Parse Config file:/home/dagraf/zorba/build/DartConfiguration.tcl Add coverage exclude regular expressions. Add coverage exclude: mapm.* UpdateCTestConfiguration from :/home/dagraf/zorba/build/DartConfiguration.tcl Parse Config file:/home/dagraf/zorba/build/DartConfiguration.tcl Test project /home/dagraf/zorba/build Constructing a list of tests Done constructing a list of tests Checking test dependency graph... test 2041 Start 2041: test/unit/plan_serializer 2041: Test command: /home/dagraf/zorba/build/test/unit/UnitTests plan_serializer 2041: Test timeout computed to be: 1500 2041: //home/dagraf/zorba/build/test/unit/guestbook.xq:27,25: Zorba static warning [zwarn:ZWST0003]: guestbook:list: function declared sequential, but has non-sequential body; raised at /home/dagraf/zorba/sandbox/src/compiler/translator/translator.cpp:3399 2041: UnitTests: /home/dagraf/zorba/sandbox/src/zorbatypes/rchandle.h:111: virtual void zorba::SimpleRCObject::serialize_internal(zorba::serialization::Archiver): Assertion `strstr(typeid(*this).name(), SimpleRCObject)' failed. 1/1 Test #2041: test/unit/plan_serializer ***Exception: SegFault 0.08 sec 0% tests passed, 1 tests failed out of 1 Total Test time (real) = 0.17 sec The following tests FAILED: 2041 - test/unit/plan_serializer (SEGFAULT) Errors while running CTest ** Affects: zorba Importance: Undecided Assignee: Daniel Turcanu (danielturcanu) Status: New ** Changed in: zorba Assignee: (unassigned) = Daniel Turcanu (danielturcanu) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/872850 Title: Serialization of Tumbling Window For fails Status in Zorba - The XQuery Processor: New Bug description: Hello The serialization of a tumbling window for is broken. The assertion at src/zorbaserialization/class_serializer.h:399 doesn't pass. The problem can be reproduced by extending the plan_serialization unit test with the following diff: === modified file 'test/unit/guestbook.xq' --- test/unit/guestbook.xq2011-08-12 16:07:57 + +++ test/unit/guestbook.xq2011-10-12 13:06:44 + @@ -37,6 +37,14 @@ return 1 }; +declare function guestbook:window() { + let $x := 1 to 1000 + for tumbling window $w in $x + start at $s when fn:true() + end at $e when $e - $s eq 51 + return window{ $w }/window +}; + declare %ann:sequential function guestbook:init() { ddl:create($guestbook:entries); }; === modified file 'test/unit/guestbook_main.xq' --- test/unit/guestbook_main.xq 2011-08-05 02:21:55 + +++ test/unit/guestbook_main.xq 2011-10-12 12:58:13 + @@ -18,4 +18,4 @@ import module namespace refl = http://www.zorba-xquery.com/modules/reflection;; -guestbook:init(), refl:eval(guestbook:list()) +guestbook:init(), refl:eval(guestbook:list()), refl:eval(guestbook:window()) the test result is: ctest -R plan_seri -V UpdateCTestConfiguration from :/home/dagraf/zorba/build/DartConfiguration.tcl Parse Config file:/home/dagraf/zorba/build/DartConfiguration.tcl Add coverage exclude regular expressions. Add coverage exclude: mapm.* UpdateCTestConfiguration from :/home/dagraf/zorba/build/DartConfiguration.tcl Parse Config file:/home/dagraf/zorba/build/DartConfiguration.tcl Test project /home/dagraf/zorba/build Constructing a list of tests Done constructing a list of tests Checking test dependency graph... test 2041 Start 2041: test/unit/plan_serializer 2041: Test command: /home/dagraf/zorba/build/test/unit/UnitTests
Re: [Zorba-coders] [Merge] lp:~fcavalieri/zorba/setsatundo into lp:zorba
Review: Approve -- https://code.launchpad.net/~fcavalieri/zorba/setsatundo/+merge/79093 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
Re: [Zorba-coders] [Merge] lp:~danielturcanu/zorba/mytrunk into lp:zorba
The #include is necessary to have access to zorba settings. -- https://code.launchpad.net/~danielturcanu/zorba/mytrunk/+merge/79120 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/setsatundo into lp:zorba
The proposal to merge lp:~fcavalieri/zorba/setsatundo into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/setsatundo/+merge/79093 -- https://code.launchpad.net/~fcavalieri/zorba/setsatundo/+merge/79093 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/setsatundo into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/setsatundo-2011-10-12T14-51-59.701Z/log.html -- https://code.launchpad.net/~fcavalieri/zorba/setsatundo/+merge/79093 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~ceejatec/zorba/xslt-schema-w3c-bugfix into lp:zorba
The proposal to merge lp:~ceejatec/zorba/xslt-schema-w3c-bugfix into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~ceejatec/zorba/xslt-schema-w3c-bugfix/+merge/79068 -- https://code.launchpad.net/~ceejatec/zorba/xslt-schema-w3c-bugfix/+merge/79068 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/setsatundo into lp:zorba
Validation queue job setsatundo-2011-10-12T14-51-59.701Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~fcavalieri/zorba/setsatundo/+merge/79093 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~ceejatec/zorba/xslt-schema-w3c-bugfix into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/xslt-schema-w3c-bugfix-2011-10-12T15-33-01.833Z/log.html -- https://code.launchpad.net/~ceejatec/zorba/xslt-schema-w3c-bugfix/+merge/79068 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/setsatundo into lp:zorba
The proposal to merge lp:~fcavalieri/zorba/setsatundo into lp:zorba has been updated. Status: Approved = Merged For more details, see: https://code.launchpad.net/~fcavalieri/zorba/setsatundo/+merge/79093 -- https://code.launchpad.net/~fcavalieri/zorba/setsatundo/+merge/79093 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~ceejatec/zorba/xslt-schema-w3c-bugfix into lp:zorba
Validation queue job xslt-schema-w3c-bugfix-2011-10-12T15-33-01.833Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~ceejatec/zorba/xslt-schema-w3c-bugfix/+merge/79068 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~ceejatec/zorba/xslt-schema-w3c-bugfix into lp:zorba
The proposal to merge lp:~ceejatec/zorba/xslt-schema-w3c-bugfix into lp:zorba has been updated. Status: Approved = Merged For more details, see: https://code.launchpad.net/~ceejatec/zorba/xslt-schema-w3c-bugfix/+merge/79068 -- https://code.launchpad.net/~ceejatec/zorba/xslt-schema-w3c-bugfix/+merge/79068 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
Re: [Zorba-coders] [Merge] lp:~danielturcanu/zorba/mytrunk into lp:zorba
There are a lot of #if defined and #if !defined in that file. -- https://code.launchpad.net/~danielturcanu/zorba/mytrunk/+merge/79120 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 872958] [NEW] Need way to detect non-core modules in build
Public bug reported: We have a few test cases in core Zorba which depend on non-core modules. We would like to add some more, including integration tests and utility scripts. What we need is some CMake flag which is set by the existence of a given non-core module, so the core CMakeLists.txt files can do things like IF (PROCESS_MODULE_EXISTS) ADD_TEST(depends_on_process ) ... ** Affects: zorba Importance: Medium Status: New ** Tags: cmake modules non-core ** Changed in: zorba Importance: Undecided = Medium -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/872958 Title: Need way to detect non-core modules in build Status in Zorba - The XQuery Processor: New Bug description: We have a few test cases in core Zorba which depend on non-core modules. We would like to add some more, including integration tests and utility scripts. What we need is some CMake flag which is set by the existence of a given non-core module, so the core CMakeLists.txt files can do things like IF (PROCESS_MODULE_EXISTS) ADD_TEST(depends_on_process ) ... To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/872958/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~danielturcanu/zorba/plan-serializer into lp:zorba
Daniel Turcanu has proposed merging lp:~danielturcanu/zorba/plan-serializer into lp:zorba. Requested reviews: Zorba Coders (zorba-coders) For more details, see: https://code.launchpad.net/~danielturcanu/zorba/plan-serializer/+merge/79160 Fixed bug #872850 about plan serializer crash -- https://code.launchpad.net/~danielturcanu/zorba/plan-serializer/+merge/79160 Your team Zorba Coders is requested to review the proposed merge of lp:~danielturcanu/zorba/plan-serializer into lp:zorba. === modified file 'ChangeLog' --- ChangeLog 2011-10-12 09:58:12 + +++ ChangeLog 2011-10-12 17:53:34 + @@ -49,7 +49,11 @@ * New node-reference module. References can be obtained for any node, and different nodes cannot have the same identifier. * Fixed bug #872697 (segmentation fault with validation of NMTOKENS) + TREE * Added undo for node revalidation +=== + * Fixed bug #872850 (Serialization of Tumbling Window For fails) + MERGE-SOURCE version 2.0.1 === modified file 'src/compiler/expression/expr.cpp' --- src/compiler/expression/expr.cpp 2011-09-16 19:36:18 + +++ src/compiler/expression/expr.cpp 2011-10-12 17:53:34 + @@ -1402,7 +1402,7 @@ void eval_expr::serialize(::zorba::serialization::Archiver ar) { - serialize_baseclass(ar, (expr*)this); + serialize_baseclass(ar, (namespace_context_base_expr*)this); ar theExpr; ar theVars; ar theArgs; === modified file 'src/compiler/expression/flwor_expr.cpp' --- src/compiler/expression/flwor_expr.cpp 2011-08-15 14:17:09 + +++ src/compiler/expression/flwor_expr.cpp 2011-10-12 17:53:34 + @@ -70,6 +70,12 @@ SERIALIZABLE_CLASS_VERSIONS(flwor_expr) END_SERIALIZABLE_CLASS_VERSIONS(flwor_expr) +SERIALIZABLE_CLASS_VERSIONS(flwor_wincond) +END_SERIALIZABLE_CLASS_VERSIONS(flwor_wincond) + +SERIALIZABLE_CLASS_VERSIONS(flwor_wincond::vars) +END_SERIALIZABLE_CLASS_VERSIONS(flwor_wincond::vars) + DEF_EXPR_ACCEPT (flwor_expr) @@ -530,6 +536,25 @@ set_flwor_clause(NULL); } +void flwor_wincond::serialize(::zorba::serialization::Archiver ar) +{ + ar theIsOnly; + ar theInputVars; + ar theOutputVars; + ar theCondExpr; +} + +void flwor_wincond::vars::serialize(::zorba::serialization::Archiver ar) +{ + ar posvar; + ar curr; + ar prev; + ar next; +} + +flwor_wincond::vars::vars() +{ +} flwor_wincond::vars::~vars() { === modified file 'src/compiler/expression/flwor_expr.h' --- src/compiler/expression/flwor_expr.h 2011-08-15 14:17:09 + +++ src/compiler/expression/flwor_expr.h 2011-10-12 17:53:34 + @@ -360,19 +360,24 @@ friend class ExprIterator; public: - struct vars + struct vars : public SerializeBaseClass { var_expr_t posvar; var_expr_t curr; var_expr_t prev; var_expr_t next; +vars(); ~vars(); void set_flwor_clause(flwor_clause* c); void clone(vars cloneVars, expr::substitution_t subst) const; std::ostream put(std::ostream) const; + public: +SERIALIZABLE_CLASS(vars) +SERIALIZABLE_CLASS_CONSTRUCTOR(vars) +void serialize(::zorba::serialization::Archiver ar); }; protected: @@ -382,6 +387,11 @@ expr_t theCondExpr; public: + SERIALIZABLE_CLASS(flwor_wincond) + SERIALIZABLE_CLASS_CONSTRUCTOR2(flwor_wincond, SimpleRCObject) + void serialize(::zorba::serialization::Archiver ar); + +public: flwor_wincond( static_context* sctx, bool isOnly, === added file 'test/rbkt/ExpQueryResults/zorba/windowing/windowing12.xml.res' --- test/rbkt/ExpQueryResults/zorba/windowing/windowing12.xml.res 1970-01-01 00:00:00 + +++ test/rbkt/ExpQueryResults/zorba/windowing/windowing12.xml.res 2011-10-12 17:53:34 + @@ -0,0 +1,1 @@ +window1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52/windowwindow53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104/windowwindow105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156/windowwindow157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208/windowwindow209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260/windowwindow261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312/windowwindow313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333
[Zorba-coders] [Merge] lp:~danielturcanu/zorba/plan-serializer into lp:zorba
The proposal to merge lp:~danielturcanu/zorba/plan-serializer into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~danielturcanu/zorba/plan-serializer/+merge/79160 -- https://code.launchpad.net/~danielturcanu/zorba/plan-serializer/+merge/79160 Your team Zorba Coders is requested to review the proposed merge of lp:~danielturcanu/zorba/plan-serializer into lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
Re: [Zorba-coders] [Merge] lp:~danielturcanu/zorba/plan-serializer into lp:zorba
Attempt to merge into lp:zorba failed due to conflicts: text conflict in ChangeLog -- https://code.launchpad.net/~danielturcanu/zorba/plan-serializer/+merge/79160 Your team Zorba Coders is requested to review the proposed merge of lp:~danielturcanu/zorba/plan-serializer into lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~danielturcanu/zorba/plan-serializer into lp:zorba
The proposal to merge lp:~danielturcanu/zorba/plan-serializer into lp:zorba has been updated. Status: Approved = Needs review For more details, see: https://code.launchpad.net/~danielturcanu/zorba/plan-serializer/+merge/79160 -- https://code.launchpad.net/~danielturcanu/zorba/plan-serializer/+merge/79160 Your team Zorba Coders is requested to review the proposed merge of lp:~danielturcanu/zorba/plan-serializer into lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~danielturcanu/zorba/plan-serializer into lp:zorba
Daniel Turcanu has proposed merging lp:~danielturcanu/zorba/plan-serializer into lp:zorba. Requested reviews: Zorba Coders (zorba-coders) For more details, see: https://code.launchpad.net/~danielturcanu/zorba/plan-serializer/+merge/79162 Fixed bug #872850 about plan serializer crash -- https://code.launchpad.net/~danielturcanu/zorba/plan-serializer/+merge/79162 Your team Zorba Coders is requested to review the proposed merge of lp:~danielturcanu/zorba/plan-serializer into lp:zorba. === modified file 'ChangeLog' --- ChangeLog 2011-10-12 09:58:12 + +++ ChangeLog 2011-10-12 18:17:28 + @@ -50,6 +50,7 @@ different nodes cannot have the same identifier. * Fixed bug #872697 (segmentation fault with validation of NMTOKENS) * Added undo for node revalidation + * Fixed bug #872850 (Serialization of Tumbling Window For fails) version 2.0.1 === modified file 'src/compiler/expression/expr.cpp' --- src/compiler/expression/expr.cpp 2011-09-16 19:36:18 + +++ src/compiler/expression/expr.cpp 2011-10-12 18:17:28 + @@ -1402,7 +1402,7 @@ void eval_expr::serialize(::zorba::serialization::Archiver ar) { - serialize_baseclass(ar, (expr*)this); + serialize_baseclass(ar, (namespace_context_base_expr*)this); ar theExpr; ar theVars; ar theArgs; === modified file 'src/compiler/expression/flwor_expr.cpp' --- src/compiler/expression/flwor_expr.cpp 2011-08-15 14:17:09 + +++ src/compiler/expression/flwor_expr.cpp 2011-10-12 18:17:28 + @@ -70,6 +70,12 @@ SERIALIZABLE_CLASS_VERSIONS(flwor_expr) END_SERIALIZABLE_CLASS_VERSIONS(flwor_expr) +SERIALIZABLE_CLASS_VERSIONS(flwor_wincond) +END_SERIALIZABLE_CLASS_VERSIONS(flwor_wincond) + +SERIALIZABLE_CLASS_VERSIONS(flwor_wincond::vars) +END_SERIALIZABLE_CLASS_VERSIONS(flwor_wincond::vars) + DEF_EXPR_ACCEPT (flwor_expr) @@ -530,6 +536,25 @@ set_flwor_clause(NULL); } +void flwor_wincond::serialize(::zorba::serialization::Archiver ar) +{ + ar theIsOnly; + ar theInputVars; + ar theOutputVars; + ar theCondExpr; +} + +void flwor_wincond::vars::serialize(::zorba::serialization::Archiver ar) +{ + ar posvar; + ar curr; + ar prev; + ar next; +} + +flwor_wincond::vars::vars() +{ +} flwor_wincond::vars::~vars() { === modified file 'src/compiler/expression/flwor_expr.h' --- src/compiler/expression/flwor_expr.h 2011-08-15 14:17:09 + +++ src/compiler/expression/flwor_expr.h 2011-10-12 18:17:28 + @@ -360,19 +360,24 @@ friend class ExprIterator; public: - struct vars + struct vars : public SerializeBaseClass { var_expr_t posvar; var_expr_t curr; var_expr_t prev; var_expr_t next; +vars(); ~vars(); void set_flwor_clause(flwor_clause* c); void clone(vars cloneVars, expr::substitution_t subst) const; std::ostream put(std::ostream) const; + public: +SERIALIZABLE_CLASS(vars) +SERIALIZABLE_CLASS_CONSTRUCTOR(vars) +void serialize(::zorba::serialization::Archiver ar); }; protected: @@ -382,6 +387,11 @@ expr_t theCondExpr; public: + SERIALIZABLE_CLASS(flwor_wincond) + SERIALIZABLE_CLASS_CONSTRUCTOR2(flwor_wincond, SimpleRCObject) + void serialize(::zorba::serialization::Archiver ar); + +public: flwor_wincond( static_context* sctx, bool isOnly, === added file 'test/rbkt/ExpQueryResults/zorba/windowing/windowing12.xml.res' --- test/rbkt/ExpQueryResults/zorba/windowing/windowing12.xml.res 1970-01-01 00:00:00 + +++ test/rbkt/ExpQueryResults/zorba/windowing/windowing12.xml.res 2011-10-12 18:17:28 + @@ -0,0 +1,1 @@ +window1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52/windowwindow53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104/windowwindow105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156/windowwindow157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208/windowwindow209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260/windowwindow261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312/windowwindow313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360
[Zorba-coders] [Merge] lp:~danielturcanu/zorba/plan-serializer into lp:zorba
The proposal to merge lp:~danielturcanu/zorba/plan-serializer into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~danielturcanu/zorba/plan-serializer/+merge/79162 -- https://code.launchpad.net/~danielturcanu/zorba/plan-serializer/+merge/79162 Your team Zorba Coders is requested to review the proposed merge of lp:~danielturcanu/zorba/plan-serializer into lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~danielturcanu/zorba/mytrunk into lp:zorba
Daniel Turcanu has proposed merging lp:~danielturcanu/zorba/mytrunk into lp:zorba. Requested reviews: Chris Hillery (ceejatec) Matthias Brantner (matthias-brantner) For more details, see: https://code.launchpad.net/~danielturcanu/zorba/mytrunk/+merge/79165 fn:analyze-string fix Also removed useless test -- https://code.launchpad.net/~danielturcanu/zorba/mytrunk/+merge/79165 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'ChangeLog' --- ChangeLog 2011-10-12 09:58:12 + +++ ChangeLog 2011-10-12 18:39:36 + @@ -50,6 +50,7 @@ different nodes cannot have the same identifier. * Fixed bug #872697 (segmentation fault with validation of NMTOKENS) * Added undo for node revalidation + * Fixed bug #868325 (fn:analyze-string fails with some recursive subgroups) version 2.0.1 === modified file 'src/diagnostics/dict_XX_cpp.xq' --- src/diagnostics/dict_XX_cpp.xq 2011-08-05 02:21:55 + +++ src/diagnostics/dict_XX_cpp.xq 2011-10-12 18:39:36 + @@ -64,6 +64,7 @@ return string-join( ( util:copyright(), '#include stdafx.h', +'#include zorba/config.h', '#include diagnostics/dict_impl.h', '', 'namespace zorba {', === modified file 'src/diagnostics/pregenerated/dict_en.cpp' --- src/diagnostics/pregenerated/dict_en.cpp 2011-10-05 17:49:48 + +++ src/diagnostics/pregenerated/dict_en.cpp 2011-10-12 18:39:36 + @@ -20,6 +20,7 @@ */ #include stdafx.h +#include zorba/config.h #include diagnostics/dict_impl.h namespace zorba { === modified file 'src/runtime/strings/strings_impl.cpp' --- src/runtime/strings/strings_impl.cpp 2011-08-10 18:58:11 + +++ src/runtime/strings/strings_impl.cpp 2011-10-12 18:39:36 + @@ -1688,7 +1688,7 @@ GENV_ITEMFACTORY-createString(strid_item, zstrid); store::Item_t id_attrib_item; GENV_ITEMFACTORY-createAttributeNode(id_attrib_item, group_elem.getp(), nr_attrib_name, untyped_type_name, strid_item); -if(match_startg 0) +if((match_startg 0) || (match_startg match_endgood)) continue; match_endgood = match_endg; if((i+1)nr_pattern_groups) === modified file 'src/zorbatypes/URI.cpp' --- src/zorbatypes/URI.cpp 2011-06-24 23:00:33 + +++ src/zorbatypes/URI.cpp 2011-10-12 18:39:36 + @@ -1191,8 +1191,6 @@ return is_set(Scheme) !theScheme.empty(); } - - /*** / @@ -1347,7 +1345,6 @@ path = base_path.substr(0, last_slash+1); // else //path = /; - } // 6b - append the relative URI path === added directory 'test/rbkt/ExpQueryResults/zorba/string/Regex' === added file 'test/rbkt/ExpQueryResults/zorba/string/Regex/regex_a4.xml.res' --- test/rbkt/ExpQueryResults/zorba/string/Regex/regex_a4.xml.res 1970-01-01 00:00:00 + +++ test/rbkt/ExpQueryResults/zorba/string/Regex/regex_a4.xml.res 2011-10-12 18:39:36 + @@ -0,0 +1,1 @@ +fn:analyze-string-result xmlns:fn=http://www.w3.org/2005/xpath-functions;fn:matchafn:group nr=1fn:group nr=2/fn:group nr=3c/fn:group/fn:group/fn:match/fn:analyze-string-result \ No newline at end of file === added directory 'test/rbkt/Queries/zorba/string/Regex' === added file 'test/rbkt/Queries/zorba/string/Regex/regex_a4.xq' --- test/rbkt/Queries/zorba/string/Regex/regex_a4.xq 1970-01-01 00:00:00 + +++ test/rbkt/Queries/zorba/string/Regex/regex_a4.xq 2011-10-12 18:39:36 + @@ -0,0 +1,1 @@ +fn:analyze-string(ac, ((a)|(c))+) \ No newline at end of file -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 872697] Re: Segmentation fault with in validation of NMTOKENS
** Changed in: zorba Status: New = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/872697 Title: Segmentation fault with in validation of NMTOKENS Status in Zorba - The XQuery Processor: Fix Released Bug description: The following query causes a segfault: import module namespace x = http://www.zorba-xquery.com/modules/xml;; x:parse-xml-fragment(?xml version='1.0'? !DOCTYPE note [ !ELEMENT note (#PCDATA) !ATTLIST note nmt NMTOKENS #REQUIRED ] note nmt='aaa'/ , d) To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/872697/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/itemfactory into lp:zorba
Rodolfo - it looks from the diffs like maybe the files XQuery.i and Zorba.i have Windows line endings, or something? The whole files are showing up as one big diff, even though it doesn't look like everything changed. Any idea what's going on there? -- https://code.launchpad.net/~zorba-coders/zorba/itemfactory/+merge/79181 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/updrevalidate into lp:zorba
The proposal to merge lp:~fcavalieri/zorba/updrevalidate into lp:zorba has been updated. Commit Message changed to: Reimplemented validate-in-place through a new update primitive UpdRevalidate. This also fixes bugs 872796 and 872799 For more details, see: https://code.launchpad.net/~fcavalieri/zorba/updrevalidate/+merge/79187 -- https://code.launchpad.net/~fcavalieri/zorba/updrevalidate/+merge/79187 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/updrevalidate into lp:zorba
The proposal to merge lp:~fcavalieri/zorba/updrevalidate into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~fcavalieri/zorba/updrevalidate/+merge/79187 -- https://code.launchpad.net/~fcavalieri/zorba/updrevalidate/+merge/79187 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
Re: [Zorba-coders] [Merge] lp:~fcavalieri/zorba/updrevalidate into lp:zorba
There are additional revisions which have not been approved in review. Please seek review and approval of these new revisions. -- https://code.launchpad.net/~fcavalieri/zorba/updrevalidate/+merge/79187 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/updrevalidate into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/updrevalidate-2011-10-12T21-54-30.271Z/log.html -- https://code.launchpad.net/~fcavalieri/zorba/updrevalidate/+merge/79187 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~fcavalieri/zorba/updrevalidate into lp:zorba
The proposal to merge lp:~fcavalieri/zorba/updrevalidate into lp:zorba has been updated. Status: Approved = Needs review For more details, see: https://code.launchpad.net/~fcavalieri/zorba/updrevalidate/+merge/79187 -- https://code.launchpad.net/~fcavalieri/zorba/updrevalidate/+merge/79187 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp