[Zorba-coders] [Bug 962116] [NEW] let return clause using dates has no result
Public bug reported: The following let-return clause returns no result: let $dummy := fn:current-dateTime() - xs:dateTime(x//node()) return Success Expected result: Success Actual result: () ** Affects: zorba Importance: Undecided 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/962116 Title: let return clause using dates has no result Status in Zorba - The XQuery Processor: New Bug description: The following let-return clause returns no result: let $dummy := fn:current-dateTime() - xs:dateTime(x//node()) return Success Expected result: Success Actual result: () To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/962116/+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 928987] Re: XQJ integration with JavaAPI
** Changed in: zorba Milestone: 2.2 = 2.5 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/928987 Title: XQJ integration with JavaAPI Status in Zorba - The XQuery Processor: New Bug description: Users that are using XQJ need access to CollectionManager and DocumentManager. This can be done by adding our own interface, and make our XQPreparedExpression implementation class also implement this new interface. But the user would have to up cast it to this new interface to get access to these new methods. This will need to be well documented. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/928987/+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 921458] Re: file:read-text-lines() blocking
** Changed in: zorba Milestone: 2.2 = 2.5 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921458 Title: file:read-text-lines() blocking Status in Zorba - The XQuery Processor: New Bug description: I wrote the following query: import module namespace file =http://expath.org/ns/file;; for $line at $i in file:read-text-lines(doc.xml) return if($i lt 1104869) then () else concat($line, ) Where doc.xml is a large document. The result of the query seems to never end and its memory footprint is huge. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/921458/+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 928629] Re: XMLBeans module
** Changed in: zorba Milestone: 2.2 = 2.5 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/928629 Title: XMLBeans module Status in Zorba - The XQuery Processor: In Progress Bug description: We should have a new module that allows the user to invoke XMLBeans. Specifically, the module should provide functions to generate a schema given a sequence of nodes and generate a node given a schema. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/928629/+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 928626] Re: no setting classpath in xsl-fo module
** Changed in: zorba Milestone: 2.2 = 2.5 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/928626 Title: no setting classpath in xsl-fo module Status in Zorba - The XQuery Processor: New Bug description: The xsl-fo module shouldn't provide any function that allows the user to configure the classpath. Instead, the classpath should be configured once for the entire Zorba process and all Java-based modules should use this classpath. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/928626/+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 962216] [NEW] stack queue module
Public bug reported: Implement two new modules: - stack for node items, using collections - queue for node items, using collections ** Affects: zorba Importance: High 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/962216 Title: stack queue module Status in Zorba - The XQuery Processor: New Bug description: Implement two new modules: - stack for node items, using collections - queue for node items, using collections To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/962216/+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 950617] Re: XQuery 3.0 vs Zorba: nilled#0 not implemented
** Changed in: zorba Milestone: None = 2.5 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/950617 Title: XQuery 3.0 vs Zorba: nilled#0 not implemented Status in Zorba - The XQuery Processor: New Bug description: ctest -R xquery_3_0 on the branch lp:~zorba-coders/zorba/fn_envvars shows that: - the following functions are still not implemented: nilled#0 To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/950617/+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 950616] Re: XQuery 3.0 vs Zorba: has-children#0 not implemented
** Changed in: zorba Milestone: None = 2.5 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/950616 Title: XQuery 3.0 vs Zorba: has-children#0 not implemented Status in Zorba - The XQuery Processor: New Bug description: ctest -R xquery_3_0 on the branch lp:~zorba-coders/zorba/fn_envvars shows that: - the following functions are still not implemented: has-children#0 To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/950616/+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 950615] Re: XQuery 3.0 vs Zorba: unparsed-text-lines not implemented
** Changed in: zorba Milestone: None = 2.5 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/950615 Title: XQuery 3.0 vs Zorba: unparsed-text-lines not implemented Status in Zorba - The XQuery Processor: New Bug description: ctest -R xquery_3_0 on the trunk, i.e. lp:Zorba shows that: The following functions are still not implemented: - unparsed-text-lines#1 - unparsed-text-lines#2 To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/950615/+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 930162] Re: fn:unparsed-text-available Implementation
** Changed in: zorba Milestone: None = 2.5 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/930162 Title: fn:unparsed-text-available Implementation Status in Zorba - The XQuery Processor: Fix Committed Bug description: Implementation of XQuery 3.0 function fn:unparsed-text-available To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/930162/+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 930161] Re: fn:unparsed-text Implementation
** Changed in: zorba Milestone: None = 2.5 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/930161 Title: fn:unparsed-text Implementation Status in Zorba - The XQuery Processor: Fix Committed Bug description: Implementation of XQuery 3.0 function fn:unparsed-text To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/930161/+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 930160] Re: fn:uri-collection Implementation
** Changed in: zorba Milestone: None = 2.5 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/930160 Title: fn:uri-collection Implementation Status in Zorba - The XQuery Processor: Fix Committed Bug description: Implementation of XQuery 3.0 function fn:uri-collection To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/930160/+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 930158] Re: fn:environment-variables Implementation
** Changed in: zorba Milestone: None = 2.5 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/930158 Title: fn:environment-variables Implementation Status in Zorba - The XQuery Processor: Fix Committed Bug description: Implementation of XQuery 3.0 function fn:environment-variables To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/930158/+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 930157] Re: fn:available-environment-variables Implementation
** Changed in: zorba Milestone: None = 2.5 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/930157 Title: fn:available-environment-variables Implementation Status in Zorba - The XQuery Processor: Fix Committed Bug description: Implementation of XQuery 3.0 function fn:available-environment-variables To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/930157/+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 918156] Re: fots driver for Zorba
** Changed in: zorba Milestone: None = 2.5 -- 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
[Zorba-coders] [Bug 962116] Re: let return clause using dates has no result
Cannot reproduce with Zorba 2.2. ** Changed in: zorba Status: New = Invalid -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/962116 Title: let return clause using dates has no result Status in Zorba - The XQuery Processor: Invalid Bug description: The following let-return clause returns no result: let $dummy := fn:current-dateTime() - xs:dateTime(x//node()) return Success Expected result: Success Actual result: () To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/962116/+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 903797] Re: XQXQ feature request: custom schema uri resolver
** Changed in: zorba Milestone: 2.2 = 2.5 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/903797 Title: XQXQ feature request: custom schema uri resolver Status in Zorba - The XQuery Processor: New Bug description: It should be possible to validate xdm instances against schemas which are stored in collections or dynamically created. Therefore, a mechanism is needed to tell the resolver before compiling and XQXQ module how to find these schemas. This could be implemented using HOFs. Example: declare function schema-uri-resolver($namespace as xs:string, $at-hints as xs:string*) as element(xs:schema)? { (: create/fetch xml schema :) xqddf:collection(...)//xs:schema[@targetNamespace=$namespace] }; let $module := xqxq:prepare-main-module(import schema namespace test = 'http://test'; validate { test:test / }, schema-uri-resolver#2 ) return xqxq:evaluate($module) To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/903797/+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 931816] Re: New way of classpath and JVM Singleton handling
** Changed in: zorba Milestone: 2.2 = 2.5 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/931816 Title: New way of classpath and JVM Singleton handling Status in Zorba - The XQuery Processor: In Progress Bug description: This bug is to track work related to makeing Zorba modules implemented in Java be robust and working all together. It was decided that a few things need to happen: Critical: 1. (chris) add cmake macros to let build know a module is using java 2. (chris) cmake macros that define it's own jar implementation 3. (chris) cmake macros that define external dependencies (like xmlbeans.jar, xsl-fo.jar) 4. (cezar) add zorba classpath option, and CLASSPATH environment 5. (chris) add core module that can resolve a known (by URI) external module 6. (chris) add external java-helper module that provides concatenation of classpathes - the order on calsspath is: ModuleOwnPath, ModuleDependecy, zorba -cp, env CLASSPATH 7. (chris) make sure binary packages set up classpathes correctly 8. (cezar) add code to external java-helper module to create a singleton JVM 9. (cezar) refactor xmlbeans and xsl-fo modules to make use of external java-helper module Nice to have, not critical: 10. Have a generic way to implement modules directly in Java, Python etc, using swig extension. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/931816/+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 962216] Re: stack queue module
Review from Dana: 1. There is no distinction between a stack and any other collection. Do we need the distinction ? I guess so, because available-stacks gives all available-collections, which is wrong. Plus, though the stack module one can delete ANY collection, which also seems wrong. 2. delete() should use the new trim() function on collections from the trunk 3. Delete() should raise an error if the stack doesn't exist, not silently do nothing 4. Documentation does not say that a COPY of the node is inserted in the stack/queue, and NOT the original node. (copy is made at insertion time, like in a normal collection). Same comment for the copy() function. 5. create() should raise an error in case the thing already exists, not silently delete it and recreate a new one. 6. Please re-write THAT into something efficient and decent: declare function stack:available-stacks() as xs:QName* { for $collQName in collections-ddl:available-collections() return $collQName }; (hint: collections-ddl:available-collections() would do) 7. Please rewrite THAT into something efficient and decent: declare function stack:top($name as xs:QName) as node()? { let $stackContent := collections-dml:collection($name) return if(fn:not(fn:empty($stackContent))) then $stackContent[1] else () }; ( hint: collections-dml:collection($name)[1] would do ) 8. The empty() function should raise an error if the stack/queue doesn't exist. Exist and Empty are different things. ** 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/962216 Title: stack queue module Status in Zorba - The XQuery Processor: In Progress Bug description: Implement two new modules: - stack for node items, using collections - queue for node items, using collections To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/962216/+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 962255] [NEW] integrate into XQDoc the module dependency graph generation
Public bug reported: The module dependency graph (modules.svg) if out of date. We should generate it on every make XQDoc *if* the Graphviz module is present. The modules.svg needs to be created after the XQDoc XML's are created and before xqdoc2xhtml processing. ** Affects: zorba Importance: Medium Assignee: Sorin Marian Nasoi (sorin.marian.nasoi) Status: New ** Tags: xqdoc -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/962255 Title: integrate into XQDoc the module dependency graph generation Status in Zorba - The XQuery Processor: New Bug description: The module dependency graph (modules.svg) if out of date. We should generate it on every make XQDoc *if* the Graphviz module is present. The modules.svg needs to be created after the XQDoc XML's are created and before xqdoc2xhtml processing. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/962255/+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 962255] Re: integrate into XQDoc the module dependency graph generation
** Attachment added: This is the deprecated modules.svg Graph. https://bugs.launchpad.net/bugs/962255/+attachment/2916687/+files/modules.svg -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/962255 Title: integrate into XQDoc the module dependency graph generation Status in Zorba - The XQuery Processor: New Bug description: The module dependency graph (modules.svg) if out of date. We should generate it on every make XQDoc *if* the Graphviz module is present. The modules.svg needs to be created after the XQDoc XML's are created and before xqdoc2xhtml processing. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/962255/+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/bug-analyze_string into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/bug-analyze_string/+merge/97671 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 955040] Re: XSL-FO module test added even if module is not built
** Changed in: zorba Milestone: None = 2.5 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/955040 Title: XSL-FO module test added even if module is not built Status in Zorba - The XQuery Processor: In Progress Bug description: Here is a CMake output: -- Looking for Java -- Looking for JNI -- Variable XSL_FOP_HOME not defined, trying defaults: /usr/share/java/ /usr/share/java/fop/ -- XSL-FOP HOME :/usr/share/java//usr/share/java/fop/ -- fop.jar and all its dependecies not found skiping data-formating module -- -- End modules -- Added 1 tests in /home/spungi/work/zorba/tmp/zorba_modules/data-formatting/test As you see the test for XSL-FO module is added even if the module is not built because not all dependencies were found. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/955040/+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 913750] Re: doxygen fixes
** Changed in: zorba Status: In Progress = 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/913750 Title: doxygen fixes Status in Zorba - The XQuery Processor: Fix Released Bug description: Doxygen documentation is suffering from a couple of problems: - The main documentation TOC is structured via HTML code - Some pages contain a hand-written TOC - Some pages have duplicate page title (using the page title and creating the top section with the same name) To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/913750/+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 926291] Re: Wrong list supported link in documentation
** Changed in: zorba Status: New = Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/926291 Title: Wrong list supported link in documentation Status in Zorba - The XQuery Processor: Fix Released Bug description: In http://localhost:8080/html/documentation has a link List of Supported Functions which doesn't seam to be correct. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/926291/+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 932186] Re: Encoding problem with JSON module
** Changed in: zorba Status: Triaged = Invalid -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/932186 Title: Encoding problem with JSON module Status in Zorba - The XQuery Processor: Invalid Bug description: Running the query attached using the following command line: ~/28msec/zorba/build/bin/zorba -q test.xq -f Results in the following error: dynamic error [err:FOCH0001]: 55357: invalid code point However the following command: ~/28msec/zorba/build/bin/zorba -q test.xq -f --serialize-text Works fine. Removing the json:serialize() function call in the query prevents the error to happen. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/932186/+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 962390] [NEW] For Clause materialization
Public bug reported: I have the following query: declare %ann:sequential function guestbook:insert($i) { trace($i, b); }; for $line at $i in (1 to 10) let $i := trace($i, a) return guestbook:insert($i); Which returns: a [0]: xs:integer(1) a [0]: xs:integer(2) a [0]: xs:integer(3) a [0]: xs:integer(4) a [0]: xs:integer(5) a [0]: xs:integer(6) a [0]: xs:integer(7) a [0]: xs:integer(8) a [0]: xs:integer(9) a [0]: xs:integer(10) b [0]: xs:integer(1) b [0]: xs:integer(2) b [0]: xs:integer(3) b [0]: xs:integer(4) b [0]: xs:integer(5) b [0]: xs:integer(6) b [0]: xs:integer(7) b [0]: xs:integer(8) b [0]: xs:integer(9) b [0]: xs:integer(10) I was expecting: a [0]: xs:integer(1) b [0]: xs:integer(1) a [0]: xs:integer(2) b [0]: xs:integer(2) a [0]: xs:integer(3) b [0]: xs:integer(3) a [0]: xs:integer(4) b [0]: xs:integer(4) a [0]: xs:integer(5) b [0]: xs:integer(5) a [0]: xs:integer(6) b [0]: xs:integer(6) a [0]: xs:integer(7) b [0]: xs:integer(7) a [0]: xs:integer(8) b [0]: xs:integer(8) a [0]: xs:integer(9) b [0]: xs:integer(9) a [0]: xs:integer(10) b [0]: xs:integer(10) ** Affects: zorba Importance: Undecided Assignee: Matthias Brantner (matthias-brantner) Status: New ** Changed in: zorba Assignee: (unassigned) = Matthias Brantner (matthias-brantner) ** Changed in: zorba Milestone: None = 2.5 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/962390 Title: For Clause materialization Status in Zorba - The XQuery Processor: New Bug description: I have the following query: declare %ann:sequential function guestbook:insert($i) { trace($i, b); }; for $line at $i in (1 to 10) let $i := trace($i, a) return guestbook:insert($i); Which returns: a [0]: xs:integer(1) a [0]: xs:integer(2) a [0]: xs:integer(3) a [0]: xs:integer(4) a [0]: xs:integer(5) a [0]: xs:integer(6) a [0]: xs:integer(7) a [0]: xs:integer(8) a [0]: xs:integer(9) a [0]: xs:integer(10) b [0]: xs:integer(1) b [0]: xs:integer(2) b [0]: xs:integer(3) b [0]: xs:integer(4) b [0]: xs:integer(5) b [0]: xs:integer(6) b [0]: xs:integer(7) b [0]: xs:integer(8) b [0]: xs:integer(9) b [0]: xs:integer(10) I was expecting: a [0]: xs:integer(1) b [0]: xs:integer(1) a [0]: xs:integer(2) b [0]: xs:integer(2) a [0]: xs:integer(3) b [0]: xs:integer(3) a [0]: xs:integer(4) b [0]: xs:integer(4) a [0]: xs:integer(5) b [0]: xs:integer(5) a [0]: xs:integer(6) b [0]: xs:integer(6) a [0]: xs:integer(7) b [0]: xs:integer(7) a [0]: xs:integer(8) b [0]: xs:integer(8) a [0]: xs:integer(9) b [0]: xs:integer(9) a [0]: xs:integer(10) b [0]: xs:integer(10) To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/962390/+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 928626] Re: no setting classpath in xsl-fo module
** 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/928626 Title: no setting classpath in xsl-fo module Status in Zorba - The XQuery Processor: In Progress Bug description: The xsl-fo module shouldn't provide any function that allows the user to configure the classpath. Instead, the classpath should be configured once for the entire Zorba process and all Java-based modules should use this classpath. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/928626/+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/bug955040 into lp:zorba/data-formatting-module
Rodolfo Ochoa has proposed merging lp:~zorba-coders/zorba/bug955040 into lp:zorba/data-formatting-module. Requested reviews: Matthias Brantner (matthias-brantner) Cezar Andrei (cezar-andrei) Related bugs: Bug #955040 in Zorba: XSL-FO module test added even if module is not built https://bugs.launchpad.net/zorba/+bug/955040 For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug955040/+merge/98891 Fixes on CMakeList to avoid submitting a test when module is not active. Also added functionality to avoid testing for Java if module is not active. -- https://code.launchpad.net/~zorba-coders/zorba/bug955040/+merge/98891 Your team Zorba Coders is subscribed to branch lp:zorba/data-formatting-module. === modified file 'CMakeLists.txt' --- CMakeLists.txt 2012-03-14 14:23:36 + +++ CMakeLists.txt 2012-03-22 18:12:23 + @@ -12,6 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +MESSAGE (STATUS BEGIN Configuring module Data-Formatting ) + CMAKE_MINIMUM_REQUIRED(VERSION 2.6) PROJECT (zorba_data-formatting_module) @@ -28,3 +30,5 @@ DONE_DECLARING_ZORBA_URIS () + +MESSAGE (STATUS END Configuring module Data-Formatting ) === modified file 'src/com/zorba-xquery/www/modules/CMakeLists.txt' --- src/com/zorba-xquery/www/modules/CMakeLists.txt 2012-03-14 14:23:36 + +++ src/com/zorba-xquery/www/modules/CMakeLists.txt 2012-03-22 18:12:23 + @@ -12,96 +12,103 @@ # See the License for the specific language governing permissions and # limitations under the License. -# -# JNI JAVA -# -IF (ZORBA_SUPPRESS_JAVA) - MESSAGE (STATUS ZORBA_SUPPRESS_JNI is true - not searching for Java) -ELSE (ZORBA_SUPPRESS_JAVA) - IF (NOT ZORBA_WITH_FOP) -MESSAGE (STATUS Looking for Java) +SET (ZORBA_WITH_FOP ON CACHE BOOL Compile Zorba with XSL-FO support FORCE) +IF (ZORBA_WITH_FOP) + + IF (ZORBA_SUPPRESS_JAVA) +MESSAGE (STATUS ZORBA_SUPPRESS_JNI is true - not searching for Java) +MESSAGE (STATUS Building Zorba without XSL-FO support.) + ELSE (ZORBA_SUPPRESS_JAVA) + FIND_PACKAGE(Java) - -MESSAGE (STATUS Looking for JNI) FIND_PACKAGE(JNI) IF (JNI_FOUND) - IF (NOT DEFINED XSL_FOP_HOME) -IF (WIN32) - MESSAGE (STATUS Variable XSL_FOP_HOME not defined, trying defaults: ${Java_LIBRARIES}) - SET (XSL_FOP_HOME ${Java_LIBRARIES}) -ELSE (WIN32) - MESSAGE (STATUS Variable XSL_FOP_HOME not defined, trying defaults: ${Java_LIBRARIES} /usr/share/java/ /usr/share/java/fop/) - SET (XSL_FOP_HOME /usr/share/java/ /usr/share/java/fop/ ${Java_LIBRARIES}) -ENDIF (WIN32) - ENDIF (NOT DEFINED XSL_FOP_HOME) - - MESSAGE (STATUS XSL-FOP HOME : ${XSL_FOP_HOME} ) - + + IF (NOT DEFINED XSL_FOP_HOME) +IF (DEFINED ENV{XSL_FOP_HOME}) + SET(XSL_FOP_HOME $ENV{XSL_FOP_HOME}) +ENDIF (DEFINED ENV{XSL_FOP_HOME}) + ENDIF (NOT DEFINED XSL_FOP_HOME) + + IF (NOT DEFINED XSL_FOP_HOME) +IF (WIN32) + MESSAGE (STATUS Environment variable XSL_FOP_HOME not defined, trying default: C:\\dev\\libraries\\fop-1.0) + SET (XSL_FOP_HOME C:\\dev\\libraries\\fop-1.0) +ELSE (WIN32) + MESSAGE (STATUS Environment variable XSL_FOP_HOME not defined, trying defaults: ${Java_LIBRARIES} /usr/share/java/ /usr/share/java/fop/) + SET (XSL_FOP_HOME /usr/share/java/ /usr/share/java/fop/ ${Java_LIBRARIES}) +ENDIF (WIN32) + ENDIF (NOT DEFINED XSL_FOP_HOME) + + STRING(REGEX REPLACE / XSL_FOP_HOME ${XSL_FOP_HOME}) + + MESSAGE (STATUS XSL-FOP HOME: ${XSL_FOP_HOME} ) FIND_FILE( FOP_JAR NAMES fop.jar PATHS ${XSL_FOP_HOME} ${XSL_FOP_HOME}/build ) - FIND_FILE( FOP_D1_JAR NAMES avalon-framework.jar PATHS ${XSL_FOP_HOME} ${XSL_FOP_HOME}/lib ) - FIND_FILE( FOP_D2_JAR NAMES batik-all.jar PATHS ${XSL_FOP_HOME} ${XSL_FOP_HOME}/lib ) - FIND_FILE( FOP_D3_JAR NAMES commons-io.jar PATHS ${XSL_FOP_HOME} ${XSL_FOP_HOME}/lib ) - FIND_FILE( FOP_D4_JAR NAMES commons-logging.jar PATHS ${XSL_FOP_HOME} ${XSL_FOP_HOME}/lib ) - FIND_FILE( FOP_D5_JAR NAMES serializer.jar PATHS ${XSL_FOP_HOME} ${XSL_FOP_HOME}/lib ) - FIND_FILE( FOP_D6_JAR NAMES xalan.jar xalan2.jar PATHS ${XSL_FOP_HOME} ${XSL_FOP_HOME}/lib ) - FIND_FILE( FOP_D7_JAR NAMES xmlgraphics-commons.jar PATHS ${XSL_FOP_HOME} ${XSL_FOP_HOME}/lib ) - IF( EXISTS ${FOP_JAR} AND EXISTS ${FOP_D1_JAR} AND EXISTS ${FOP_D2_JAR} AND - EXISTS ${FOP_D3_JAR} AND EXISTS ${FOP_D4_JAR} AND EXISTS ${FOP_D5_JAR} AND - EXISTS ${FOP_D6_JAR} AND EXISTS ${FOP_D7_JAR}) - -#SET (ZORBA_WITH_FOP ON CACHE BOOL Compile Zorba with XSL-FO support FORCE) -#IF (ZORBA_WITH_FOP) - INCLUDE (CMakeJavaInformation ) -
[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug955040 into lp:zorba/data-formatting-module
The proposal to merge lp:~zorba-coders/zorba/bug955040 into lp:zorba/data-formatting-module has been updated. Commit Message changed to: Fixes on CMakeList to avoid submitting a test when module is not active. Also added functionality to avoid testing for Java if module is not active. For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug955040/+merge/98891 -- https://code.launchpad.net/~zorba-coders/zorba/bug955040/+merge/98891 Your team Zorba Coders is subscribed to branch lp:zorba/data-formatting-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 962396] [NEW] keyring lost focus
Public bug reported: ubuntu one login and password want save keyring. keyring lost focus http://www.youtube.com/watch?v=y1gB5GEKyhIfeature=youtu.benoredirect=1 ** Affects: ubuntu Importance: Undecided Status: New ** Project changed: zorba = ubuntu -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/962396 Title: keyring lost focus Status in Ubuntu: New Bug description: ubuntu one login and password want save keyring. keyring lost focus http://www.youtube.com/watch?v=y1gB5GEKyhIfeature=youtu.benoredirect=1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/962396/+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/bug955040 into lp:zorba/data-formatting-module
Review: Needs Fixing 1. ZORBA_WITH_FOP means I really want FOP. Ie if there is anything missing it's an error. So if ZORBA_WITH_FOP and ZORBA_SUPPRESS_JAVA are both true should be an error. 2. Why did you replace 1 IF with AND condition with 8 nested IF's ? -- https://code.launchpad.net/~zorba-coders/zorba/bug955040/+merge/98891 Your team Zorba Coders is subscribed to branch lp:zorba/data-formatting-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/bug955040 into lp:zorba/data-formatting-module
Review: Needs Fixing I don't understand what ZORBA_WITH_FOP means at all. I'm not really a fan of having flags to enable functionality anyway, at least not in non-core module packages - if the user took the time to download the package, presumably they want the contents, so why force them to add another CMake flag to enable it? But with this change, ZORBA_WITH_FOP is completely meaningless, because it's now SET(ON FORCE). It will always be ON. So the IF(ZORBA_WITH_FOP) is pointless. I would suggest eliminating the flag entirely. If we really think we need a way to build the data-formatting module without FOP, have a ZORBA_SUPPRESS_FOP flag instead that skips the whole file. Cezar: Rodolfo had a comment about the nested IF thing - apparently IF(EXISTS a AND EXISTS b...) doesn't work, possibly a CMake bug. I haven't verified that bug myself, but it wouldn't surprise me; I've certainly seen other situations where IF(... AND ...) doesn't do what I'd expect in CMake. -- https://code.launchpad.net/~zorba-coders/zorba/bug955040/+merge/98891 Your team Zorba Coders is subscribed to branch lp:zorba/data-formatting-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/fn_envvars into lp:zorba
Errors are Fixed -- https://code.launchpad.net/~zorba-coders/zorba/fn_envvars/+merge/88143 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/bug931580 into lp:zorba
Review: Needs Fixing - Why does the CollectionManager exist? It doesn't seem to be accessible from anywhere? - The ChangeLog needs to be updated to reflect the new features. -- https://code.launchpad.net/~zorba-coders/zorba/bug931580/+merge/92818 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