[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 862091] Re: Files missing from email module
** Changed in: zorba Assignee: Juan Zacarias (juan457) = Chris Hillery (ceejatec) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/862091 Title: Files missing from email module Status in Zorba - The XQuery Processor: New Bug description: Reported by Fedora package maintainer. The email module includes FindKerberos.cmake and FindPAM.cmake, but those files are not included in the source of the email module - they are loaded from Zorba's cmake_modules directory. This means it's impossible to build this module except as part of a Zorba install. There may be other modules with similar problems - we should do an audit. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/862091/+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:~paul-lucas/zorba/bug-855715 into lp:zorba
The proposal to merge lp:~paul-lucas/zorba/bug-855715 into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~paul-lucas/zorba/bug-855715/+merge/79768 -- https://code.launchpad.net/~paul-lucas/zorba/bug-855715/+merge/79768 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/structuralrelationships2 into lp:zorba
Connection dropped... Do you know why document nodes have a component less than any other kind of node when they are the root of their tree? I finally found out what you meant (the code is in the OrdPathNode ctor, not the OrdPath ctor). I think the reason why element node as root has an extra component in its ordpath is to support fn:put on element nodes. The w3c tests require that whatever is fn:put-ed, is retrievable by fn:doc(), which means that I have to put a doc node as parent to the element node. But I think this can be fixed, because the element node is going to be copied anyway. Another question, tree ids are expected to be unique among all tree currently in the store, or not? Yes, this is the assumption, although it is not really enforced in the simplestore. Why do you ask? Thanks, Federico -- https://code.launchpad.net/~zorba-coders/zorba/structuralrelationships2/+merge/78395 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/f-testPerfScript into lp:zorba
Proc prefixes have been added to the module some time ago, but this script wasn't updated and fn:data to make the comparison explicit. -- https://code.launchpad.net/~zorba-coders/zorba/f-testPerfScript/+merge/79628 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/f-testPerfScript into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/f-testPerfScript/+merge/79628 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 872732] Re: K2-NamespaceURIForPrefixFunc-2 test fails
Attached, please find a patch that simplifies the function a bit (apply using bzr merge name.diff). ** Patch added: simplification https://bugs.launchpad.net/zorba/+bug/872732/+attachment/2561685/+files/qname.diff -- 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: In Progress 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
Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/structuralrelationships2 into lp:zorba
Federico, I think the documentation in node-position.xq needs some more work. I can do this, but first we must agree on what is exactly the functionality and the assumptions about node positions that you rely on. For example, in the documentation of the np:node-position() function, you write: The returned URI is stable, i.e. it does not change when other nodes are inserted, deleted or modified Do you rely on this? If not, then we shouldn't write it down. Also, look at the following rewrite of the ancestor-of function. Do you agree with it? (:~ : Determines whether the node position that is given as second argument is : an ancestor of the node position is given as first argument. : : If the two positions were obtained within the same snapshot S, then the : result of the function applies to the corresponding nodes as well, that : is, within snapshot S, the second node is an ancestor of the first. : Otherwise, the result of the function does not imply anything about the : positional relationship of the two nodes. : : @param $pos1 the potential descendant node position : @param $pos2 the potential ancestor node position : : @return true if the node position $pos2 is an ancestor of the node position : $pos1; false otherwise. : : @error zerr:ZAPI0028 if one of the given URI is not a valid node : position computed by the ttnp:node-position/tt function. :) declare function np:ancestor-of( $pos1 as xs:anyURI, $pos2 as xs:anyURI) as xs:boolean external; -- https://code.launchpad.net/~zorba-coders/zorba/structuralrelationships2/+merge/78395 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_872732 into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/bug_872732/+merge/79272 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:~juan457/zorba/xqxq-api-changes into lp:zorba
Juan, the getExternalVariables method should be part of the static context, not the dynamic context. Probably the easiest way to implement this is to add an externalOnly param to the static_context::getVariables method and then add a getExternalVariables method in StaticContextImpl, which will just invoke the static_context::getVariables method, passing true for the externalOnly param. -- https://code.launchpad.net/~juan457/zorba/xqxq-api-changes/+merge/79589 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