Re: [Zorba-coders] [Merge] lp:~paul-lucas/zorba/bug-867662 into lp:zorba
Review: Approve Checked on my Fedora 15, 64 bit machine with gcc --version gcc (GCC) 4.6.1 20110908 (Red Hat 4.6.1-9) The warning is gone. -- https://code.launchpad.net/~paul-lucas/zorba/bug-867662/+merge/78139 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/web_crawler_tutorial into lp:zorba
Review: Abstain The tutorial is nice, but I am not sure the index page in our Doxygen documentation is the best place to put it. -- https://code.launchpad.net/~danielturcanu/zorba/web_crawler_tutorial/+merge/77179 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:~sorin.marian.nasoi/zorba/implementation_defined_features into lp:zorba
I suggest adding some further improvements: - The first column is always called Feature although it's not clear that W3C XQuery update Facility 1.0 is a feature. Can you please suggest a better name for it? Is W3C Specifications a better table header than Feature ? Yes, W3C Specification is better. - The Features of the context properties are wrong. For example, Default function namespace seems to be in W3C XQuery and XPath Full Text 1.0 It is also part of the W3C XQuery and XPath Full Text 1.0, please check out the W3C XQuery and XPath Full Text 1.0 catalog from the XQFTTS. Yes, but this is a bug in the W3C test suite. Please also see Dana's email problems with implementation dependent stuff page from 9/9/11. The W3C XQuery and XPath Full Text 1.0 also includes the XQuery 1.0 context properties. If you think it's better I can remove the Feature column all together. I think it should be called W3C Specification and the context properties should indicate properly to which specification they belong. For example, Default function namespace belongs to XQuery 1.0. All Done: please review the changes. Thanks for the help. -- https://code.launchpad.net/~sorin.marian.nasoi/zorba/implementation_defined_features/+merge/78133 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:~sorin.marian.nasoi/zorba/xqdoc_fixes into lp:zorba
What is the google analytics change about? The www.w3.org_2005_xpath-functions.html and www.w3.org_2005_xpath-functions_math.html are not generated every time 'make xqdoc' is called, they are treated as templates. After fixing the issues described I also fixed an issue that was missed by Cezar's commit described in @coders thread Re: [Zorba-coders] XQDoc has no google tracker from Wed, Sep 14, 2011 at 10:29 PM I tried to identify the actual revision no and who reviewed it by I could not. I see no commit from Cezar on Sept 14th: http://bazaar.launchpad.net/~zorba- coders/zorba/trunk/changes/10488?start_revid=10488 I see but all the other module pages don't contain the tracking if regenerated from the source. This should be fixed. I added the Google Analytics part to all XQDoc documentation pages. -- https://code.launchpad.net/~sorin.marian.nasoi/zorba/xqdoc_fixes/+merge/78150 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
[Zorba-coders] [Bug 872732] Re: K2-NamespaceURIForPrefixFunc-2 test fails
In XQTS_1_0_3 the expected result for this test is 'true'. According to the: - W3C FO Spec: http://www.w3.org/TR/xpath-functions-30/#func-namespace-uri-for-prefix - decisions taken in bug 11590: http://www.w3.org/Bugs/Public/show_bug.cgi?id=11590 The correct result in this case is the empty sequence: because () eq returns () Because of the fact that at this moment the RQ uses XQTS_1_0_3, the test test/rbkt/w3c_testsuite/XQuery/Functions/QNameFunc/NamespaceURIForPrefixFunc/K2-NamespaceURIForPrefixFunc-2 is marked as an expected failure in test/tbkt/Queries/CMakeLists.txt. Also the test was manually added in the test/tbkt/Queries/w3c_known_failures.txt in order for the change to go through the RQ. The proposed changes for this bug can be found on this public branch: lp :~zorba-coders/zorba/bug_872732 ** Bug watch added: W3C Bugzilla #11590 http://www.w3.org/Bugs/Public/show_bug.cgi?id=11590 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/872732 Title: K2-NamespaceURIForPrefixFunc-2 test fails Status in Zorba - The XQuery Processor: New Bug description: this is the ctest output: test w3c_testsuite/XQuery/Functions/QNameFunc/NamespaceURIForPrefixFunc/K2-NamespaceURIForPrefixFunc-2 === Query: === (:***:) (: Test: K2-NamespaceURIForPrefixFunc-2 :) (: Written by: Frans Englich :) (: Date: 2007-11-22T11:31:21+01:00 :) (: Purpose: Test that the correct default namespace is picked up(#2). :) (:***:) namespace-uri-for-prefix(, exactly-one(e xmlns=http://www.example.com/A; xmlns:A=http://www.example.com/C; b xmlns:B=http://www.example.com/C; xmlns=/ /e/b)) eq === end of Query === === Result: === true === 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: roottrue/root Reference Canonical Result: root/root See line 1, col 6 of expected result. Actual: roottrue/root Expected: root/root testdriver: canonical result for reference result # 1 doesn't match. testdriver: none of the reference results matched To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/872732/+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:~zorba-coders/zorba/bug_872732 into lp:zorba
Sorin Marian Nasoi has proposed merging lp:~zorba-coders/zorba/bug_872732 into lp:zorba. Requested reviews: Markos Zaharioudakis (markos-za) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug_872732/+merge/79272 Fixed the bug #872732 according to the: - W3C spec: http://www.w3.org/TR/xpath-functions-30/#func-namespace-uri-for-prefix - W3C decision from : http://www.w3.org/Bugs/Public/show_bug.cgi?id=11590 Marked the test test/rbkt/w3c_testsuite/XQuery/Functions/QNameFunc/NamespaceURIForPrefixFunc/K2-NamespaceURIForPrefixFunc-2 as expected failure in the: - test/rbkt/Queries/CMakeLists.txt - test/rbkt/Queries/w3c_known_failures.txt because the RQ uses XQTS_1_0_3, where the expected result for this test is wrong. -- https://code.launchpad.net/~zorba-coders/zorba/bug_872732/+merge/79272 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'src/runtime/qnames/qnames_impl.cpp' --- src/runtime/qnames/qnames_impl.cpp 2011-07-19 19:35:04 + +++ src/runtime/qnames/qnames_impl.cpp 2011-10-13 13:12:36 + @@ -1,12 +1,12 @@ /* * Copyright 2006-2008 The FLWOR Foundation. - * + * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -52,7 +52,7 @@ PlanIteratorState* state; DEFAULT_STACK_INIT(PlanIteratorState, state, planState); - if (consumeNext(itemQName, theChild0.getp(), planState )) + if (consumeNext(itemQName, theChild0.getp(), planState )) { itemQName-getStringValue2(qname); @@ -60,7 +60,7 @@ index = qname.find(:, 0, 1); -if (index != zstring::npos) +if (index != zstring::npos) { resPre = qname.substr(0, index); resLocal = qname.substr(index+1, qname.size() - index); @@ -70,7 +70,7 @@ throw XQUERY_EXCEPTION( err::FOCA0002, ERROR_PARAMS( qname ), ERROR_LOC(loc) ); -} +} else { resLocal = qname; @@ -80,8 +80,8 @@ err::FOCA0002, ERROR_PARAMS( qname ), ERROR_LOC(loc) ); } - -if (consumeNext(itemElem, theChild1, planState )) + +if (consumeNext(itemElem, theChild1, planState )) { itemElem-getNamespaceBindings(NamespaceBindings); @@ -104,7 +104,7 @@ err::FONS0004, ERROR_PARAMS( resPre ), ERROR_LOC( loc ) ); } - + GENV_ITEMFACTORY-createQName(result, resNs, resPre, resLocal); STACK_PUSH(true, state); @@ -128,7 +128,7 @@ PlanIteratorState* state; DEFAULT_STACK_INIT(PlanIteratorState, state, planState); - if (consumeNext(itemURI, theChild0.getp(), planState )) + if (consumeNext(itemURI, theChild0.getp(), planState )) { itemURI-getStringValue2(resNs); @@ -138,12 +138,12 @@ consumeNext(itemQName, theChild1.getp(), planState ); itemQName-getStringValue2(qname); - + ascii::trim_whitespace(qname); index = qname.find(:, 0, 1); - if (index != zstring::npos) + if (index != zstring::npos) { if (resNs.empty()) throw XQUERY_EXCEPTION( @@ -152,12 +152,12 @@ resPre = qname.substr(0, index); resLocal = qname.substr(index+1, qname.size() - index); - } + } else { resLocal = qname; } - + if ((index != zstring::npos ! GENV_GCAST.castableToNCName(resPre)) || ! GENV_GCAST.castableToNCName(resLocal)) { @@ -209,7 +209,7 @@ //11.2.2 fn:prefix-from-QName bool PrefixFromQNameIterator::nextImpl( -store::Item_t result, +store::Item_t result, PlanState planState) const { store::Item_t item; @@ -232,8 +232,8 @@ //11.2.3 fn:local-name-from-QName bool LocalNameFromQNameIterator::nextImpl( -store::Item_t result, -PlanState planState) const +store::Item_t result, +PlanState planState) const { store::Item_t item; zstring localName; @@ -253,7 +253,7 @@ //11.2.4 fn:namespace-uri-from-QName bool NamespaceUriFromQNameIterator::nextImpl( store::Item_t result, -PlanState planState) const +PlanState planState) const { store::Item_t item; zstring ns; @@ -277,6 +277,7 @@ { store::Item_t itemPrefix, itemElem; zstring resNs; + zstring prefix; bool found = false; store::NsBindings NamespaceBindings; store::NsBindings::const_iterator iter; @@ -284,43 +285,35 @@ PlanIteratorState* state; DEFAULT_STACK_INIT(PlanIteratorState, state, planState); -// According to W3C bug #11590 comment #9 -// http://www.w3.org/Bugs/Public/show_bug.cgi?id=11590#c9 -// namespace-uri-for-prefix('', a/) -// and -// namespace-uri-for-prefix((), a/) -// should return the empty sequence if (!consumeNext(itemPrefix
[Zorba-coders] [Bug 867103] Re: K-DocumentURIFunc-2.xq
** Changed in: zorba Milestone: None = 2.1 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867103 Title: K-DocumentURIFunc-2.xq Status in Zorba - The XQuery Processor: New Bug description: test fails in XQuery 3.0 To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867103/+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 867125] Re: xqdoc does no dependency checking on inputs
This can not be implemented in the suggested way: - even if the XQuery module did not change, if anything in the XQDoc style has changed, the XHTML output *has to* change, thus the XQDoc documentation page for all modules have to be regenerated. We should however try to squeeze more performance out of the XQDoc generatator such that we can remove the 3 templates for the following modules: - http://www.w3.org/2005/xpath-functions - http://www.w3.org/2005/xpath-functions/math - http://www.functx.com/ ** Changed in: zorba Milestone: None = 2.1 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867125 Title: xqdoc does no dependency checking on inputs Status in Zorba - The XQuery Processor: New Bug description: Every time you type make doc it re-does the whole process, even if none of the inputs has changed. Until this is corrected, it is not reasonable to make the documentation part of the normal build process. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867125/+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 867198] Re: JSON converter module not proccesing strings with ''
** Changed in: zorba Milestone: None = 2.1 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867198 Title: JSON converter module not proccesing strings with '' Status in Zorba - The XQuery Processor: New Bug description: I run the next query: import module namespace json=http://www.zorba-xquery.com/modules/converters/json;; declare variable $json-value = '{html:bbold/b}'; json:parse($json-value) And I get then next error: converters\json.xq:158,3: dynamic error [err:FODC0006]: invalid content passed to fn:parse-xml(): loader parsing error: StartTag: invalid element name I've noticed that this problem occurs with any string containing '' so for example if we change the second line for declare variable $json-value := '{html:1 2}' it still crashes in the same way. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867198/+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 867278] Re: missing serialization options
** Changed in: zorba Assignee: Sorin Marian Nasoi (sorin.marian.nasoi) = 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/867278 Title: missing serialization options Status in Zorba - The XQuery Processor: New Bug description: The following serialization parameters seem to be missing: - escape_uri_attributes - normalization_form To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867278/+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 867344] Re: Implementation of fn:parse and fn:serialize planned?
** Changed in: zorba Assignee: nobody (nobody-users) = Nicolae Brinza (nbrinza) ** Changed in: zorba Assignee: Nicolae Brinza (nbrinza) = (unassigned) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867344 Title: Implementation of fn:parse and fn:serialize planned? Status in Zorba - The XQuery Processor: New Bug description: Are there plans to implement functions to parse and serialize XML according to the W3C standard? That would be great! http://www.w3.org/TR/xpath-functions-11/#func-parse http://www.w3.org/TR/xpath-functions-11/#func-serialize Best regards Mike To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867344/+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 867344] Re: Implementation of fn:parse and fn:serialize planned?
Gabriel, can you please verify and close this bug if this is fixed? The fn:parse-xml seems to be implemented according to the spec. I have attached a working example for fn:serialize. The only difference between the spec: http://www.w3.org/TR/xpath-functions-30/#func-serialize and the implementation in Zorba is the way the parameters are set: In the spec they are suppose to be set with: output:serialization-parameters output:omit-xml-declarationyes/output:omit-xml-declaration /output:serialization-parameters While in Zorba they are set like this: output:serialization-parameters output:omit-xml-declaration value=yes / /output:serialization-parameters If Zorba is correct than it means the W3C spec is wrong and we should raise a bug against the spec, right? ** Attachment added: This is a fn:serialize example taht works in Zorba https://bugs.launchpad.net/zorba/+bug/867344/+attachment/2543989/+files/fn_serialize_example.xq ** Changed in: zorba Assignee: (unassigned) = Gabriel Petrovay (gabipetrovay) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867344 Title: Implementation of fn:parse and fn:serialize planned? Status in Zorba - The XQuery Processor: New Bug description: Are there plans to implement functions to parse and serialize XML according to the W3C standard? That would be great! http://www.w3.org/TR/xpath-functions-11/#func-parse http://www.w3.org/TR/xpath-functions-11/#func-serialize Best regards Mike To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867344/+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 867350] Re: mess of serialization params
Marked the bug as Fixed released because it was fixed a while ago in the trunk. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867350 Title: mess of serialization params Status in Zorba - The XQuery Processor: Fix Released Bug description: please, add a few examples in the documentation of http://www.zorba-xquery.com/doc/zorba-latest/zorba/xqdoc/xhtml/com/zorba-xquery/www/modules/serialize.html#serialize-2 that would make the users life more easier. Also, there are 3 different ways of setting serialization parameters: ser:serialize( $items, output indent=yes omit-xml-declaration=yes / ) fs:write( $file, $content, indentyes/indent ) zu:tidy( $item, 'indent=yes') as far as it is possible according to standardization and backwards compatibility issues it would be great if they were interchangable. for example: zu:tidy( $item, indentyes/indent ) zu:tidy( $item, output indent=yes omit-xml-declaration=yes /) should be valid. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867350/+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 867230] Re: unit-convert test should not hit the web
** Changed in: zorba Milestone: None = 2.1 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867230 Title: unit-convert test should not hit the web Status in Zorba - The XQuery Processor: New Bug description: The unit-conversion data-cleaning library uses a web service. Currently that web service isn't responding, leading to remote queue delays and failures, so I have disabled the test on the remote queue. IMHO this library should not require the web, at least for a decent set of well-known units (the test case in question is converting miles to kilometers). To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867230/+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 867149] Re: Built target cxxdocs hangs
** Changed in: zorba Milestone: None = 2.1 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867149 Title: Built target cxxdocs hangs Status in Zorba - The XQuery Processor: New Bug description: I did a clean build, make, then make doc and it gets to: Patching output file 132/132 finished... [100%] Built target cxxdocs and the running zorba process hangs with 90%+ CPU. It didn't use to do this. The reason for the high priority is that zorba hanging is serious. This is on Mac OS X (if it matters). To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867149/+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 867231] Re: geocode-from-address results change
** Changed in: zorba Milestone: None = 2.1 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867231 Title: geocode-from-address results change Status in Zorba - The XQuery Processor: New Bug description: Test case zorba_data-cleaning_module/data-cleaning/conversion/geocode- from-address.xq - the results have changed; apparently the geocode for Lisbon is a few feet away from where it was. I've marked this as an expected failure. Changing the expected results is easy enough, but I'd like a little idea of how likely changes like this are in the future - is there any way to change the test to make it more stable? To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867231/+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 872732] Re: K2-NamespaceURIForPrefixFunc-2 test fails
** Changed in: zorba Milestone: None = 2.1 ** 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/872732 Title: K2-NamespaceURIForPrefixFunc-2 test fails Status in Zorba - The XQuery Processor: New Bug description: this is the ctest output: test w3c_testsuite/XQuery/Functions/QNameFunc/NamespaceURIForPrefixFunc/K2-NamespaceURIForPrefixFunc-2 === Query: === (:***:) (: Test: K2-NamespaceURIForPrefixFunc-2 :) (: Written by: Frans Englich :) (: Date: 2007-11-22T11:31:21+01:00 :) (: Purpose: Test that the correct default namespace is picked up(#2). :) (:***:) namespace-uri-for-prefix(, exactly-one(e xmlns=http://www.example.com/A; xmlns:A=http://www.example.com/C; b xmlns:B=http://www.example.com/C; xmlns=/ /e/b)) eq === end of Query === === Result: === true === 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: roottrue/root Reference Canonical Result: root/root See line 1, col 6 of expected result. Actual: roottrue/root Expected: root/root testdriver: canonical result for reference result # 1 doesn't match. testdriver: none of the reference results matched To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/872732/+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 874400] [NEW] bug in the XQDoc visitor in Zorba
Public bug reported: This was reported by Dana: If inside a module you have a function signature like this: declare function fn:map($f as function(item()) as item()*, $seq as item()*) as item()* external; The XQDoc XML resulted is this: xqdoc:function arity=2 [...] xqdoc:signaturedeclare function fn:map($f as , $seq as item()*) as item()* external/xqdoc:signature /xqdoc:function instead of this: xqdoc:function arity=2 [...] xqdoc:signaturedeclare function fn:map($f as function(item()) as item()*, $seq as item()*) as item()* external/xqdoc:signature /xqdoc:function ** Affects: zorba Importance: Medium Assignee: Sorin Marian Nasoi (sorin.marian.nasoi) Status: New ** Changed in: zorba Assignee: (unassigned) = Sorin Marian Nasoi (sorin.marian.nasoi) ** Changed in: zorba Importance: Undecided = Medium ** Changed in: zorba Milestone: None = 2.1 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/874400 Title: bug in the XQDoc visitor in Zorba Status in Zorba - The XQuery Processor: New Bug description: This was reported by Dana: If inside a module you have a function signature like this: declare function fn:map($f as function(item()) as item()*, $seq as item()*) as item()* external; The XQDoc XML resulted is this: xqdoc:function arity=2 [...] xqdoc:signaturedeclare function fn:map($f as , $seq as item()*) as item()* external/xqdoc:signature /xqdoc:function instead of this: xqdoc:function arity=2 [...] xqdoc:signaturedeclare function fn:map($f as function(item()) as item()*, $seq as item()*) as item()* external/xqdoc:signature /xqdoc:function To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/874400/+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 867094] Re: XQTS failures due to W3C bugs
** Changed in: zorba Milestone: None = 2.1 ** Changed in: zorba Importance: Low = 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/867094 Title: XQTS failures due to W3C bugs Status in Zorba - The XQuery Processor: New Bug description: The following XQTS are marked as expected failures due to W3C bugs: test/rbkt/w3c_testsuite/XQueryX/Construct/ComputeCon/ComputeConAttr/K2-ComputeConAttr-35 test/rbkt/w3c_testsuite/XQueryX/StaticTyping/STPathExpr/STSteps/STAxes/ST-Axes011 test/rbkt/w3c_testsuite/XQueryX/StaticTyping/STPathExpr/STSteps/STAxes/ST-Axes012 test/rbkt/w3c_testsuite/XQueryX/StaticTyping/STPathExpr/STSteps/STAxes/ST-Axes013 test/rbkt/w3c_testsuite/XQueryX/StaticTyping/STPathExpr/STSteps/STAxes/ST-Axes014 test/rbkt/w3c_testsuite/XQueryX/StaticTyping/STPathExpr/STSteps/STAxes/ST-Axes015 This is a tracking bug so that we can mark them as expected failures in our system. When/if the corresponding W3C bugs are resolved, this bug should be updated. Assigning to Sorin as the master of W3C conformance. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867094/+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 871051] Re: 3 data-cleaning tests failing
** Changed in: zorba Assignee: (unassigned) = Sorin Marian Nasoi (sorin.marian.nasoi) ** Changed in: zorba Milestone: None = 2.1 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/871051 Title: 3 data-cleaning tests failing Status in Zorba - The XQuery Processor: New Bug description: Reported also by Markos on the list in the dicussion: URGENT 3 data- cleaning tests failing zorba_data-cleaning_module/data-cleaning/conversion/address-from-user.xq zorba_data-cleaning_module/data-cleaning/conversion/phone-from-user.xq zorba_data-cleaning_module/data-cleaning/conversion/user-from-phone.xq The tests have been disabled in: http://bazaar.launchpad.net/~zorba-coders/zorba/data-cleaning-module/view/head:/CMakeLists.txt To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/871051/+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 867125] Re: xqdoc does no dependency checking on inputs
Chris I was not talking about a stylesheet I am talking about changes in what we display, meaniing changes in the xqdoc2xhtml module that impact all XQDoc generated XHTML pages. If for instance - we decide it's better to show another section between the module description and function summary (like it was the case with the annotations section) - or we decide that one of the sections should look different (like it was the case with the variables section) Then, all XQDoc pages change. One can not know that something has changed until one generates all the new XQDoc pages. So you see why I say that the CMake way does not help in this case? The solution is to have 'make xqdoc' even quicker and generate all the pages every time: do you agree? -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867125 Title: xqdoc does no dependency checking on inputs Status in Zorba - The XQuery Processor: New Bug description: Every time you type make doc it re-does the whole process, even if none of the inputs has changed. Until this is corrected, it is not reasonable to make the documentation part of the normal build process. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867125/+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 867125] Re: xqdoc does no dependency checking on inputs
If 'make xqdoc' only took a template and put content in some sections, then one could have implemented your suggestion and regenerate XHTML pages only for the modules that changed, or for all modules if the template has changed. But this is not the case: most of the last changes were in xqdoc2xhtml module itself. So one can not know when the changes in xqdoc2xhtml module impact all XHTML generated documentation or only some pages. So the solution IMHO is to generate all XHTML pages for all modules as quick as possible. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867125 Title: xqdoc does no dependency checking on inputs Status in Zorba - The XQuery Processor: New Bug description: Every time you type make doc it re-does the whole process, even if none of the inputs has changed. Until this is corrected, it is not reasonable to make the documentation part of the normal build process. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867125/+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 867197] Re: 'nmake xqdoc\' fails on Windows
** Changed in: zorba Milestone: 2.1 = None -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867197 Title: 'nmake xqdoc\' fails on Windows Status in Zorba - The XQuery Processor: New Bug description: 'nmake xqdoc\' fails on Windows To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867197/+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 871051] Re: 3 data-cleaning tests failing
** Changed in: zorba Milestone: 2.1 = None -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/871051 Title: 3 data-cleaning tests failing Status in Zorba - The XQuery Processor: New Bug description: Reported also by Markos on the list in the dicussion: URGENT 3 data- cleaning tests failing zorba_data-cleaning_module/data-cleaning/conversion/address-from-user.xq zorba_data-cleaning_module/data-cleaning/conversion/phone-from-user.xq zorba_data-cleaning_module/data-cleaning/conversion/user-from-phone.xq The tests have been disabled in: http://bazaar.launchpad.net/~zorba-coders/zorba/data-cleaning-module/view/head:/CMakeLists.txt To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/871051/+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 867103] Re: K-DocumentURIFunc-2.xq
** Changed in: zorba Milestone: 2.1 = None -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867103 Title: K-DocumentURIFunc-2.xq Status in Zorba - The XQuery Processor: New Bug description: test fails in XQuery 3.0 To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867103/+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 867272] Re: data-cleaning bug with regex
** Changed in: zorba Milestone: 2.1 = None -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867272 Title: data-cleaning bug with regex Status in Zorba - The XQuery Processor: New Bug description: Regex_ascii raises error about a character in a regex in phonetic-string-similarity.xq:95. The character '^' is not allowed there. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867272/+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 867231] Re: geocode-from-address results change
** Changed in: zorba Milestone: 2.1 = None -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867231 Title: geocode-from-address results change Status in Zorba - The XQuery Processor: New Bug description: Test case zorba_data-cleaning_module/data-cleaning/conversion/geocode- from-address.xq - the results have changed; apparently the geocode for Lisbon is a few feet away from where it was. I've marked this as an expected failure. Changing the expected results is easy enough, but I'd like a little idea of how likely changes like this are in the future - is there any way to change the test to make it more stable? To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867231/+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 867198] Re: JSON converter module not proccesing strings with ''
** Changed in: zorba Milestone: 2.1 = None -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867198 Title: JSON converter module not proccesing strings with '' Status in Zorba - The XQuery Processor: New Bug description: I run the next query: import module namespace json=http://www.zorba-xquery.com/modules/converters/json;; declare variable $json-value = '{html:bbold/b}'; json:parse($json-value) And I get then next error: converters\json.xq:158,3: dynamic error [err:FODC0006]: invalid content passed to fn:parse-xml(): loader parsing error: StartTag: invalid element name I've noticed that this problem occurs with any string containing '' so for example if we change the second line for declare variable $json-value := '{html:1 2}' it still crashes in the same way. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867198/+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 867230] Re: unit-convert test should not hit the web
** Changed in: zorba Milestone: 2.1 = None -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867230 Title: unit-convert test should not hit the web Status in Zorba - The XQuery Processor: New Bug description: The unit-conversion data-cleaning library uses a web service. Currently that web service isn't responding, leading to remote queue delays and failures, so I have disabled the test on the remote queue. IMHO this library should not require the web, at least for a decent set of well-known units (the test case in question is converting miles to kilometers). To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867230/+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 874400] Re: bug in the XQDoc visitor in Zorba
** Changed in: zorba Milestone: 2.1 = None -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/874400 Title: bug in the XQDoc visitor in Zorba Status in Zorba - The XQuery Processor: New Bug description: This was reported by Dana: If inside a module you have a function signature like this: declare function fn:map($f as function(item()) as item()*, $seq as item()*) as item()* external; The XQDoc XML resulted is this: xqdoc:function arity=2 [...] xqdoc:signaturedeclare function fn:map($f as , $seq as item()*) as item()* external/xqdoc:signature /xqdoc:function instead of this: xqdoc:function arity=2 [...] xqdoc:signaturedeclare function fn:map($f as function(item()) as item()*, $seq as item()*) as item()* external/xqdoc:signature /xqdoc:function To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/874400/+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 871051] Re: 3 data-cleaning tests failing
** Changed in: zorba Assignee: Sorin Marian Nasoi (sorin.marian.nasoi) = Diogo Simões (diogo-simoes89) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/871051 Title: 3 data-cleaning tests failing Status in Zorba - The XQuery Processor: New Bug description: Reported also by Markos on the list in the dicussion: URGENT 3 data- cleaning tests failing zorba_data-cleaning_module/data-cleaning/conversion/address-from-user.xq zorba_data-cleaning_module/data-cleaning/conversion/phone-from-user.xq zorba_data-cleaning_module/data-cleaning/conversion/user-from-phone.xq The tests have been disabled in: http://bazaar.launchpad.net/~zorba-coders/zorba/data-cleaning-module/view/head:/CMakeLists.txt To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/871051/+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 867230] Re: unit-convert test should not hit the web
** Changed in: zorba Assignee: Sorin Marian Nasoi (sorin.marian.nasoi) = Diogo Simões (diogo-simoes89) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867230 Title: unit-convert test should not hit the web Status in Zorba - The XQuery Processor: New Bug description: The unit-conversion data-cleaning library uses a web service. Currently that web service isn't responding, leading to remote queue delays and failures, so I have disabled the test on the remote queue. IMHO this library should not require the web, at least for a decent set of well-known units (the test case in question is converting miles to kilometers). To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867230/+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 867272] Re: data-cleaning bug with regex
** Changed in: zorba Assignee: Sorin Marian Nasoi (sorin.marian.nasoi) = Diogo Simões (diogo-simoes89) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867272 Title: data-cleaning bug with regex Status in Zorba - The XQuery Processor: New Bug description: Regex_ascii raises error about a character in a regex in phonetic-string-similarity.xq:95. The character '^' is not allowed there. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867272/+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 867231] Re: geocode-from-address results change
** Changed in: zorba Assignee: Sorin Marian Nasoi (sorin.marian.nasoi) = Diogo Simões (diogo-simoes89) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867231 Title: geocode-from-address results change Status in Zorba - The XQuery Processor: New Bug description: Test case zorba_data-cleaning_module/data-cleaning/conversion/geocode- from-address.xq - the results have changed; apparently the geocode for Lisbon is a few feet away from where it was. I've marked this as an expected failure. Changing the expected results is easy enough, but I'd like a little idea of how likely changes like this are in the future - is there any way to change the test to make it more stable? To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867231/+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 878508] Re: JSON Module not escaping escape characters
** 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/878508 Title: JSON Module not escaping escape characters Status in Zorba - The XQuery Processor: New Bug description: The module doesn't convert escaped characters as you would expect. You instead get a string containing the string with it's unescaped value. A conversion needs to be implemented, something such as: JSON - XML \- quot; \\- \ \/- / \b- #x8; \f- #xC; \n- *actual newline* \r- *actual carriage return* \t- ' ' \u- #x; or #$; with the correct hex-decimal conversion - lt; - gt; - amp; ' - apos; This proposition might create a regresion related to bug #866757. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/878508/+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 867289] Re: string comparisons with approximate match
I will change the importance of this bug from HIGH to WISHLIST. ** Changed in: zorba Importance: High = Wishlist -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867289 Title: string comparisons with approximate match Status in Zorba - The XQuery Processor: New Bug description: string comparisons with approximate match To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867289/+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:~zorba-coders/zorba/conformance_reports_generation into lp:zorba
Sorin Marian Nasoi has proposed merging lp:~zorba-coders/zorba/conformance_reports_generation into lp:zorba. Requested reviews: Chris Hillery (ceejatec) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/conformance_reports_generation/+merge/80291 Added testdriver_mt as a option for generating the w3c_testsuite results for W3C. Also the tests are sorted by name in the XML conformance results in order to make the diffs more readable. -- https://code.launchpad.net/~zorba-coders/zorba/conformance_reports_generation/+merge/80291 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:~zorba-coders/zorba/conformance_reports_generation into lp:zorba
Sorin Marian Nasoi has proposed merging lp:~zorba-coders/zorba/conformance_reports_generation into lp:zorba. Requested reviews: Chris Hillery (ceejatec) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/conformance_reports_generation/+merge/80294 Added testdriver_mt as a option for generating the w3c_testsuite results for W3C. Also the tests are sorted by name in the XML conformance results in order to make the diffs more readable. -- https://code.launchpad.net/~zorba-coders/zorba/conformance_reports_generation/+merge/80294 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'test/rbkt/Scripts/w3c/Readme.txt' --- test/rbkt/Scripts/w3c/Readme.txt 2011-07-29 21:49:28 + +++ test/rbkt/Scripts/w3c/Readme.txt 2011-10-25 06:13:08 + @@ -14,19 +14,28 @@ # To generate a report for submitting to the W3C: -0. For submitting reports to W3C one should compile Zorba with ZORBA_WITH_BIG_INTEGER=ON. -In order to generate the report for XQueryX compile Zorba by setting: -ZORBA_XQUERYX=ON and ZORBA_TEST_XQUERYX=ON. These options are set to OFF by default. +0. For submitting reports to W3C one should compile Zorba with: +ZORBA_WITH_BIG_INTEGER=ON +ZORBA_XQUERYX=ON +ZORBA_TEST_XQUERYX=ON +All these options are set to OFF by default. 1. Import XQTS/XQFTTS. -2. Run a CTest dashboard from your build directory: +2. Use the testdriver to do the testing. +Run a CTest dashboard from your build directory: -ctest -T test -R w3c_testsuite/XQuery +ctest -T test -R w3c_testsuite/XQuery or ctest -T test -R w3c_testsuite/XQueryX -ctest -T test -R w3c_full_text_testsuite/XQuery +ctest -T test -R w3c_full_text_testsuite/XQuery or ctest -T test -R w3c_full_text_testsuite/XQueryX +or, *ONLY* for XQTS you can use the testdriver_mt to do the testing: + +from the build/test/rbkt execute +./testdriver_mt -b w3c_testsuite/XQuery -w3c or +./testdriver_mt -b w3c_testsuite/XQueryX -w3c + 3. From this directory (test/rbkt/Scripts/w3c), modify generate-submission-xqts.xq/generate-submission-xqftts.xq to reflect: === modified file 'test/rbkt/Scripts/w3c/Submit_xqts.cmake' --- test/rbkt/Scripts/w3c/Submit_xqts.cmake 2011-07-29 06:36:14 + +++ test/rbkt/Scripts/w3c/Submit_xqts.cmake 2011-10-25 06:13:08 + @@ -25,12 +25,30 @@ message (FATAL_ERROR Zorba is required; not found. Specify -DZORBA_BUILD_DIR to point to your build directory if necessary.) endif () -# Read most recent CTest tag -file (STRINGS ${builddir}/Testing/TAG _tag_content) -list (GET _tag_content 0 ctest_tag) -set (testfile ${builddir}/Testing/${ctest_tag}/Test.xml) - -# Execute Zorba -execute_process (COMMAND ${zorba} --omit-xml-declaration --indent - --query ${cwd}/generate-submission-xqts.xq --as-files - -e ctests=${testfile}) +find_program(testdriver_mt NAMES testdriver_mt PATHS ${builddir} ${builddir}/release PATH_SUFFIXES test/rbkt) +if (testdriver_mt) + # Use the Test.xml generated by the testdriver_mt + set (testfile ${builddir}/Testing/Test.xml) + + if(testfile) +# Execute Zorba +execute_process (COMMAND ${zorba} --omit-xml-declaration --indent +--query ${cwd}/generate-submission-xqts.xq --as-files +-e ctests=${testfile}) + else() +message (FATAL_ERROR Testdriver_mt was found, but ${builddir}/Testing/Test.xml was not found: please run 'testdriver_mt -b w3c_testsuite -w3c' in order to generate the 'Test.xml' report first.) + endif () + +else () + # Read most recent CTest tag and find out the corresponding Test.xml + file (STRINGS ${builddir}/Testing/TAG _tag_content) + list (GET _tag_content 0 ctest_tag) + set (testfile ${builddir}/Testing/${ctest_tag}/Test.xml) + # MESSAGE(STATUS using testresults from: ${testfile}) + + # Execute Zorba + execute_process (COMMAND ${zorba} --omit-xml-declaration --indent + --query ${cwd}/generate-submission-xqts.xq --as-files + -e ctests=${testfile}) + +endif () === modified file 'test/rbkt/Scripts/w3c/generate-submission-xqftts.xq' --- test/rbkt/Scripts/w3c/generate-submission-xqftts.xq 2011-10-07 08:28:43 + +++ test/rbkt/Scripts/w3c/generate-submission-xqftts.xq 2011-10-25 06:13:08 + @@ -72,6 +72,7 @@ { for $test in $ctests/*:Site/*:Testing/*:Test let $testname := fn:tokenize(fn:data($test/*:Name), /)[last()] + order by $testname return test-case name={$testname} === modified file 'test/rbkt/Scripts/w3c/generate-submission-xqts.xq' --- test/rbkt/Scripts/w3c/generate-submission-xqts.xq 2011-10-07 08:28:43 + +++ test/rbkt/Scripts/w3c/generate-submission-xqts.xq 2011-10-25 06:13:08 + @@ -64,6 +64,7 @@ { for $test in $ctests/*:Site/*:Testing/*:Test let $testname := fn:tokenize(fn:data($test/*:Name), /)[last()] + order by $testname return
[Zorba-coders] [Merge] lp:~zorba-coders/zorba/conformance_reports_generation into lp:zorba
Sorin Marian Nasoi has proposed merging lp:~zorba-coders/zorba/conformance_reports_generation into lp:zorba. Requested reviews: Chris Hillery (ceejatec) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/conformance_reports_generation/+merge/80297 Added testdriver_mt as a option for generating the w3c_testsuite results for W3C. Also the tests are sorted by name in the XML conformance results in order to make the diffs more readable. -- https://code.launchpad.net/~zorba-coders/zorba/conformance_reports_generation/+merge/80297 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'test/rbkt/Scripts/w3c/Readme.txt' --- test/rbkt/Scripts/w3c/Readme.txt 2011-07-29 21:49:28 + +++ test/rbkt/Scripts/w3c/Readme.txt 2011-10-25 06:33:27 + @@ -14,19 +14,28 @@ # To generate a report for submitting to the W3C: -0. For submitting reports to W3C one should compile Zorba with ZORBA_WITH_BIG_INTEGER=ON. -In order to generate the report for XQueryX compile Zorba by setting: -ZORBA_XQUERYX=ON and ZORBA_TEST_XQUERYX=ON. These options are set to OFF by default. +0. For submitting reports to W3C one should compile Zorba with: +ZORBA_WITH_BIG_INTEGER=ON +ZORBA_XQUERYX=ON +ZORBA_TEST_XQUERYX=ON +All these options are set to OFF by default. 1. Import XQTS/XQFTTS. -2. Run a CTest dashboard from your build directory: +2. Use the testdriver to do the testing. +Run a CTest dashboard from your build directory: -ctest -T test -R w3c_testsuite/XQuery +ctest -T test -R w3c_testsuite/XQuery or ctest -T test -R w3c_testsuite/XQueryX -ctest -T test -R w3c_full_text_testsuite/XQuery +ctest -T test -R w3c_full_text_testsuite/XQuery or ctest -T test -R w3c_full_text_testsuite/XQueryX +or, *ONLY* for XQTS you can use the testdriver_mt to do the testing: + +from the build/test/rbkt execute +./testdriver_mt -b w3c_testsuite/XQuery -w3c or +./testdriver_mt -b w3c_testsuite/XQueryX -w3c + 3. From this directory (test/rbkt/Scripts/w3c), modify generate-submission-xqts.xq/generate-submission-xqftts.xq to reflect: === modified file 'test/rbkt/Scripts/w3c/Submit_xqts.cmake' --- test/rbkt/Scripts/w3c/Submit_xqts.cmake 2011-07-29 06:36:14 + +++ test/rbkt/Scripts/w3c/Submit_xqts.cmake 2011-10-25 06:33:27 + @@ -25,12 +25,30 @@ message (FATAL_ERROR Zorba is required; not found. Specify -DZORBA_BUILD_DIR to point to your build directory if necessary.) endif () -# Read most recent CTest tag -file (STRINGS ${builddir}/Testing/TAG _tag_content) -list (GET _tag_content 0 ctest_tag) -set (testfile ${builddir}/Testing/${ctest_tag}/Test.xml) - -# Execute Zorba -execute_process (COMMAND ${zorba} --omit-xml-declaration --indent - --query ${cwd}/generate-submission-xqts.xq --as-files - -e ctests=${testfile}) +find_program(testdriver_mt NAMES testdriver_mt PATHS ${builddir} ${builddir}/release PATH_SUFFIXES test/rbkt) +if (testdriver_mt) + # Use the Test.xml generated by the testdriver_mt + set (testfile ${builddir}/Testing/Test.xml) + + if(testfile) +# Execute Zorba +execute_process (COMMAND ${zorba} --omit-xml-declaration --indent +--query ${cwd}/generate-submission-xqts.xq --as-files +-e ctests=${testfile}) + else() +message (FATAL_ERROR Testdriver_mt was found, but ${builddir}/Testing/Test.xml was not found: please run 'testdriver_mt -b w3c_testsuite -w3c' in order to generate the 'Test.xml' report first.) + endif () + +else () + # Read most recent CTest tag and find out the corresponding Test.xml + file (STRINGS ${builddir}/Testing/TAG _tag_content) + list (GET _tag_content 0 ctest_tag) + set (testfile ${builddir}/Testing/${ctest_tag}/Test.xml) + # MESSAGE(STATUS using testresults from: ${testfile}) + + # Execute Zorba + execute_process (COMMAND ${zorba} --omit-xml-declaration --indent + --query ${cwd}/generate-submission-xqts.xq --as-files + -e ctests=${testfile}) + +endif () === modified file 'test/rbkt/Scripts/w3c/generate-submission-xqftts.xq' --- test/rbkt/Scripts/w3c/generate-submission-xqftts.xq 2011-10-07 08:28:43 + +++ test/rbkt/Scripts/w3c/generate-submission-xqftts.xq 2011-10-25 06:33:27 + @@ -72,6 +72,7 @@ { for $test in $ctests/*:Site/*:Testing/*:Test let $testname := fn:tokenize(fn:data($test/*:Name), /)[last()] + order by $testname return test-case name={$testname} === modified file 'test/rbkt/Scripts/w3c/generate-submission-xqts.xq' --- test/rbkt/Scripts/w3c/generate-submission-xqts.xq 2011-10-07 08:28:43 + +++ test/rbkt/Scripts/w3c/generate-submission-xqts.xq 2011-10-25 06:33:27 + @@ -64,6 +64,7 @@ { for $test in $ctests/*:Site/*:Testing/*:Test let $testname := fn:tokenize(fn:data($test/*:Name), /)[last()] + order by $testname return
Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/conformance_reports_generation into lp:zorba
1. It looks like your editor is still randomly changing whitespace on certain lines, resulting in extraneous diffs... I hope you can figure out what's causing that and disable it. My text editor had another default setting to 'Ensure consistent EOLs' with EOF set to LF. Problem fixed. 2. In testdriver_mt, would it be possible to create the XML results on-disk as you go, rather than collecting the results in a huge in-memory stringstream? The XML file is big, not huge. Considering that the results come for multiple threads the issue of synchronizing them in order to be able to open the result file, flush the result of a test and close the result file it's not worth it IMHO. 3. One problem in Submit_xqts.cmake: you have set (testfile ${builddir}/Testing/Test.xml) if(testfile) ... That will always be true. I think you meant if (EXISTS ${testfile}) Yes, thanks for pointing this out: issue fixed. 4. I also don't like that you had to duplicate the execute_process() call to Zorba. Couldn't you just set(testfile) in both branches of the if (testdriver_mt), and then move the execute_process() call after the endif()? Since you have a FATAL_ERROR if the Test.xml file isn't found, you don't have to worry about testfile being set to something bogus. Also fixed. -- https://code.launchpad.net/~zorba-coders/zorba/conformance_reports_generation/+merge/80297 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 882002] [NEW] fix fn-collection-2 test
Public bug reported: fn:collection spec has change the error condition from err:FODC0004 to err:FODC0002: An error is raised [err:FODC0002] if available collections provides no mapping for the absolutized URI. Please see http://www.w3.org/Bugs/Public/show_bug.cgi?id=12542 As a result: - Zorba has to change the error condition in this case - should not mark the test as a known failure due to a W3C bug - should remove the exception from the W3C conformance report that marks fn-collection-2 as passing ** Affects: zorba Importance: Medium Assignee: Sorin Marian Nasoi (sorin.marian.nasoi) Status: New ** Changed in: zorba Assignee: (unassigned) = Sorin Marian Nasoi (sorin.marian.nasoi) ** 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/882002 Title: fix fn-collection-2 test Status in Zorba - The XQuery Processor: New Bug description: fn:collection spec has change the error condition from err:FODC0004 to err:FODC0002: An error is raised [err:FODC0002] if available collections provides no mapping for the absolutized URI. Please see http://www.w3.org/Bugs/Public/show_bug.cgi?id=12542 As a result: - Zorba has to change the error condition in this case - should not mark the test as a known failure due to a W3C bug - should remove the exception from the W3C conformance report that marks fn-collection-2 as passing To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/882002/+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:~zorba-coders/zorba/bug_882002 into lp:zorba
Sorin Marian Nasoi has proposed merging lp:~zorba-coders/zorba/bug_882002 into lp:zorba. Requested reviews: Daniel Turcanu (danielturcanu) Related bugs: Bug #882002 in Zorba: fix fn-collection-2 test https://bugs.launchpad.net/zorba/+bug/882002 For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug_882002/+merge/80454 Fix for bug lp:882002: - changed the error thrown for W3C test fn-collection-2 according to the decision took by the W3C in http://www.w3.org/Bugs/Public/show_bug.cgi?id=12542 that is reflected in the latest XQuery 3.0 FO spec for fn:collection: An error is raised [err:FODC0002] if available collections provides no mapping for the absolutized URI. - added a new expected result for the RQ because it uses XQTS_1_0_3 where the expected error for this test is [err:FODC0004]. - removed the exception added for fn-collection-2 in the script that generates the conformance results for W3C -- https://code.launchpad.net/~zorba-coders/zorba/bug_882002/+merge/80454 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'src/runtime/collections/collections_impl.cpp' --- src/runtime/collections/collections_impl.cpp 2011-10-19 15:28:51 + +++ src/runtime/collections/collections_impl.cpp 2011-10-26 13:51:11 + @@ -161,7 +161,7 @@ if ( lCollResource == 0 || !(coll = lCollResource-getCollection()) ) { throw XQUERY_EXCEPTION( - err::FODC0004, + err::FODC0002, ERROR_PARAMS( resolvedURIString, lErrorMessage ), ERROR_LOC( loc ) ); === modified file 'test/rbkt/Queries/CMakeLists.txt' --- test/rbkt/Queries/CMakeLists.txt 2011-10-13 12:46:50 + +++ test/rbkt/Queries/CMakeLists.txt 2011-10-26 13:51:11 + @@ -201,7 +201,7 @@ ENDIF (ZORBATEST_TESTDRIVER_MT_AVAILABLE AND ZORBATEST_USE_MT_XQTS AND IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/w3c_testsuite) -SET(ZORBA_TEST_W3C_TO_SUBMIT_RESULTS OFF CACHE BOOL Bool var that says if w3c testing results are to be submited to w3c, or just for internal testing. If they are for internal testing then we can mark some failing tests as expected results.) +SET(ZORBA_TEST_W3C_TO_SUBMIT_RESULTS OFF CACHE BOOL Bool var that says if w3c testing results are to be submitted to w3c, or just for internal testing. If they are for internal testing then we can mark some failing tests as expected results.) MARK_AS_ADVANCED(ZORBA_TEST_W3C_TO_SUBMIT_RESULTS) @@ -230,6 +230,10 @@ EXPECTED_FAILURE (test/rbkt/w3c_testsuite/XQueryX/StaticTyping/STPathExpr/STSteps/STAxes/ST-Axes014 3355019) EXPECTED_FAILURE (test/rbkt/w3c_testsuite/XQueryX/StaticTyping/STPathExpr/STSteps/STAxes/ST-Axes015 3355019) ENDIF(ZORBA_TEST_XQUERYX) + + #this is marked as expected failure because the RQ uses XQTS_1_0_3. In that version the expected result is err:FODC0004 instead of err:FODC0002. + #W3C has changed the expected result for this test in the meantime: please see http://www.w3.org/Bugs/Public/show_bug.cgi?id=12542 + EXPECTED_FAILURE (test/rbkt/w3c_testsuite/XQuery/Functions/NodeSeqFunc/SeqCollectionFunc/fn-collection-2 882002) ENDIF (FOUND_XQTS AND NOT ZORBA_TEST_W3C_TO_SUBMIT_RESULTS) === modified file 'test/rbkt/Queries/w3c_known_failures.txt' --- test/rbkt/Queries/w3c_known_failures.txt 2011-10-13 12:46:50 + +++ test/rbkt/Queries/w3c_known_failures.txt 2011-10-26 13:51:11 + @@ -69,6 +69,7 @@ test/rbkt/w3c_testsuite/XQuery/Functions/AllStringFunc/MatchStringFunc/MatchesFunc/caselessmatch10 test/rbkt/w3c_testsuite/XQuery/Functions/AllStringFunc/MatchStringFunc/MatchesFunc/K2-MatchesFunc-6 test/rbkt/w3c_testsuite/XQuery/Functions/AllStringFunc/MatchStringFunc/MatchesFunc/caselessmatch09 +test/rbkt/w3c_testsuite/XQuery/Functions/NodeSeqFunc/SeqCollectionFunc/fn-collection-2 test/rbkt/w3c_testsuite/XQuery/Functions/HigherOrder/Map/map-004 test/rbkt/w3c_testsuite/XQuery/Functions/HigherOrder/Map/map-903 test/rbkt/w3c_testsuite/XQuery/Functions/HigherOrder/Map/map-007 === modified file 'test/rbkt/Scripts/w3c/generate-submission-xqts.xq' --- test/rbkt/Scripts/w3c/generate-submission-xqts.xq 2011-10-07 08:28:43 + +++ test/rbkt/Scripts/w3c/generate-submission-xqts.xq 2011-10-26 13:51:11 + @@ -83,12 +83,6 @@ result=pass comment=Opened W3C bug #11584. / - else if($testname = 'fn-collection-2')then - test-case - name={$testname} - result=pass - comment=Opened W3C bug #12542. -/ else test-case name={$testname} -- 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:~zorba-coders/zorba/bug_872502 into lp:zorba
Sorin Marian Nasoi has proposed merging lp:~zorba-coders/zorba/bug_872502 into lp:zorba. Requested reviews: Matthias Brantner (matthias-brantner) Related bugs: Bug #872502 in Zorba: validation of the JSON module xqdoc fails https://bugs.launchpad.net/zorba/+bug/872502 For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug_872502/+merge/80463 Fix for bug lp:872502: - in the case where library modules were using external C++ library dependencies (like it was the case with the reported Json module) the XQDoc XML generated by Zorba was not valid according to the XQDoc schema: this was fixed. - also the XQDoc2XHTML generator was updated to reflect this change - added 2 tests but I used a module part of the Zorba core (http://www.zorba-xquery.com/modules/http-client) that has an external C++ library dependency on Curl -- https://code.launchpad.net/~zorba-coders/zorba/bug_872502/+merge/80463 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'modules/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq' --- modules/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq 2011-10-19 05:09:31 + +++ modules/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq 2011-10-26 15:15:29 + @@ -1154,7 +1154,7 @@ : @return the XHTML for the module annotations. :) declare %private function xqdoc2html:annotations-module($comment) { - let $annotations := $comment/xqdoc:*[not((local-name(.) = (description, param, return, error, deprecated, see, library, project, custom)))] + let $annotations := $comment/xqdoc:*[not((local-name(.) = (description, param, return, error, deprecated, see, project, custom)))] return for $annotation in $annotations let $annName := local-name($annotation) @@ -1195,7 +1195,7 @@ declare %private function xqdoc2html:module-dependencies( $xqdoc) { if (fn:count($xqdoc/xqdoc:imports/xqdoc:import) 0 or - fn:count($xqdoc/xqdoc:module/xqdoc:comment/xqdoc:*[(local-name(.) = (library))]) 0) then + fn:count($xqdoc/xqdoc:module/xqdoc:comment/xqdoc:custom[@tag=library]) 0) then (div class=sectionspan id=module_dependenciesModule Dependencies/span/div, xqdoc2html:imports($xqdoc)) else @@ -1238,10 +1238,10 @@ } /ul/p else (), - if (fn:count($xqdoc/xqdoc:module/xqdoc:comment/xqdoc:*[(local-name(.) = (library))]) 0) then + if (fn:count($xqdoc/xqdoc:module/xqdoc:comment/xqdoc:custom[@tag=library]) 0) then pExternal C++ library dependencies:ul { - for $library in $xqdoc/xqdoc:module/xqdoc:comment/xqdoc:*[(local-name(.) = (library))] + for $library in $xqdoc/xqdoc:module/xqdoc:comment/xqdoc:custom[@tag=library] return li{$library/node()}/li } === modified file 'src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp' --- src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp 2011-08-11 19:09:24 + +++ src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp 2011-10-26 15:15:29 + @@ -338,7 +338,7 @@ // library for (lIt = lLibraryAnn.begin(); lIt != lLibraryAnn.end(); ++lIt) { const XQDocAnnotation lAnnotation = *lIt; - printCommentFragment(lCommentElem, lAnnotation.getValue().str(), library); + printCommentFragment(lCommentElem, lAnnotation.getValue().str(), library, true); } // example === added file 'test/rbkt/ExpQueryResults/zorba/schemas/validate_xqdoc_01.xml.res' --- test/rbkt/ExpQueryResults/zorba/schemas/validate_xqdoc_01.xml.res 1970-01-01 00:00:00 + +++ test/rbkt/ExpQueryResults/zorba/schemas/validate_xqdoc_01.xml.res 2011-10-26 15:15:29 + @@ -0,0 +1,1 @@ +true === added file 'test/rbkt/ExpQueryResults/zorba/schemas/validate_xqdoc_02.xml.res' --- test/rbkt/ExpQueryResults/zorba/schemas/validate_xqdoc_02.xml.res 1970-01-01 00:00:00 + +++ test/rbkt/ExpQueryResults/zorba/schemas/validate_xqdoc_02.xml.res 2011-10-26 15:15:29 + @@ -0,0 +1,1 @@ +true === added file 'test/rbkt/Queries/zorba/schemas/validate_xqdoc_01.xq' --- test/rbkt/Queries/zorba/schemas/validate_xqdoc_01.xq 1970-01-01 00:00:00 + +++ test/rbkt/Queries/zorba/schemas/validate_xqdoc_01.xq 2011-10-26 15:15:29 + @@ -0,0 +1,4 @@ +import module namespace x = http://www.zorba-xquery.com/modules/xqdoc;; +import schema namespace xqds = http://www.xqdoc.org/1.0;; + +exists(validate lax { x:xqdoc(http://www.zorba-xquery.com/modules/http-client;) }) === added file 'test/rbkt/Queries/zorba/schemas/validate_xqdoc_02.xq' --- test/rbkt/Queries/zorba/schemas/validate_xqdoc_02.xq 1970-01-01 00:00:00 + +++ test/rbkt/Queries/zorba/schemas/validate_xqdoc_02.xq 2011-10-26 15:15:29 + @@ -0,0 +1,4 @@ +import module namespace x = http://www.zorba-xquery.com/modules/xqdoc;; +import schema namespace xqds = http://www.xqdoc.org/1.0;; + +exists(validate { x:xqdoc(http://www.zorba-xquery.com/modules/http-client;) }) -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe
[Zorba-coders] [Bug 882002] Re: fix fn-collection-2 test
** Changed in: zorba Status: New = Fix Committed -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/882002 Title: fix fn-collection-2 test Status in Zorba - The XQuery Processor: Fix Committed Bug description: fn:collection spec has change the error condition from err:FODC0004 to err:FODC0002: An error is raised [err:FODC0002] if available collections provides no mapping for the absolutized URI. Please see http://www.w3.org/Bugs/Public/show_bug.cgi?id=12542 As a result: - Zorba has to change the error condition in this case - should not mark the test as a known failure due to a W3C bug - should remove the exception from the W3C conformance report that marks fn-collection-2 as passing To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/882002/+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 872502] Re: validation of the JSON module xqdoc fails
** Changed in: zorba Status: New = Fix Committed -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/872502 Title: validation of the JSON module xqdoc fails Status in Zorba - The XQuery Processor: Fix Committed Bug description: The result of the following two queries don't validate against the xqdoc schema. Query 1: import module namespace x = http://www.zorba-xquery.com/modules/xqdoc;; import schema namespace xqds = http://www.xqdoc.org/1.0;; validate lax { x:xqdoc(http://www.zorba- xquery.com/modules/converters/json) } Error: Schema validation failed: no declaration found for element 'xqdoc:library' Query 2: import module namespace x = http://www.zorba-xquery.com/modules/xqdoc;; import schema namespace xqds = http://www.xqdoc.org/1.0;; validate { x:xqdoc(http://www.zorba- xquery.com/modules/converters/json) } Error: Schema validation failed: element 'description' is not allowed for content model '(description?,author*,version?,param*,return?,error*,deprecated?,see*,since*,custom*)' To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/872502/+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 872732] Re: K2-NamespaceURIForPrefixFunc-2 test fails
** Changed in: zorba Status: Fix Committed = 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/872732 Title: K2-NamespaceURIForPrefixFunc-2 test fails Status in Zorba - The XQuery Processor: Fix Released Bug description: this is the ctest output: test w3c_testsuite/XQuery/Functions/QNameFunc/NamespaceURIForPrefixFunc/K2-NamespaceURIForPrefixFunc-2 === Query: === (:***:) (: Test: K2-NamespaceURIForPrefixFunc-2 :) (: Written by: Frans Englich :) (: Date: 2007-11-22T11:31:21+01:00 :) (: Purpose: Test that the correct default namespace is picked up(#2). :) (:***:) namespace-uri-for-prefix(, exactly-one(e xmlns=http://www.example.com/A; xmlns:A=http://www.example.com/C; b xmlns:B=http://www.example.com/C; xmlns=/ /e/b)) eq === end of Query === === Result: === true === 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: roottrue/root Reference Canonical Result: root/root See line 1, col 6 of expected result. Actual: roottrue/root Expected: root/root testdriver: canonical result for reference result # 1 doesn't match. testdriver: none of the reference results matched To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/872732/+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 867272] Re: data-cleaning bug with regex
the line is in fact 94 not 95, the error is: FORX002 invalid regular expression: G(N(ED)?)^ invalid character for an atom The tests that fail on Daniel's branch no_unicode https://code.launchpad.net/~zorba-coders/zorba/no_unicode And looking over that specific regex I would assume you wanted to G(N(ED)?)$ ? -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867272 Title: data-cleaning bug with regex Status in Zorba - The XQuery Processor: New Bug description: Regex_ascii raises error about a character in a regex in phonetic-string-similarity.xq:95. The character '^' is not allowed there. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867272/+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 867230] Re: unit-convert test should not hit the web
The test is now passing indeed but this is part of the continuous Zorba testing infrastructure. At one point the GPS coordibates returned for this test contained more decimals than the expected result and this cause the test to fail. Instead of the expected result: 38.725735 -9.15021 something like this was returned: 38.72573501 -9.1502110 In order to avoid such problems in the future, could we change the test such that the decimals does not count? For instance we could cast the returned values to xs:integer, what do you think? -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867230 Title: unit-convert test should not hit the web Status in Zorba - The XQuery Processor: New Bug description: The unit-conversion data-cleaning library uses a web service. Currently that web service isn't responding, leading to remote queue delays and failures, so I have disabled the test on the remote queue. IMHO this library should not require the web, at least for a decent set of well-known units (the test case in question is converting miles to kilometers). To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867230/+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/conformance_reports_generation into lp:zorba
Review: Approve Reviewed and approved. -- https://code.launchpad.net/~zorba-coders/zorba/conformance_reports_generation/+merge/80297 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:~zorba-coders/zorba/conformance_reports_generation into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/conformance_reports_generation into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/conformance_reports_generation/+merge/80297 -- https://code.launchpad.net/~zorba-coders/zorba/conformance_reports_generation/+merge/80297 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:~zorba-coders/zorba/bug_882002 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/bug_882002 into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug_882002/+merge/80454 -- https://code.launchpad.net/~zorba-coders/zorba/bug_882002/+merge/80454 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:~zorba-coders/zorba/bug_872502 into lp:zorba
Review: Approve Added the change to the Changelog. Also approved the changes. -- https://code.launchpad.net/~zorba-coders/zorba/bug_872502/+merge/80463 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 872502] Re: validation of the JSON module xqdoc fails
** Changed in: zorba Status: Fix Committed = 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/872502 Title: validation of the JSON module xqdoc fails Status in Zorba - The XQuery Processor: Fix Released Bug description: The result of the following two queries don't validate against the xqdoc schema. Query 1: import module namespace x = http://www.zorba-xquery.com/modules/xqdoc;; import schema namespace xqds = http://www.xqdoc.org/1.0;; validate lax { x:xqdoc(http://www.zorba- xquery.com/modules/converters/json) } Error: Schema validation failed: no declaration found for element 'xqdoc:library' Query 2: import module namespace x = http://www.zorba-xquery.com/modules/xqdoc;; import schema namespace xqds = http://www.xqdoc.org/1.0;; validate { x:xqdoc(http://www.zorba- xquery.com/modules/converters/json) } Error: Schema validation failed: element 'description' is not allowed for content model '(description?,author*,version?,param*,return?,error*,deprecated?,see*,since*,custom*)' To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/872502/+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 882002] Re: fix fn-collection-2 test
** Changed in: zorba Status: Fix Committed = 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/882002 Title: fix fn-collection-2 test Status in Zorba - The XQuery Processor: Fix Released Bug description: fn:collection spec has change the error condition from err:FODC0004 to err:FODC0002: An error is raised [err:FODC0002] if available collections provides no mapping for the absolutized URI. Please see http://www.w3.org/Bugs/Public/show_bug.cgi?id=12542 As a result: - Zorba has to change the error condition in this case - should not mark the test as a known failure due to a W3C bug - should remove the exception from the W3C conformance report that marks fn-collection-2 as passing To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/882002/+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 867107] Re: xqdoc dependency to zorba is wrong
** Changed in: zorba Assignee: David Graf (david-graf) = Sorin Marian Nasoi (sorin.marian.nasoi) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867107 Title: xqdoc dependency to zorba is wrong Status in Zorba - The XQuery Processor: New Bug description: Hello Sorin I guess you are the right guy for this: Today, I tried to execute 'make xqdoc' on a clean build. Unfortunately, it doesn't work because 'make xqdoc' is not dependent on zorba-cmd. Thus, I got the following error msg: [100%] Building XQDoc XML documentation for the modules... /bin/sh: ../../../bin/zorba: not found make[3]: *** [doc/zorba/xqdoc/CMakeFiles/xqdoc-xml] Error 127 make[2]: *** [doc/zorba/xqdoc/CMakeFiles/xqdoc-xml.dir/all] Error 2 make[1]: *** [doc/zorba/xqdoc/CMakeFiles/xqdoc.dir/rule] Error 2 I though I can fix it be doing the following: Index: doc/zorba/xqdoc/CMakeLists.txt === --- doc/zorba/xqdoc/CMakeLists.txt (revision 2) +++ doc/zorba/xqdoc/CMakeLists.txt (working copy) @@ -51,7 +51,7 @@ COMMENT Building XQDoc XML documentation for the modules... ) #SET_TARGET_PROPERTIES(xqdoc-xml PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD 1) - ADD_DEPENDENCIES(xqdoc-xml zorba_simplestore) + ADD_DEPENDENCIES(xqdoc-xml zorbacmd_simplestore) ADD_CUSTOM_TARGET(xqdoc ${ZORBA_EXE_SCRIPT} Index: cmake_modules/ZorbaModule.cmake === --- cmake_modules/ZorbaModule.cmake (revision 2) +++ cmake_modules/ZorbaModule.cmake (working copy) @@ -543,7 +543,7 @@ ) #SET_TARGET_PROPERTIES(xqdoc-xml-${PROJECT_NAME} PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD 1) IF(TARGET xqdoc-xml) -ADD_DEPENDENCIES(xqdoc-xml-${PROJECT_NAME} zorba_simplestore) +ADD_DEPENDENCIES(xqdoc-xml-${PROJECT_NAME} zorbacmd_simplestore) ADD_DEPENDENCIES(xqdoc-xml-${PROJECT_NAME} xqdoc-xml) ADD_DEPENDENCIES(xqdoc xqdoc-xml-${PROJECT_NAME}) ENDIF(TARGET xqdoc-xml) But it doesn't help. Can you take a look into it? Thanks David To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867107/+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:~zorba-coders/zorba/bug_867107 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/bug_867107 into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug_867107/+merge/81956 -- https://code.launchpad.net/~zorba-coders/zorba/bug_867107/+merge/81956 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 867107] Re: xqdoc dependency to zorba is wrong
** Changed in: zorba Status: New = Fix Committed -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867107 Title: xqdoc dependency to zorba is wrong Status in Zorba - The XQuery Processor: Fix Committed Bug description: Hello Sorin I guess you are the right guy for this: Today, I tried to execute 'make xqdoc' on a clean build. Unfortunately, it doesn't work because 'make xqdoc' is not dependent on zorba-cmd. Thus, I got the following error msg: [100%] Building XQDoc XML documentation for the modules... /bin/sh: ../../../bin/zorba: not found make[3]: *** [doc/zorba/xqdoc/CMakeFiles/xqdoc-xml] Error 127 make[2]: *** [doc/zorba/xqdoc/CMakeFiles/xqdoc-xml.dir/all] Error 2 make[1]: *** [doc/zorba/xqdoc/CMakeFiles/xqdoc.dir/rule] Error 2 I though I can fix it be doing the following: Index: doc/zorba/xqdoc/CMakeLists.txt === --- doc/zorba/xqdoc/CMakeLists.txt (revision 2) +++ doc/zorba/xqdoc/CMakeLists.txt (working copy) @@ -51,7 +51,7 @@ COMMENT Building XQDoc XML documentation for the modules... ) #SET_TARGET_PROPERTIES(xqdoc-xml PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD 1) - ADD_DEPENDENCIES(xqdoc-xml zorba_simplestore) + ADD_DEPENDENCIES(xqdoc-xml zorbacmd_simplestore) ADD_CUSTOM_TARGET(xqdoc ${ZORBA_EXE_SCRIPT} Index: cmake_modules/ZorbaModule.cmake === --- cmake_modules/ZorbaModule.cmake (revision 2) +++ cmake_modules/ZorbaModule.cmake (working copy) @@ -543,7 +543,7 @@ ) #SET_TARGET_PROPERTIES(xqdoc-xml-${PROJECT_NAME} PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD 1) IF(TARGET xqdoc-xml) -ADD_DEPENDENCIES(xqdoc-xml-${PROJECT_NAME} zorba_simplestore) +ADD_DEPENDENCIES(xqdoc-xml-${PROJECT_NAME} zorbacmd_simplestore) ADD_DEPENDENCIES(xqdoc-xml-${PROJECT_NAME} xqdoc-xml) ADD_DEPENDENCIES(xqdoc xqdoc-xml-${PROJECT_NAME}) ENDIF(TARGET xqdoc-xml) But it doesn't help. Can you take a look into it? Thanks David To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867107/+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:~zorba-coders/zorba/bug_867107 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/bug_867107 into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug_867107/+merge/81956 -- https://code.launchpad.net/~zorba-coders/zorba/bug_867107/+merge/81956 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 867107] Re: xqdoc dependency to zorba is wrong
** Changed in: zorba Status: Fix Committed = 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/867107 Title: xqdoc dependency to zorba is wrong Status in Zorba - The XQuery Processor: Fix Released Bug description: Hello Sorin I guess you are the right guy for this: Today, I tried to execute 'make xqdoc' on a clean build. Unfortunately, it doesn't work because 'make xqdoc' is not dependent on zorba-cmd. Thus, I got the following error msg: [100%] Building XQDoc XML documentation for the modules... /bin/sh: ../../../bin/zorba: not found make[3]: *** [doc/zorba/xqdoc/CMakeFiles/xqdoc-xml] Error 127 make[2]: *** [doc/zorba/xqdoc/CMakeFiles/xqdoc-xml.dir/all] Error 2 make[1]: *** [doc/zorba/xqdoc/CMakeFiles/xqdoc.dir/rule] Error 2 I though I can fix it be doing the following: Index: doc/zorba/xqdoc/CMakeLists.txt === --- doc/zorba/xqdoc/CMakeLists.txt (revision 2) +++ doc/zorba/xqdoc/CMakeLists.txt (working copy) @@ -51,7 +51,7 @@ COMMENT Building XQDoc XML documentation for the modules... ) #SET_TARGET_PROPERTIES(xqdoc-xml PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD 1) - ADD_DEPENDENCIES(xqdoc-xml zorba_simplestore) + ADD_DEPENDENCIES(xqdoc-xml zorbacmd_simplestore) ADD_CUSTOM_TARGET(xqdoc ${ZORBA_EXE_SCRIPT} Index: cmake_modules/ZorbaModule.cmake === --- cmake_modules/ZorbaModule.cmake (revision 2) +++ cmake_modules/ZorbaModule.cmake (working copy) @@ -543,7 +543,7 @@ ) #SET_TARGET_PROPERTIES(xqdoc-xml-${PROJECT_NAME} PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD 1) IF(TARGET xqdoc-xml) -ADD_DEPENDENCIES(xqdoc-xml-${PROJECT_NAME} zorba_simplestore) +ADD_DEPENDENCIES(xqdoc-xml-${PROJECT_NAME} zorbacmd_simplestore) ADD_DEPENDENCIES(xqdoc-xml-${PROJECT_NAME} xqdoc-xml) ADD_DEPENDENCIES(xqdoc xqdoc-xml-${PROJECT_NAME}) ENDIF(TARGET xqdoc-xml) But it doesn't help. Can you take a look into it? Thanks David To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867107/+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 867107] Re: xqdoc dependency to zorba is wrong
** Changed in: zorba Status: Fix Released = Fix Committed -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867107 Title: xqdoc dependency to zorba is wrong Status in Zorba - The XQuery Processor: Fix Committed Bug description: Hello Sorin I guess you are the right guy for this: Today, I tried to execute 'make xqdoc' on a clean build. Unfortunately, it doesn't work because 'make xqdoc' is not dependent on zorba-cmd. Thus, I got the following error msg: [100%] Building XQDoc XML documentation for the modules... /bin/sh: ../../../bin/zorba: not found make[3]: *** [doc/zorba/xqdoc/CMakeFiles/xqdoc-xml] Error 127 make[2]: *** [doc/zorba/xqdoc/CMakeFiles/xqdoc-xml.dir/all] Error 2 make[1]: *** [doc/zorba/xqdoc/CMakeFiles/xqdoc.dir/rule] Error 2 I though I can fix it be doing the following: Index: doc/zorba/xqdoc/CMakeLists.txt === --- doc/zorba/xqdoc/CMakeLists.txt (revision 2) +++ doc/zorba/xqdoc/CMakeLists.txt (working copy) @@ -51,7 +51,7 @@ COMMENT Building XQDoc XML documentation for the modules... ) #SET_TARGET_PROPERTIES(xqdoc-xml PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD 1) - ADD_DEPENDENCIES(xqdoc-xml zorba_simplestore) + ADD_DEPENDENCIES(xqdoc-xml zorbacmd_simplestore) ADD_CUSTOM_TARGET(xqdoc ${ZORBA_EXE_SCRIPT} Index: cmake_modules/ZorbaModule.cmake === --- cmake_modules/ZorbaModule.cmake (revision 2) +++ cmake_modules/ZorbaModule.cmake (working copy) @@ -543,7 +543,7 @@ ) #SET_TARGET_PROPERTIES(xqdoc-xml-${PROJECT_NAME} PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD 1) IF(TARGET xqdoc-xml) -ADD_DEPENDENCIES(xqdoc-xml-${PROJECT_NAME} zorba_simplestore) +ADD_DEPENDENCIES(xqdoc-xml-${PROJECT_NAME} zorbacmd_simplestore) ADD_DEPENDENCIES(xqdoc-xml-${PROJECT_NAME} xqdoc-xml) ADD_DEPENDENCIES(xqdoc xqdoc-xml-${PROJECT_NAME}) ENDIF(TARGET xqdoc-xml) But it doesn't help. Can you take a look into it? Thanks David To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867107/+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 897616] [NEW] Fix the generation of the XQFTTS report results for W3C
Public bug reported: There is an error in the generate-submission-xqftts.xq: line 57 should be deleted because it was replaced by lines 50:56. This causes an error in the conformance reports generation. ** Affects: zorba Importance: Low Assignee: Sorin Marian Nasoi (sorin.marian.nasoi) Status: New -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/897616 Title: Fix the generation of the XQFTTS report results for W3C Status in Zorba - The XQuery Processor: New Bug description: There is an error in the generate-submission-xqftts.xq: line 57 should be deleted because it was replaced by lines 50:56. This causes an error in the conformance reports generation. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/897616/+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:~zorba-coders/zorba/bug_897619 into lp:zorba
Sorin Marian Nasoi has proposed merging lp:~zorba-coders/zorba/bug_897619 into lp:zorba. Requested reviews: Sorin Marian Nasoi (sorin.marian.nasoi) Markos Zaharioudakis (markos-za) Related bugs: Bug #897619 in Zorba: testdriver_mt can not run the XQueryX tests https://bugs.launchpad.net/zorba/+bug/897619 For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug_897619/+merge/83759 Fix for bug #897619. -- https://code.launchpad.net/~zorba-coders/zorba/bug_897619/+merge/83759 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'ChangeLog' --- ChangeLog 2011-11-23 22:25:05 + +++ ChangeLog 2011-11-29 11:22:28 + @@ -72,6 +72,7 @@ * Fixed bug #862089 (Split binary/xq install directories for modules) by splitting module path into separate URI and Library paths * Fixed bug #872502 (validation of the JSON module xqdoc fails) + * Fixed bug #897619 (testdriver_mt can not run the XQueryX tests) * Fixed bug #867107 (xqdoc dependency to zorba is wrong) version 2.0.3 === modified file 'test/rbkt/testdriver_mt.cpp' --- test/rbkt/testdriver_mt.cpp 2011-10-25 08:59:34 + +++ test/rbkt/testdriver_mt.cpp 2011-11-29 11:22:28 + @@ -732,6 +732,7 @@ std::string reportFilepath; std::string XMLreportFilepath; std::string knownFailuresFilepath; + std::string testExtension = .xq; bool haveKnownFailures = false; bool quiet = false; bool generateW3CData = false; @@ -860,7 +861,10 @@ { ulong pos; if ((pos = refsDir.find(XQueryX)) != std::string::npos) + { refsDir = refsDir.erase(pos, 8); + testExtension = .xqx; + } else if ((pos = refsDir.find(XQuery)) != std::string::npos) refsDir = refsDir.erase(pos, 7); } @@ -924,7 +928,7 @@ continue; } - if (fs::extension(queryPath) != .xq) + if (fs::extension(queryPath) != testExtension) { //std::cerr Found no-query file queryPath.string() std::endl; continue; -- 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:~zorba-coders/zorba/bug_897619 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/bug_897619 into lp:zorba has been updated. Commit Message changed to: Fix for bug #897619. For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug_897619/+merge/83759 -- https://code.launchpad.net/~zorba-coders/zorba/bug_897619/+merge/83759 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 898208] [NEW] building xqdoc on cmake 2.8
Public bug reported: A warning is raised if the xqdoc documentation is build without the file module. ZORBA_WITH_FILE_ACCESS is never defined for modules being built outside of Zorba. Also, the change is currently only working with CMake 2.8 because MESSAGE(WARNING only exists for CMake = 2.8. ** Affects: zorba Importance: High Assignee: Sorin Marian Nasoi (sorin.marian.nasoi) Status: New ** Description changed: - A warning is raised if the xqdoc documentation is build fithout the file + A warning is raised if the xqdoc documentation is build without the file module. ZORBA_WITH_FILE_ACCESS is never defined for modules being built outside of Zorba. Also, the change is currently only working with CMake 2.8 because - MESSAGE(WARNING only exists for CMake = 2.8. ) + MESSAGE(WARNING only exists for CMake = 2.8. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/898208 Title: building xqdoc on cmake 2.8 Status in Zorba - The XQuery Processor: New Bug description: A warning is raised if the xqdoc documentation is build without the file module. ZORBA_WITH_FILE_ACCESS is never defined for modules being built outside of Zorba. Also, the change is currently only working with CMake 2.8 because MESSAGE(WARNING only exists for CMake = 2.8. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/898208/+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:~zorba-coders/zorba/bug_900462 into lp:zorba/data-converters-module
Sorin Marian Nasoi has proposed merging lp:~zorba-coders/zorba/bug_900462 into lp:zorba/data-converters-module. Requested reviews: Sorin Marian Nasoi (sorin.marian.nasoi) Matthias Brantner (matthias-brantner) Related bugs: Bug #900462 in Zorba: json:serialize returns invalid json https://bugs.launchpad.net/zorba/+bug/900462 For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug_900462/+merge/84580 Fixed bug #900462 (json:serialize returns invalid json) -- https://code.launchpad.net/~zorba-coders/zorba/bug_900462/+merge/84580 Your team Zorba Coders is subscribed to branch lp:zorba/data-converters-module. === modified file 'src/com/zorba-xquery/www/modules/converters/CMakeLists.txt' --- src/com/zorba-xquery/www/modules/converters/CMakeLists.txt 2011-12-05 22:42:10 + +++ src/com/zorba-xquery/www/modules/converters/CMakeLists.txt 2011-12-06 08:13:26 + @@ -62,8 +62,6 @@ DECLARE_ZORBA_MODULE (URI http://www.zorba-xquery.com/modules/converters/json; VERSION 1.0 FILE json.xq LINK_LIBRARIES ${Jansson_LIBRARIES}) ADD_TEST_DIRECTORY (${PROJECT_SOURCE_DIR}/test_json) -EXPECTED_FAILURE(zorba_data-converters_module/converters/jansson/serialize_json_18.xq 900462) - IF(ZORBA_NO_UNICODE) SET_TESTS_PROPERTIES(zorba_data-converters_module/converters/jansson/parse_json_03.xq PROPERTIES WILL_FAIL TRUE) === modified file 'src/com/zorba-xquery/www/modules/converters/json.xq.src/jansson_wrapper.cpp' --- src/com/zorba-xquery/www/modules/converters/json.xq.src/jansson_wrapper.cpp 2011-10-06 07:40:17 + +++ src/com/zorba-xquery/www/modules/converters/json.xq.src/jansson_wrapper.cpp 2011-12-06 08:13:26 + @@ -473,8 +473,8 @@ aResultSs [; serialize_child(aElement, aResultSs, aErrorLogSs, object); - - if(!aErrorLogSs.str().empty()) + + if(aErrorLogSs.str().empty()) { if(lType == object) aResultSs }; -- 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 900462] Re: json:serialize returns invalid json
** Changed in: zorba Status: New = Fix Committed -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/900462 Title: json:serialize returns invalid json Status in Zorba - The XQuery Processor: Fix Committed Bug description: The json:serialize function returns syntactically incorrect json. For example, the existing test query serialize_json_18.xq fails because it's missing an ending curly '}' as follows: import module namespace json = http://www.zorba-xquery.com/modules/converters/json;; import schema namespace html-options=http://www.zorba-xquery.com/modules/converters/json-options;; declare variable $tmp := json type=objectpair name=phoneNumbers type=arrayitem type=string212 732-1234/itemitem type=string646 123-4567/item/pairpair name=firstName type=stringJohn/pairpair name=lastName type=stringSmith/pairpair name=address type=objectpair name=postalCode type=number10021/pairpair name=city type=stringNew York/pairpair name=streetAddress type=string21 2nd Street/pairpair name=state type=stringNY/pair/pair/json; json:serialize($tmp) Actual: root{phoneNumbers: [212 732-1234, 646 123-4567], firstName: John, lastName: Smith, address: {postalCode: 10021, city: New York, streetAddress: 21 2nd Street, state: NY}/root Expected: root{phoneNumbers: [212 732-1234, 646 123-4567], firstName: John, lastName: Smith, address: {postalCode: 10021, city: New York, streetAddress: 21 2nd Street, state: NY}} To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/900462/+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:~zorba-coders/zorba/bug_867198 into lp:zorba/data-converters-module
Sorin Marian Nasoi has proposed merging lp:~zorba-coders/zorba/bug_867198 into lp:zorba/data-converters-module. Requested reviews: Sorin Marian Nasoi (sorin.marian.nasoi) Carlos Manuel Lopez (charlie-lobo) Related bugs: Bug #867198 in Zorba: JSON converter module not proccesing strings with '' https://bugs.launchpad.net/zorba/+bug/867198 For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug_867198/+merge/84617 Fixed bug #867198. Also added 2 tests. -- https://code.launchpad.net/~zorba-coders/zorba/bug_867198/+merge/84617 Your team Zorba Coders is subscribed to branch lp:zorba/data-converters-module. === modified file 'src/com/zorba-xquery/www/modules/converters/json.xq.src/jansson_wrapper.cpp' --- src/com/zorba-xquery/www/modules/converters/json.xq.src/jansson_wrapper.cpp 2011-10-06 07:40:17 + +++ src/com/zorba-xquery/www/modules/converters/json.xq.src/jansson_wrapper.cpp 2011-12-06 14:25:25 + @@ -68,14 +68,16 @@ void replace_special_chars( std::string aValue) { - replace_all(aValue, \, \\\); //quotation mark - replace_all(aValue, \\, ); //reverse solidus - replace_all(aValue, /, \\/);//solidus - replace_all(aValue, \b, \\b ); //backspace - replace_all(aValue, \f, \\f ); //formfeed - replace_all(aValue, \n, \\n ); //new line - replace_all(aValue, \r, \\r ); //carriage return - replace_all(aValue, \t, \\t ); //horizontal tab + replace_all(aValue, \, \\\ ); //quotation mark + replace_all(aValue, \\, ); //reverse solidus + replace_all(aValue, / , \\/ ); //solidus + replace_all(aValue, \b, \\b ); //backspace + replace_all(aValue, \f, \\f ); //formfeed + replace_all(aValue, \n, \\n ); //new line + replace_all(aValue, \r, \\r ); //carriage return + replace_all(aValue, \t, \\t ); //horizontal tab + replace_all(aValue, , lt; ); // + replace_all(aValue, , gt; ); // } static void parse_Json_value( @@ -557,7 +559,7 @@ } default: { - zorba::String lType, lValue; + std::string lType, lValue; if(json_is_string(aValue)) { lType = string; @@ -591,6 +593,7 @@ else if(lParent.compare(object) == 0) { aSs lName =; +replace_special_chars(lValue); if(lType.compare(string) == 0) aSs \ lValue \; else === added file 'test_json/ExpQueryResults/converters/jansson/parse_json_12.xml.res' --- test_json/ExpQueryResults/converters/jansson/parse_json_12.xml.res 1970-01-01 00:00:00 + +++ test_json/ExpQueryResults/converters/jansson/parse_json_12.xml.res 2011-12-06 14:25:25 + @@ -0,0 +1,1 @@ +{html: lt;bgt;boldlt;\/bgt;} === added file 'test_json/ExpQueryResults/converters/jansson/parse_json_ml_06.xml.res' --- test_json/ExpQueryResults/converters/jansson/parse_json_ml_06.xml.res 1970-01-01 00:00:00 + +++ test_json/ExpQueryResults/converters/jansson/parse_json_ml_06.xml.res 2011-12-06 14:25:25 + @@ -0,0 +1,1 @@ +htmlbbold/b/html === added file 'test_json/Queries/converters/jansson/parse_json_12.xq' --- test_json/Queries/converters/jansson/parse_json_12.xq 1970-01-01 00:00:00 + +++ test_json/Queries/converters/jansson/parse_json_12.xq 2011-12-06 14:25:25 + @@ -0,0 +1,4 @@ +import module namespace json=http://www.zorba-xquery.com/modules/converters/json;; +declare variable $json-value := '{html:bbold/b}'; + +json:serialize(json:parse($json-value)) === added file 'test_json/Queries/converters/jansson/parse_json_ml_06.xq' --- test_json/Queries/converters/jansson/parse_json_ml_06.xq 1970-01-01 00:00:00 + +++ test_json/Queries/converters/jansson/parse_json_ml_06.xq 2011-12-06 14:25:25 + @@ -0,0 +1,7 @@ +import module namespace json = http://www.zorba-xquery.com/modules/converters/json;; +import schema namespace html-options=http://www.zorba-xquery.com/modules/converters/json-options;; + +json:parse('[html ,bbold/b]',options xmlns=http://www.zorba-xquery.com/modules/converters/json-options; + xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; + json-param name=mapping value=json-ml type=array/ +/options) -- 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/bug_867198 into lp:zorba/data-converters-module
Review: Approve Approved. -- https://code.launchpad.net/~zorba-coders/zorba/bug_867198/+merge/84617 Your team Zorba Coders is subscribed to branch lp:zorba/data-converters-module. -- 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 900462] Re: json:serialize returns invalid json
** Changed in: zorba Status: Fix Committed = In Progress -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/900462 Title: json:serialize returns invalid json Status in Zorba - The XQuery Processor: In Progress Bug description: The json:serialize function returns syntactically incorrect json. For example, the existing test query serialize_json_18.xq fails because it's missing an ending curly '}' as follows: import module namespace json = http://www.zorba-xquery.com/modules/converters/json;; import schema namespace html-options=http://www.zorba-xquery.com/modules/converters/json-options;; declare variable $tmp := json type=objectpair name=phoneNumbers type=arrayitem type=string212 732-1234/itemitem type=string646 123-4567/item/pairpair name=firstName type=stringJohn/pairpair name=lastName type=stringSmith/pairpair name=address type=objectpair name=postalCode type=number10021/pairpair name=city type=stringNew York/pairpair name=streetAddress type=string21 2nd Street/pairpair name=state type=stringNY/pair/pair/json; json:serialize($tmp) Actual: root{phoneNumbers: [212 732-1234, 646 123-4567], firstName: John, lastName: Smith, address: {postalCode: 10021, city: New York, streetAddress: 21 2nd Street, state: NY}/root Expected: root{phoneNumbers: [212 732-1234, 646 123-4567], firstName: John, lastName: Smith, address: {postalCode: 10021, city: New York, streetAddress: 21 2nd Street, state: NY}} To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/900462/+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 867120] Re: 13 xqueryx tests are not tested in XQueryX 3.0 conformance
** Changed in: zorba Importance: Medium = Low -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867120 Title: 13 xqueryx tests are not tested in XQueryX 3.0 conformance Status in Zorba - The XQuery Processor: New Bug description: Extended QNames (“uri”:local) Please see section 'XQuery 1.1 test cases' in http://www.zorba-xquery.org/dokuwiki/doku.php?id=conformance_xquery_3.0#conformance_xqueryx_3.0 To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867120/+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 900462] Re: json:serialize returns invalid json
Fixed is in the merge proposal. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/900462 Title: json:serialize returns invalid json Status in Zorba - The XQuery Processor: In Progress Bug description: The json:serialize function returns syntactically incorrect json. For example, the existing test query serialize_json_18.xq fails because it's missing an ending curly '}' as follows: import module namespace json = http://www.zorba-xquery.com/modules/converters/json;; import schema namespace html-options=http://www.zorba-xquery.com/modules/converters/json-options;; declare variable $tmp := json type=objectpair name=phoneNumbers type=arrayitem type=string212 732-1234/itemitem type=string646 123-4567/item/pairpair name=firstName type=stringJohn/pairpair name=lastName type=stringSmith/pairpair name=address type=objectpair name=postalCode type=number10021/pairpair name=city type=stringNew York/pairpair name=streetAddress type=string21 2nd Street/pairpair name=state type=stringNY/pair/pair/json; json:serialize($tmp) Actual: root{phoneNumbers: [212 732-1234, 646 123-4567], firstName: John, lastName: Smith, address: {postalCode: 10021, city: New York, streetAddress: 21 2nd Street, state: NY}/root Expected: root{phoneNumbers: [212 732-1234, 646 123-4567], firstName: John, lastName: Smith, address: {postalCode: 10021, city: New York, streetAddress: 21 2nd Street, state: NY}} To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/900462/+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 867198] Re: JSON converter module not proccesing strings with ''
** Changed in: zorba Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/867198 Title: JSON converter module not proccesing strings with '' Status in Zorba - The XQuery Processor: Fix Committed Bug description: I run the next query: import module namespace json=http://www.zorba-xquery.com/modules/converters/json;; declare variable $json-value = '{html:bbold/b}'; json:parse($json-value) And I get then next error: converters\json.xq:158,3: dynamic error [err:FODC0006]: invalid content passed to fn:parse-xml(): loader parsing error: StartTag: invalid element name I've noticed that this problem occurs with any string containing '' so for example if we change the second line for declare variable $json-value := '{html:1 2}' it still crashes in the same way. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/867198/+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:~zorba-coders/zorba/bug_900462 into lp:zorba/data-converters-module
The proposal to merge lp:~zorba-coders/zorba/bug_900462 into lp:zorba/data-converters-module has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug_900462/+merge/84794 -- https://code.launchpad.net/~zorba-coders/zorba/bug_900462/+merge/84794 Your team Zorba Coders is subscribed to branch lp:zorba/data-converters-module. -- 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:~zorba-coders/zorba/bug_900462 into lp:zorba/data-converters-module
Sorin Marian Nasoi has proposed merging lp:~zorba-coders/zorba/bug_900462 into lp:zorba/data-converters-module. Requested reviews: Sorin Marian Nasoi (sorin.marian.nasoi) Matthias Brantner (matthias-brantner) Related bugs: Bug #900462 in Zorba: json:serialize returns invalid json https://bugs.launchpad.net/zorba/+bug/900462 For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug_900462/+merge/84826 Fixed bug #900462 (json:serialize returns invalid json) -- https://code.launchpad.net/~zorba-coders/zorba/bug_900462/+merge/84826 Your team Zorba Coders is subscribed to branch lp:zorba/data-converters-module. === modified file 'src/com/zorba-xquery/www/modules/converters/CMakeLists.txt' --- src/com/zorba-xquery/www/modules/converters/CMakeLists.txt 2011-12-05 22:42:10 + +++ src/com/zorba-xquery/www/modules/converters/CMakeLists.txt 2011-12-07 18:56:40 + @@ -62,8 +62,6 @@ DECLARE_ZORBA_MODULE (URI http://www.zorba-xquery.com/modules/converters/json; VERSION 1.0 FILE json.xq LINK_LIBRARIES ${Jansson_LIBRARIES}) ADD_TEST_DIRECTORY (${PROJECT_SOURCE_DIR}/test_json) -EXPECTED_FAILURE(zorba_data-converters_module/converters/jansson/serialize_json_18.xq 900462) - IF(ZORBA_NO_UNICODE) SET_TESTS_PROPERTIES(zorba_data-converters_module/converters/jansson/parse_json_03.xq PROPERTIES WILL_FAIL TRUE) === modified file 'src/com/zorba-xquery/www/modules/converters/json.xq.src/jansson_wrapper.cpp' --- src/com/zorba-xquery/www/modules/converters/json.xq.src/jansson_wrapper.cpp 2011-12-06 14:20:24 + +++ src/com/zorba-xquery/www/modules/converters/json.xq.src/jansson_wrapper.cpp 2011-12-07 18:56:40 + @@ -475,14 +475,11 @@ aResultSs [; serialize_child(aElement, aResultSs, aErrorLogSs, object); - - if(!aErrorLogSs.str().empty()) - { -if(lType == object) - aResultSs }; -else - aResultSs ]; - } + + if(lType == object) +aResultSs }; + else +aResultSs ]; } static void parse_JSON_ML_value( === modified file 'test_json/ExpQueryResults/converters/jansson/serialize_json_01.xml.res' --- test_json/ExpQueryResults/converters/jansson/serialize_json_01.xml.res 2011-05-31 15:21:09 + +++ test_json/ExpQueryResults/converters/jansson/serialize_json_01.xml.res 2011-12-07 18:56:40 + @@ -1,1 +1,1 @@ -{phoneNumbers: [212 732-1234, 646 123-4567], firstName: John, lastName: Smith, address: {postalCode: 10021, city: New York, streetAddress: 21 2nd Street, state: NY} \ No newline at end of file +{phoneNumbers: [212 732-1234, 646 123-4567], firstName: John, lastName: Smith, address: {postalCode: 10021, city: New York, streetAddress: 21 2nd Street, state: NY}} \ No newline at end of file === modified file 'test_json/ExpQueryResults/converters/jansson/serialize_json_02.xml.res' --- test_json/ExpQueryResults/converters/jansson/serialize_json_02.xml.res 2011-05-31 15:21:09 + +++ test_json/ExpQueryResults/converters/jansson/serialize_json_02.xml.res 2011-12-07 18:56:40 + @@ -1,1 +1,1 @@ -[{phoneNumbers: [212 732-1234, 646 123-4567], firstName: John, lastName: Smith, address: {postalCode: 10021, city: New York, streetAddress: 21 2nd Street, state: NY}}, {phoneNumbers: [212 732-1234, 646 123-4567], firstName: John, lastName: Smith, address: {postalCode: 10021, city: New York, streetAddress: 21 2nd Street, state: NY}} \ No newline at end of file +[{phoneNumbers: [212 732-1234, 646 123-4567], firstName: John, lastName: Smith, address: {postalCode: 10021, city: New York, streetAddress: 21 2nd Street, state: NY}}, {phoneNumbers: [212 732-1234, 646 123-4567], firstName: John, lastName: Smith, address: {postalCode: 10021, city: New York, streetAddress: 21 2nd Street, state: NY}}] \ No newline at end of file === modified file 'test_json/ExpQueryResults/converters/jansson/serialize_json_04.xml.res' --- test_json/ExpQueryResults/converters/jansson/serialize_json_04.xml.res 2011-05-31 15:21:09 + +++ test_json/ExpQueryResults/converters/jansson/serialize_json_04.xml.res 2011-12-07 18:56:40 + @@ -1,1 +1,1 @@ -{firstName: \ \ No newline at end of file +{firstName: \} \ No newline at end of file === modified file 'test_json/ExpQueryResults/converters/jansson/serialize_json_05.xml.res' --- test_json/ExpQueryResults/converters/jansson/serialize_json_05.xml.res 2011-05-31 15:21:09 + +++ test_json/ExpQueryResults/converters/jansson/serialize_json_05.xml.res 2011-12-07 18:56:40 + @@ -1,1 +1,1 @@ -{name: /\b\f\n\r\t \ No newline at end of file +{name: /\b\f\n\r\t} \ No newline at end of file === modified file 'test_json/ExpQueryResults/converters/jansson/serialize_json_09.xml.res' --- test_json/ExpQueryResults/converters/jansson/serialize_json_09.xml.res 2011-05-31 15:21:09 + +++ test_json/ExpQueryResults/converters/jansson/serialize_json_09.xml.res 2011-12-07 18:56:40 + @@ -1,1 +1,1 @@ -{servlet: [[value1], value2] \ No newline at end of file +{servlet: [[value1], value2
[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug_900462 into lp:zorba/data-converters-module
The proposal to merge lp:~zorba-coders/zorba/bug_900462 into lp:zorba/data-converters-module has been updated. Commit Message changed to: Fixed bug #900462 (json:serialize returns invalid json) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug_900462/+merge/84826 -- https://code.launchpad.net/~zorba-coders/zorba/bug_900462/+merge/84826 Your team Zorba Coders is subscribed to branch lp:zorba/data-converters-module. -- 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/fixes_xqdoc into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/fixes_xqdoc/+merge/86103 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:~zorba-coders/zorba/fixes_xqdoc into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/fixes_xqdoc into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/fixes_xqdoc/+merge/86417 -- https://code.launchpad.net/~zorba-coders/zorba/fixes_xqdoc/+merge/86417 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 866926] Re: xquery-xpath-composability-queries-results-q9
Paul, is the test full-text-composability-queries-results-q4 failing for the same reason as xquery-xpath-composability-queries- results-q9 or should I open a new bug report for test full-text-composability-queries-results-q4 ? Thanks, Sorin -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/866926 Title: xquery-xpath-composability-queries-results-q9 Status in Zorba - The XQuery Processor: New Bug description: This test as well as xquery-xpath-composability-queries-results-q9b fail for a non-obvious reason. However, it may be related to: http://www.w3.org/Bugs/Public/show_bug.cgi?id=12144 Once the W3C bug is resolved, these tests should be tried again. If they pass, then the previous failures were due to the W3C bug; if they still fail, then there is some other bug. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/866926/+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/testsuites_update into lp:zorba
- updated the instructions for generating the conformance reports for W3C - updated the import scripts for XQTS, XQUTS, XQFTTS to use the most recent version of the testsuites - added expected failures file for XQueryX tests in XQTS - updated the w3c_known_failures.txt according to the latest version of the XQTS - added expected failures for the XQuery tests in XQFTTS. There are no expected failures for XQueryX tests in XQFTTS because Daniel has to add XSLT for full text grammar. - added W3C reports for XQTS,XQUTS,XQFTTS *only* for testing purposes by the validation queue. -- https://code.launchpad.net/~zorba-coders/zorba/testsuites_update/+merge/86693 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:~zorba-coders/zorba/testsuites_update into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/testsuites_update into lp:zorba has been updated. Commit Message changed to: - updated the instructions for generating the conformance reports for W3C - updated the import scripts for XQTS, XQUTS, XQFTTS to use the most recent version of the testsuites - added expected failures file for XQueryX tests in XQTS - updated the w3c_known_failures.txt according to the latest version of the XQTS - added expected failures for the XQuery tests in XQFTTS. There are no expected failures for XQueryX tests in XQFTTS because Daniel has to add XSLT for full text grammar. - added W3C reports for XQTS,XQUTS,XQFTTS *only* for testing purposes by the validation queue. For more details, see: https://code.launchpad.net/~zorba-coders/zorba/testsuites_update/+merge/86693 -- https://code.launchpad.net/~zorba-coders/zorba/testsuites_update/+merge/86693 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:~zorba-coders/zorba/testsuites_update into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/testsuites_update into lp:zorba has been updated. Description changed to: - updated the instructions for generating the conformance reports for W3C - updated the import scripts for XQTS, XQUTS, XQFTTS to use the most recent version of the testsuites - added expected failures file for XQueryX tests in XQTS - updated the w3c_known_failures.txt according to the latest version of the XQTS - added expected failures for the XQuery tests in XQFTTS. There are no expected failures for XQueryX tests in XQFTTS because Daniel has to add XSLT for full text grammar. - added W3C reports for XQTS,XQUTS,XQFTTS *only* for testing purposes by the validation queue. For more details, see: https://code.launchpad.net/~zorba-coders/zorba/testsuites_update/+merge/86693 -- https://code.launchpad.net/~zorba-coders/zorba/testsuites_update/+merge/86693 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 871051] Re: 3 data-cleaning tests failing
4176:zorba_data-cleaning_module/data-cleaning/conversion/address-from-user.xq 4177:zorba_data-cleaning_module/data-cleaning/conversion/phone-from-address.xq 4180:zorba_data-cleaning_module/data-cleaning/conversion/unit-convert.xq 4182:zorba_data-cleaning_module/data-cleaning/conversion/user-from-address.xq 4183:zorba_data-cleaning_module/data-cleaning/conversion/user-from-phone.xq tests are now failing. - address-from-user.xq and user-from-phone.xq are passing but ctest reports it as failed because they are marked as expected failures. - phone-from-address.xq and user-from-address.xq expected results is wrong - conversion/unit-convert.xq has no expected result checked into the trunk -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/871051 Title: 3 data-cleaning tests failing Status in Zorba - The XQuery Processor: New Bug description: Reported also by Markos on the list in the dicussion: URGENT 3 data- cleaning tests failing zorba_data-cleaning_module/data-cleaning/conversion/address-from-user.xq zorba_data-cleaning_module/data-cleaning/conversion/phone-from-user.xq zorba_data-cleaning_module/data-cleaning/conversion/user-from-phone.xq The tests have been disabled in: http://bazaar.launchpad.net/~zorba-coders/zorba/data-cleaning-module/view/head:/CMakeLists.txt To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/871051/+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:~zorba-coders/zorba/fix_bug_dc into lp:zorba/data-cleaning-module
Sorin Marian Nasoi has proposed merging lp:~zorba-coders/zorba/fix_bug_dc into lp:zorba/data-cleaning-module. Requested reviews: Sorin Marian Nasoi (sorin.marian.nasoi) Related bugs: Bug #871051 in Zorba: 3 data-cleaning tests failing https://bugs.launchpad.net/zorba/+bug/871051 For more details, see: https://code.launchpad.net/~zorba-coders/zorba/fix_bug_dc/+merge/86706 Fix for bug 871051. -- https://code.launchpad.net/~zorba-coders/zorba/fix_bug_dc/+merge/86706 Your team Zorba Coders is subscribed to branch lp:zorba/data-cleaning-module. === modified file 'CMakeLists.txt' --- CMakeLists.txt 2011-10-09 00:22:42 + +++ CMakeLists.txt 2011-12-22 14:00:41 + @@ -25,10 +25,6 @@ ADD_TEST_DIRECTORY(${PROJECT_SOURCE_DIR}/test ${EXCEPTION_LIST}) -EXPECTED_FAILURE(zorba_data-cleaning_module/data-cleaning/conversion/address-from-user.xq 871051) -EXPECTED_FAILURE(zorba_data-cleaning_module/data-cleaning/conversion/phone-from-user.xq 871051) -EXPECTED_FAILURE(zorba_data-cleaning_module/data-cleaning/conversion/user-from-phone.xq 871051) - ADD_SUBDIRECTORY(src) DONE_DECLARING_ZORBA_URIS() === modified file 'test/ExpQueryResults/data-cleaning/conversion/phone-from-address.xml.res' --- test/ExpQueryResults/data-cleaning/conversion/phone-from-address.xml.res 2011-07-19 19:12:03 + +++ test/ExpQueryResults/data-cleaning/conversion/phone-from-address.xml.res 2011-12-22 14:00:41 + @@ -1,1 +1,1 @@ -(520) 824-3160 \ No newline at end of file +(520) 824-3160 (520) 824-3160 \ No newline at end of file === modified file 'test/ExpQueryResults/data-cleaning/conversion/phone-from-user.xml.res' --- test/ExpQueryResults/data-cleaning/conversion/phone-from-user.xml.res 2011-10-17 10:05:58 + +++ test/ExpQueryResults/data-cleaning/conversion/phone-from-user.xml.res 2011-12-22 14:00:41 + @@ -1,1 +0,0 @@ -(661) 397-4236 (310) 513-0752 (510) 259-0456 (831) 385-3605 (213) 627-0188 (323) 846-1235 (661) 224-1072 (909) 820-3137 (916) 627-1090 (707) 938-9861 (805) 648-6417 === added file 'test/ExpQueryResults/data-cleaning/conversion/unit-convert.xml.res' --- test/ExpQueryResults/data-cleaning/conversion/unit-convert.xml.res 1970-01-01 00:00:00 + +++ test/ExpQueryResults/data-cleaning/conversion/unit-convert.xml.res 2011-12-22 14:00:41 + @@ -0,0 +1,1 @@ +1.609344 \ No newline at end of file === modified file 'test/ExpQueryResults/data-cleaning/conversion/user-from-address.xml.res' --- test/ExpQueryResults/data-cleaning/conversion/user-from-address.xml.res 2011-07-19 19:12:03 + +++ test/ExpQueryResults/data-cleaning/conversion/user-from-address.xml.res 2011-12-22 14:00:41 + @@ -1,1 +1,1 @@ -Stan Smith \ No newline at end of file +Sunizona Greenhouses Inc Stan Smith \ 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
Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/fix_bug_dc into lp:zorba/data-cleaning-module
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/fix_bug_dc/+merge/86706 Your team Zorba Coders is subscribed to branch lp:zorba/data-cleaning-module. -- 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:~zorba-coders/zorba/fix_bug_dc into lp:zorba/data-cleaning-module
The proposal to merge lp:~zorba-coders/zorba/fix_bug_dc into lp:zorba/data-cleaning-module has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/fix_bug_dc/+merge/86706 -- https://code.launchpad.net/~zorba-coders/zorba/fix_bug_dc/+merge/86706 Your team Zorba Coders is subscribed to branch lp:zorba/data-cleaning-module. -- 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:~zorba-coders/zorba/fix_bug_dc into lp:zorba/data-cleaning-module
The proposal to merge lp:~zorba-coders/zorba/fix_bug_dc into lp:zorba/data-cleaning-module has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/fix_bug_dc/+merge/86706 -- https://code.launchpad.net/~zorba-coders/zorba/fix_bug_dc/+merge/86706 Your team Zorba Coders is subscribed to branch lp:zorba/data-cleaning-module. -- 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:~zorba-coders/zorba/feature_xqdoc_version_for_modules into lp:zorba
Sorin Marian Nasoi has proposed merging lp:~zorba-coders/zorba/feature_xqdoc_version_for_modules into lp:zorba. Requested reviews: Sorin Marian Nasoi (sorin.marian.nasoi) William Candillon (wcandillon) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/feature_xqdoc_version_for_modules/+merge/88116 Added the information about the Zorba module version in the generated XQDoc documentation. -- https://code.launchpad.net/~zorba-coders/zorba/feature_xqdoc_version_for_modules/+merge/88116 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'modules/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq' --- modules/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq 2011-12-21 14:40:33 + +++ modules/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq 2012-01-10 20:46:36 + @@ -1121,6 +1121,13 @@ else (div class=subsubsectionXQuery version and encoding for this module:/div, p class=annotationTextxquery version {$module/xqdoc:comment/xqdoc:custom[@tag='XQuery version']/text()} encoding {$module/xqdoc:comment/xqdoc:custom[@tag='encoding']/text()};/p) + ), + let $modVersion := xqdoc2html:get-module-version($moduleUri) + return + if($modVersion = ) then () + else + (div class=subsubsectionZorba version for this module:/div, + pThe latest version of this module is strong{$modVersion}/strong. For more information about module versioning in Zorba please check out a href=../../html/modules_using.html#mod_versioning target=_blankthis/a resource./p ) }; -- 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/feature-json_parser into lp:zorba
Also the make doc target returns the following error: The make xqdoc fails because there are 3 modules in the ZorbaManifest.xml all linked to the same URI, 'http://www.zorba-xquery.com/modules/converters/json'. IMO, the fix would be to: - make a separate branch where the deprecated external JSON 1.0 is removed; make this merge proposal dependent of this branch. - make sure that during the Zorba compilation there is only one module linked to any given URI -- https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/88721 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:~zorba-coders/zorba/feature-json_parser into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/feature-json_parser into lp:zorba has been updated. Commit Message changed to: New JSON parser and module. Fixed the missing quote in the documentation. For more details, see: https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/89008 -- https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/89008 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:~zorba-coders/zorba/feature-json_parser into lp:zorba
I have resubmitted the merge proposal after committing the fix for the JSON tests. -- https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/89008 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:~zorba-coders/zorba/feature_xqdoc_version_for_modules into lp:zorba
Sorin Marian Nasoi has proposed merging lp:~zorba-coders/zorba/feature_xqdoc_version_for_modules into lp:zorba. Requested reviews: Sorin Marian Nasoi (sorin.marian.nasoi) William Candillon (wcandillon) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/feature_xqdoc_version_for_modules/+merge/89013 Added the information about the Zorba module version in the generated XQDoc documentation. -- https://code.launchpad.net/~zorba-coders/zorba/feature_xqdoc_version_for_modules/+merge/89013 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'modules/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq' --- modules/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq 2011-12-21 14:40:33 + +++ modules/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq 2012-01-18 11:56:24 + @@ -1121,6 +1121,13 @@ else (div class=subsubsectionXQuery version and encoding for this module:/div, p class=annotationTextxquery version {$module/xqdoc:comment/xqdoc:custom[@tag='XQuery version']/text()} encoding {$module/xqdoc:comment/xqdoc:custom[@tag='encoding']/text()};/p) + ), + let $modVersion := xqdoc2html:get-module-version($moduleUri) + return + if($modVersion = ) then () + else + (div class=subsubsectionZorba version for this module:/div, + pThe latest version of this module is strong{$modVersion}/strong. For more information about module versioning in Zorba please check out a href=../../html/modules_using.html#mod_versioning target=_blankthis/a resource./p ) }; -- 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:~zorba-coders/zorba/feature_xqdoc_version_for_modules into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/feature_xqdoc_version_for_modules into lp:zorba has been updated. Commit Message changed to: Added the information about the Zorba module version in the generated XQDoc documentation. For more details, see: https://code.launchpad.net/~zorba-coders/zorba/feature_xqdoc_version_for_modules/+merge/89013 -- https://code.launchpad.net/~zorba-coders/zorba/feature_xqdoc_version_for_modules/+merge/89013 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:~zorba-coders/zorba/feature_xqdoc_version_for_modules into lp:zorba
If there is a module that is missing it's isCore property, than this is an error inside Zorba and we should open a separate bug for this. -- https://code.launchpad.net/~zorba-coders/zorba/feature_xqdoc_version_for_modules/+merge/89013 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 918156] [NEW] fots driver for Zorba
Public bug reported: There is no FOTS driver for Zorba yet. FOTS stands for XQuery/XPath/XSLT 3.* Test Suite, please see summary at: http://dev.w3.org/cvsweb/~checkout~/2011/QT3-test- suite/Overview.html?rev=1.5;content-type=text%2Fhtml For details about FOTS please see: http://dev.w3.org/cvsweb/2011/QT3 -test-suite/. ** Affects: zorba Importance: Medium Assignee: Sorin Marian Nasoi (sorin.marian.nasoi) Status: In Progress ** Changed in: zorba Status: New = In Progress -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/918156 Title: fots driver for Zorba Status in Zorba - The XQuery Processor: In Progress Bug description: There is no FOTS driver for Zorba yet. FOTS stands for XQuery/XPath/XSLT 3.* Test Suite, please see summary at: http://dev.w3.org/cvsweb/~checkout~/2011/QT3-test- suite/Overview.html?rev=1.5;content-type=text%2Fhtml For details about FOTS please see: http://dev.w3.org/cvsweb/2011/QT3 -test-suite/. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/918156/+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/testsuites_update into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/testsuites_update/+merge/89021 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 918157] Re: Add XQFTTS to validation queue
** Changed in: zorba Status: Triaged = In Progress -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/918157 Title: Add XQFTTS to validation queue Status in Zorba - The XQuery Processor: In Progress Bug description: In order for this to work, XQFTTS must run clean - this means that all failing tests should be marked as EXPECTED_FAILURE() for all supported build flags. I believe a lot of this work has been done, but it's not merged yet. Also, there may be some outstanding issues with XQueryX and XQFTTS. These also will need to be resolved and merged for XQFTTS to be enabled on the queue. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/918157/+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 918173] [NEW] add auto generation of the conformance reports to lp:zorba
Public bug reported: Create a way to generate the conformance reports automatically in Zorba. After this is done, the Validation queue can add a new check to see if any regression was added with the proposed commit. ** Affects: zorba Importance: Medium Assignee: Sorin Marian Nasoi (sorin.marian.nasoi) Status: New -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/918173 Title: add auto generation of the conformance reports to lp:zorba Status in Zorba - The XQuery Processor: New Bug description: Create a way to generate the conformance reports automatically in Zorba. After this is done, the Validation queue can add a new check to see if any regression was added with the proposed commit. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/918173/+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 918173] Re: add auto generation of the conformance reports to lp:zorba
** Changed in: zorba Status: New = In Progress -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/918173 Title: add auto generation of the conformance reports to lp:zorba Status in Zorba - The XQuery Processor: In Progress Bug description: Create a way to generate the conformance reports automatically in Zorba. After this is done, the Validation queue can add a new check to see if any regression was added with the proposed commit. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/918173/+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 918209] [NEW] xquerydoc v0.1 support/testing in Zorba
Public bug reported: xquerydoc v0.1 was just released: we should make sure that Zorba at least runs it successfully. Also investigate is anything needs to be done in order to support it. ** Affects: zorba Importance: Medium Assignee: Sorin Marian Nasoi (sorin.marian.nasoi) Status: In Progress -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/918209 Title: xquerydoc v0.1 support/testing in Zorba Status in Zorba - The XQuery Processor: In Progress Bug description: xquerydoc v0.1 was just released: we should make sure that Zorba at least runs it successfully. Also investigate is anything needs to be done in order to support it. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/918209/+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