Re: [Zorba-coders] [Merge] lp:~paul-lucas/zorba/bug-928340 into lp:zorba

2012-02-07 Thread William Candillon
Review: Approve

It works as expected.
-- 
https://code.launchpad.net/~paul-lucas/zorba/bug-928340/+merge/91924
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/fix-download-http-client into lp:zorba

2012-02-07 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/fix-download-http-client-2012-02-08T07-41-53.115Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/fix-download-http-client/+merge/91979
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/fix-download-http-client into lp:zorba

2012-02-07 Thread Sorin Marian Nasoi
The proposal to merge lp:~zorba-coders/zorba/fix-download-http-client into 
lp:zorba has been updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/fix-download-http-client/+merge/91979
-- 
https://code.launchpad.net/~zorba-coders/zorba/fix-download-http-client/+merge/91979
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 928340] Re: Full-Text Assertion failed

2012-02-07 Thread Paul J. Lucas
It's position in the full-text documentation is irrelevant. It's not
critical because: (1) there is no data loss, (2) if the user supplies
the correct command-line arguments, it works correctly.

I submitted the fix (that you should review for approval), so the issue
is moot.

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/928340

Title:
  Full-Text Assertion failed

Status in Zorba - The XQuery Processor:
  In Progress

Bug description:
  The following query:
  let $x := affluent man
  return $x contains text "wealthy"
using thesaurus at "http://wordnet.princeton.edu";

  Returns

  
  0   libzorba_simplestore.2.1.0.dylib0x000107813f8c 
_ZN5zorba16assertion_failedEPKcS1_i + 60
  1   libzorba_simplestore.2.1.0.dylib0x000107ca37e4 
_ZN5zorba18ftcontains_visitor16lookup_thesaurusERKNS_14ftthesaurus_idERKNS_7rstringINS_15rstring_classes3repINS_10atomic_intESt11char_traitsIcESaIcERKNS_7FTTokenERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaISL_EE
 + 440
  2   libzorba_simplestore.2.1.0.dylib0x000107ca3d36 
_ZN5zorba18ftcontains_visitor22apply_thesaurus_optionEPKNS_18ftthesaurus_optionERKNS_7rstringINS_15rstring_classes3repINS_10atomic_intESt11char_traitsIcESaIcERKNS_7FTTokenERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaISL_EEb
 + 180
  3   libzorba_simplestore.2.1.0.dylib0x000107ca529a 
_ZN5zorba18ftcontains_visitor28apply_query_tokens_as_phraseERNS_15FTTokenIteratorEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERSt4listINS_8ft_matchESaISE_EE
 + 494
  4   libzorba_simplestore.2.1.0.dylib0x000107ca65f4 
_ZN5zorba18ftcontains_visitor20apply_ftwords_phraseERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERS1_INS_8ft_matchESaISI_EE
 + 90
  5   libzorba_simplestore.2.1.0.dylib0x000107ca5c0f 
_ZN5zorba18ftcontains_visitor17apply_ftwords_anyERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERS1_INS_8ft_matchESaISI_EE
 + 189
  6   libzorba_simplestore.2.1.0.dylib0x000107ca6b6e 
_ZN5zorba18ftcontains_visitor13apply_ftwordsERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemENS_14ft_anyall_mode4typeERKNS_15ftmatch_optionsERS1_INS_8ft_matchESaISH_EE
 + 336
  7   libzorba_simplestore.2.1.0.dylib0x000107ca9ccc 
_ZN5zorba18ftcontains_visitor9end_visitERNS_7ftwordsE + 532
  8   libzorba_simplestore.2.1.0.dylib0x0001076dad30 
_ZN5zorba7ftwords6acceptERNS_14ftnode_visitorE + 96
  9   libzorba_simplestore.2.1.0.dylib0x0001076d9d4f 
_ZN5zorba13ftwords_times6acceptERNS_14ftnode_visitorE + 59
  10  libzorba_simplestore.2.1.0.dylib0x0001076d9aea 
_ZN5zorba22ftprimary_with_options6acceptERNS_14ftnode_visitorE + 56
  11  libzorba_simplestore.2.1.0.dylib0x0001076daf9c 
_ZN5zorba11ftselection6acceptERNS_14ftnode_visitorE + 60
  12  libzorba_simplestore.2.1.0.dylib0x000107caf347 
_ZNK5zorba18FTContainsIterator8nextImplERNS_5store10ItemHandleINS1_4ItemEEERNS_9PlanStateE
 + 421
  13  libzorba_simplestore.2.1.0.dylib0x000107cadff9 
_ZNK5zorba7BatcherINS_18FTContainsIteratorEE11produceNextERNS_5store10ItemHandleINS3_4ItemEEERNS_9PlanStateE
 + 9
  14  libzorba_simplestore.2.1.0.dylib0x000107b50450 
_ZN5zorba11PlanWrapper4nextERNS_5store10ItemHandleINS1_4ItemEEE + 104
  15  libzorba_simplestore.2.1.0.dylib0x0001075788a8 
_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSoPNS_19SAX2_ContentHandlerE
 + 728
  16  libzorba_simplestore.2.1.0.dylib0x000107578a28 
_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSo + 62
  17  libzorba_simplestore.2.1.0.dylib0x0001075303aa 
_ZN5zorba10XQueryImpl9serializeERSoRNS_8rchandleINS_11PlanWrapperEEEPK23Zorba_SerializerOptions
 + 142
  18  libzorba_simplestore.2.1.0.dylib0x0001075305f4 
_ZN5zorba10XQueryImpl7executeERSoPK23Zorba_SerializerOptions + 428
  19  zorba   0x00010750fb66 
_Z17compileAndExecutePN5zorba5ZorbaERK18ZorbaCMDPropertiesRNS_8SmartPtrINS_13StaticContextEEERKSsRSiRSoR10TimingInfo
 + 1318
  20  zorba   0x000107511640 main + 3792
  21  zorba   0x00010750e794 start + 52
  22  ??? 0x0004 0x0 + 4
  Zorba error [zerr:ZXQP0002]: "thesaurus": assertion failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/928340/+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/fix-download-http-client into lp:zorba

2012-02-07 Thread Sorin Marian Nasoi
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/fix-download-http-client/+merge/91979
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 928340] Re: Full-Text Assertion failed

2012-02-07 Thread William Candillon
It just that this is the first example in the full-text documentation
and it fails in an epic manner so I have an hard time  to understands
how it's not critical but anyways...

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/928340

Title:
  Full-Text Assertion failed

Status in Zorba - The XQuery Processor:
  In Progress

Bug description:
  The following query:
  let $x := affluent man
  return $x contains text "wealthy"
using thesaurus at "http://wordnet.princeton.edu";

  Returns

  
  0   libzorba_simplestore.2.1.0.dylib0x000107813f8c 
_ZN5zorba16assertion_failedEPKcS1_i + 60
  1   libzorba_simplestore.2.1.0.dylib0x000107ca37e4 
_ZN5zorba18ftcontains_visitor16lookup_thesaurusERKNS_14ftthesaurus_idERKNS_7rstringINS_15rstring_classes3repINS_10atomic_intESt11char_traitsIcESaIcERKNS_7FTTokenERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaISL_EE
 + 440
  2   libzorba_simplestore.2.1.0.dylib0x000107ca3d36 
_ZN5zorba18ftcontains_visitor22apply_thesaurus_optionEPKNS_18ftthesaurus_optionERKNS_7rstringINS_15rstring_classes3repINS_10atomic_intESt11char_traitsIcESaIcERKNS_7FTTokenERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaISL_EEb
 + 180
  3   libzorba_simplestore.2.1.0.dylib0x000107ca529a 
_ZN5zorba18ftcontains_visitor28apply_query_tokens_as_phraseERNS_15FTTokenIteratorEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERSt4listINS_8ft_matchESaISE_EE
 + 494
  4   libzorba_simplestore.2.1.0.dylib0x000107ca65f4 
_ZN5zorba18ftcontains_visitor20apply_ftwords_phraseERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERS1_INS_8ft_matchESaISI_EE
 + 90
  5   libzorba_simplestore.2.1.0.dylib0x000107ca5c0f 
_ZN5zorba18ftcontains_visitor17apply_ftwords_anyERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERS1_INS_8ft_matchESaISI_EE
 + 189
  6   libzorba_simplestore.2.1.0.dylib0x000107ca6b6e 
_ZN5zorba18ftcontains_visitor13apply_ftwordsERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemENS_14ft_anyall_mode4typeERKNS_15ftmatch_optionsERS1_INS_8ft_matchESaISH_EE
 + 336
  7   libzorba_simplestore.2.1.0.dylib0x000107ca9ccc 
_ZN5zorba18ftcontains_visitor9end_visitERNS_7ftwordsE + 532
  8   libzorba_simplestore.2.1.0.dylib0x0001076dad30 
_ZN5zorba7ftwords6acceptERNS_14ftnode_visitorE + 96
  9   libzorba_simplestore.2.1.0.dylib0x0001076d9d4f 
_ZN5zorba13ftwords_times6acceptERNS_14ftnode_visitorE + 59
  10  libzorba_simplestore.2.1.0.dylib0x0001076d9aea 
_ZN5zorba22ftprimary_with_options6acceptERNS_14ftnode_visitorE + 56
  11  libzorba_simplestore.2.1.0.dylib0x0001076daf9c 
_ZN5zorba11ftselection6acceptERNS_14ftnode_visitorE + 60
  12  libzorba_simplestore.2.1.0.dylib0x000107caf347 
_ZNK5zorba18FTContainsIterator8nextImplERNS_5store10ItemHandleINS1_4ItemEEERNS_9PlanStateE
 + 421
  13  libzorba_simplestore.2.1.0.dylib0x000107cadff9 
_ZNK5zorba7BatcherINS_18FTContainsIteratorEE11produceNextERNS_5store10ItemHandleINS3_4ItemEEERNS_9PlanStateE
 + 9
  14  libzorba_simplestore.2.1.0.dylib0x000107b50450 
_ZN5zorba11PlanWrapper4nextERNS_5store10ItemHandleINS1_4ItemEEE + 104
  15  libzorba_simplestore.2.1.0.dylib0x0001075788a8 
_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSoPNS_19SAX2_ContentHandlerE
 + 728
  16  libzorba_simplestore.2.1.0.dylib0x000107578a28 
_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSo + 62
  17  libzorba_simplestore.2.1.0.dylib0x0001075303aa 
_ZN5zorba10XQueryImpl9serializeERSoRNS_8rchandleINS_11PlanWrapperEEEPK23Zorba_SerializerOptions
 + 142
  18  libzorba_simplestore.2.1.0.dylib0x0001075305f4 
_ZN5zorba10XQueryImpl7executeERSoPK23Zorba_SerializerOptions + 428
  19  zorba   0x00010750fb66 
_Z17compileAndExecutePN5zorba5ZorbaERK18ZorbaCMDPropertiesRNS_8SmartPtrINS_13StaticContextEEERKSsRSiRSoR10TimingInfo
 + 1318
  20  zorba   0x000107511640 main + 3792
  21  zorba   0x00010750e794 start + 52
  22  ??? 0x0004 0x0 + 4
  Zorba error [zerr:ZXQP0002]: "thesaurus": assertion failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/928340/+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/feature-transcode_streambuf into lp:zorba

2012-02-07 Thread Paul J. Lucas
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-transcode_streambuf/+merge/91980
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/fix-download-http-client into lp:zorba

2012-02-07 Thread Chris Hillery
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/fix-download-http-client/+merge/91979
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/fix-download-http-client into lp:zorba

2012-02-07 Thread Chris Hillery
Chris Hillery has proposed merging 
lp:~zorba-coders/zorba/fix-download-http-client into lp:zorba.

Requested reviews:
  Chris Hillery (ceejatec)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/fix-download-http-client/+merge/91979
-- 
https://code.launchpad.net/~zorba-coders/zorba/fix-download-http-client/+merge/91979
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'modules/ExternalModules.conf'
--- modules/ExternalModules.conf	2011-12-21 14:40:33 +
+++ modules/ExternalModules.conf	2012-02-08 05:58:20 +
@@ -32,7 +32,7 @@
 email   bzr  lp:zorba/email-module   zorba-2.1
 excel   bzr  lp:zorba/excel-module   zorba-2.1
 geo bzr  lp:zorba/geo-module zorba-2.1
-http-client bzr  lp:zorba/http-client-module zorba-2.1
+http-client bzr  lp:zorba/http-client-module 1.0
 image   bzr  lp:zorba/image-module   zorba-2.1
 languages   bzr  lp:zorba/languages-module   zorba-2.1
 oauth   bzr  lp:zorba/oauth-module   zorba-2.1

-- 
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 917981] Re: DECLARE_ZORBA_MODULE() should raise error on duplicates

2012-02-07 Thread Chris Hillery
** 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/917981

Title:
  DECLARE_ZORBA_MODULE() should raise error on duplicates

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  If you call DECLARE_ZORBA_MODULE() twice with the same URI, nothing
  happens, and you get duplicate entries in ZorbaManifest.xml. This
  sometimes messes up xqdoc generation.

  It should fail if the same module is declared twice with either the
  same version or with no version.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/917981/+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 928631] [NEW] wrong static context in built-in function in full-text module

2012-02-07 Thread Matthias Brantner
Public bug reported:

The error isn't raised if the schema is actually imported in the module that
invokes the function which does the validation. This probably means that
the static context of the function is the static context resulting from 
compiling
the importing module (instead the static context of the full-text module 
itself).

Alternatively, the in-scope element declarations could also become part
of all the static contexts of the query. I think we have had this discussion
a couple of times and I keep forgetting what we decided.

** Affects: zorba
 Importance: High
 Assignee: Matthias Brantner (matthias-brantner)
 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/928631

Title:
  wrong static context in built-in function in full-text module

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The error isn't raised if the schema is actually imported in the module that
  invokes the function which does the validation. This probably means that
  the static context of the function is the static context resulting from 
compiling
  the importing module (instead the static context of the full-text module 
itself).

  Alternatively, the in-scope element declarations could also become part
  of all the static contexts of the query. I think we have had this discussion
  a couple of times and I keep forgetting what we decided.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/928631/+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 928625] [NEW] java api not working on windows 7

2012-02-07 Thread Matthias Brantner
Public bug reported:

Reported by Stijn Tonk:

We are currently testing the first implementation of the java api and
ran into the following issue: The java api functions seems to work fine
on Windows Vista; however on our Windows 7 machine it give the following
error when trying to load the library in java via System.load:

java.lang.UnsatisfiedLinkError: C:\zorba_java_api_2_1_0\zorba_api.dll:
The specified procedure could not be found

When trying to load the library via System.loadlibrary it states:

java.lang.UnsatisfiedLinkError: C:\path\zorba_api.dll: The specified procedure 
could not be found 
at java.lang.ClassLoader$NativeLibrary.load(Unknown source) 
at java.lang.ClassLoader.loadLibrary0(Unknown source) 
at java.lang.ClassLoader.loadLibrary(Unknown source) 
at java.lang.Runtime.loadLibrary0(Unknown source) 
at java.lang.System.loadLibrary(Unknown source)

The PATH is set correctly and also contains the other binaries. It seems
that Windows 7 does not recognize the zorba_api as such. Have you got
any suggestions?

** Affects: zorba
 Importance: High
 Assignee: Rodolfo Ochoa (rodolfo-ochoa)
 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/928625

Title:
  java api not working on windows 7

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Reported by Stijn Tonk:

  We are currently testing the first implementation of the java api and
  ran into the following issue: The java api functions seems to work
  fine on Windows Vista; however on our Windows 7 machine it give the
  following error when trying to load the library in java via
  System.load:

  java.lang.UnsatisfiedLinkError: C:\zorba_java_api_2_1_0\zorba_api.dll:
  The specified procedure could not be found

  When trying to load the library via System.loadlibrary it states:

  java.lang.UnsatisfiedLinkError: C:\path\zorba_api.dll: The specified 
procedure could not be found 
  at java.lang.ClassLoader$NativeLibrary.load(Unknown source) 
  at java.lang.ClassLoader.loadLibrary0(Unknown source) 
  at java.lang.ClassLoader.loadLibrary(Unknown source) 
  at java.lang.Runtime.loadLibrary0(Unknown source) 
  at java.lang.System.loadLibrary(Unknown source)

  The PATH is set correctly and also contains the other binaries. It
  seems that Windows 7 does not recognize the zorba_api as such. Have
  you got any suggestions?

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/928625/+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] [NEW] no setting classpath in xsl-fo module

2012-02-07 Thread Matthias Brantner
Public bug reported:

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.

** Affects: zorba
 Importance: High
 Assignee: Cezar Andrei (cezar-andrei)
 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/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 928629] [NEW] XMLBeans module

2012-02-07 Thread Matthias Brantner
Public bug reported:

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.

** Affects: zorba
 Importance: High
 Assignee: Cezar Andrei (cezar-andrei)
 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/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 867105] Re: 60 Higher Order Functions tests fail in XQuery 3.0

2012-02-07 Thread Matthias Brantner
This feature is not yet fully implemented. Assigning to Nicolae because
he is working on the implementation.

** Changed in: zorba
 Assignee: Matthias Brantner (matthias-brantner) => Nicolae Brinza (nbrinza)

** Changed in: zorba
Milestone: None => 2.2

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/867105

Title:
  60 Higher Order Functions tests fail in XQuery 3.0

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The conformance reports for XQuery 3.0 can be found at :
  http://www.zorba-xquery.org/dokuwiki/doku.php?id=conformance_xquery_3.0

  Can you please take a look and mention if any of them should be fixed
  for Zorba 2.0 release.

  Thanks,
  Sorin

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867105/+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 867159] Re: fn:match fails if the string is non-utf8

2012-02-07 Thread Matthias Brantner
Paul, can you please mark this bug as fix committed as soon as the
transcoding_streambuffer branch has been merged? If I understood
correctly, these changes should resolve the bug.

** Changed in: zorba
 Assignee: Matthias Brantner (matthias-brantner) => Paul J. Lucas 
(paul-lucas)

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/867159

Title:
  fn:match fails if the string is non-utf8

Status in Zorba - The XQuery Processor:
  New

Bug description:
  I have a query that reads a lot of files and apply fn:match on them.
  Some files have non-utf8 characters, and file:read-text reads with no problem.
  fn:matches calls to_string to convert to ICU string, but that fails. So 
fn:matches returns false, although I think it should raise an error. Actually 
to_string should raise an error, otherwise the non-utf8 problem gets unnoticed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867159/+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 928135] Re: Segmentation fault while using Item or ItemFactory class in python

2012-02-07 Thread Matthias Brantner
** Changed in: zorba
Milestone: None => 2.2

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/928135

Title:
  Segmentation fault while using Item or ItemFactory class in python

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Here's the code to reproduce errors:

  >>> import zorba_api
  >>> item = zorba_api.ItemFactory()
  >>> content_item.createInteger(4)
  Segmentation fault


  Zorba Version: 2.1.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/928135/+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/3.0 into lp:zorba

2012-02-07 Thread Zorba Build Bot
The proposal to merge lp:zorba/3.0 into lp:zorba has been updated.

Status: Approved => Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/91966
-- 
https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/91966
Your team Zorba Coders is requested to review the proposed merge of 
lp:zorba/3.0 into lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:zorba/3.0 into lp:~zorba-coders/zorba/zorba-experimental

2012-02-07 Thread Zorba Build Bot
The proposal to merge lp:zorba/3.0 into 
lp:~zorba-coders/zorba/zorba-experimental has been updated.

Status: Approved => Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/91965
-- 
https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/91965
Your team Zorba Coders is requested to review the proposed merge of 
lp:zorba/3.0 into lp:~zorba-coders/zorba/zorba-experimental.

-- 
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/3.0 into lp:zorba

2012-02-07 Thread Zorba Build Bot
Attempt to merge into lp:zorba failed due to conflicts: 

text conflict in src/store/naive/item.cpp
text conflict in src/store/naive/simple_pul.cpp
-- 
https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/91966
Your team Zorba Coders is requested to review the proposed merge of 
lp:zorba/3.0 into lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:zorba/3.0 into lp:~zorba-coders/zorba/zorba-experimental

2012-02-07 Thread Zorba Build Bot
The attempt to merge lp:zorba/3.0 into 
lp:~zorba-coders/zorba/zorba-experimental failed. Below is the output from the 
failed tests.

experimental build started for lp:zorba/3.0. Check out 
http://3.0.zorba-xquery.com/ in half an hour or so. Logfile at 
http://zorbatest.lambda.nu:8080/remotequeue/experimental/3.0.log .


-- 
https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/91965
Your team Zorba Coders is requested to review the proposed merge of 
lp:zorba/3.0 into lp:~zorba-coders/zorba/zorba-experimental.

-- 
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/3.0 into lp:zorba

2012-02-07 Thread Matthias Brantner
The proposal to merge lp:zorba/3.0 into lp:zorba has been updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/91966
-- 
https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/91966
Your team Zorba Coders is requested to review the proposed merge of 
lp:zorba/3.0 into lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:zorba/3.0 into lp:zorba

2012-02-07 Thread Matthias Brantner
The proposal to merge lp:zorba/3.0 into lp:zorba has been updated.

Commit Message changed to:

...

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/91966
-- 
https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/91966
Your team Zorba Coders is requested to review the proposed merge of 
lp:zorba/3.0 into lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:zorba/3.0 into lp:~zorba-coders/zorba/zorba-experimental

2012-02-07 Thread Matthias Brantner
The proposal to merge lp:zorba/3.0 into 
lp:~zorba-coders/zorba/zorba-experimental has been updated.

Commit Message changed to:

...

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/91965
-- 
https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/91965
Your team Zorba Coders is requested to review the proposed merge of 
lp:zorba/3.0 into lp:~zorba-coders/zorba/zorba-experimental.

-- 
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/3.0 into lp:~zorba-coders/zorba/zorba-experimental

2012-02-07 Thread Matthias Brantner
The proposal to merge lp:zorba/3.0 into 
lp:~zorba-coders/zorba/zorba-experimental has been updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/91965
-- 
https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/91965
Your team Zorba Coders is requested to review the proposed merge of 
lp:zorba/3.0 into lp:~zorba-coders/zorba/zorba-experimental.

-- 
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-declare-module-bug917981 into lp:zorba

2012-02-07 Thread noreply
The proposal to merge lp:~zorba-coders/zorba/fix-declare-module-bug917981 into 
lp:zorba has been updated.

Status: Approved => Merged

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/fix-declare-module-bug917981/+merge/88977
-- 
https://code.launchpad.net/~zorba-coders/zorba/fix-declare-module-bug917981/+merge/88977
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/fix-declare-module-bug917981 into lp:zorba

2012-02-07 Thread Zorba Build Bot
Validation queue job fix-declare-module-bug917981-2012-02-08T01-30-59.111Z is 
finished. The final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/fix-declare-module-bug917981/+merge/88977
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/fix-declare-module-bug917981 into lp:zorba

2012-02-07 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/fix-declare-module-bug917981-2012-02-08T01-30-59.111Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/fix-declare-module-bug917981/+merge/88977
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/fix-declare-module-bug917981 into lp:zorba

2012-02-07 Thread Chris Hillery
The proposal to merge lp:~zorba-coders/zorba/fix-declare-module-bug917981 into 
lp:zorba has been updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/fix-declare-module-bug917981/+merge/88977
-- 
https://code.launchpad.net/~zorba-coders/zorba/fix-declare-module-bug917981/+merge/88977
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 920717] Re: json 2.0 bug: json:serialize(json:parse(VALID_JSON))

2012-02-07 Thread Paul J. Lucas
It was an unrelated bug.

** 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/920717

Title:
  json 2.0 bug: json:serialize(json:parse(VALID_JSON))

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  Should be possible to call json:serialize(json:parse(VALID_JSON))
  where VALID_JSON is any valid JSON string
  see added failing test test/rbkt/zorba/json/json-snelson-serialize-parse:

  
  import module namespace 
json="http://www.zorba-xquery.com/modules/converters/json";;
  declare variable $json-value := '{"html":"bold"}';
  json:serialize(json:parse($json-value))

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/920717/+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/feature-json_parser into lp:zorba

2012-02-07 Thread Paul J. Lucas
It was an unrelated bug -- fixed.
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/91959
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

2012-02-07 Thread Paul J. Lucas
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/91959
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:~gislenius/zorba/jsoniq-pair-operator into lp:zorba/3.0

2012-02-07 Thread noreply
The proposal to merge lp:~gislenius/zorba/jsoniq-pair-operator into 
lp:zorba/3.0 has been updated.

Status: Needs review => Merged

For more details, see:
https://code.launchpad.net/~gislenius/zorba/jsoniq-pair-operator/+merge/91845
-- 
https://code.launchpad.net/~gislenius/zorba/jsoniq-pair-operator/+merge/91845
Your team Zorba Coders is subscribed to branch lp:zorba/3.0.

-- 
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:~gislenius/zorba/jsoniq-truefalsenull into lp:zorba/3.0

2012-02-07 Thread noreply
The proposal to merge lp:~gislenius/zorba/jsoniq-truefalsenull into 
lp:zorba/3.0 has been updated.

Status: Needs review => Merged

For more details, see:
https://code.launchpad.net/~gislenius/zorba/jsoniq-truefalsenull/+merge/91844
-- 
https://code.launchpad.net/~gislenius/zorba/jsoniq-truefalsenull/+merge/91844
Your team Zorba Coders is subscribed to branch lp:zorba/3.0.

-- 
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 928340] Re: Full-Text Assertion failed

2012-02-07 Thread Paul J. Lucas
Are we going to keep changing the Importance back and forth all day?

** Changed in: zorba
   Importance: Critical => Medium

** Branch linked: lp:~paul-lucas/zorba/bug-928340

** Changed in: zorba
   Status: Incomplete => 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/928340

Title:
  Full-Text Assertion failed

Status in Zorba - The XQuery Processor:
  In Progress

Bug description:
  The following query:
  let $x := affluent man
  return $x contains text "wealthy"
using thesaurus at "http://wordnet.princeton.edu";

  Returns

  
  0   libzorba_simplestore.2.1.0.dylib0x000107813f8c 
_ZN5zorba16assertion_failedEPKcS1_i + 60
  1   libzorba_simplestore.2.1.0.dylib0x000107ca37e4 
_ZN5zorba18ftcontains_visitor16lookup_thesaurusERKNS_14ftthesaurus_idERKNS_7rstringINS_15rstring_classes3repINS_10atomic_intESt11char_traitsIcESaIcERKNS_7FTTokenERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaISL_EE
 + 440
  2   libzorba_simplestore.2.1.0.dylib0x000107ca3d36 
_ZN5zorba18ftcontains_visitor22apply_thesaurus_optionEPKNS_18ftthesaurus_optionERKNS_7rstringINS_15rstring_classes3repINS_10atomic_intESt11char_traitsIcESaIcERKNS_7FTTokenERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaISL_EEb
 + 180
  3   libzorba_simplestore.2.1.0.dylib0x000107ca529a 
_ZN5zorba18ftcontains_visitor28apply_query_tokens_as_phraseERNS_15FTTokenIteratorEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERSt4listINS_8ft_matchESaISE_EE
 + 494
  4   libzorba_simplestore.2.1.0.dylib0x000107ca65f4 
_ZN5zorba18ftcontains_visitor20apply_ftwords_phraseERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERS1_INS_8ft_matchESaISI_EE
 + 90
  5   libzorba_simplestore.2.1.0.dylib0x000107ca5c0f 
_ZN5zorba18ftcontains_visitor17apply_ftwords_anyERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERS1_INS_8ft_matchESaISI_EE
 + 189
  6   libzorba_simplestore.2.1.0.dylib0x000107ca6b6e 
_ZN5zorba18ftcontains_visitor13apply_ftwordsERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemENS_14ft_anyall_mode4typeERKNS_15ftmatch_optionsERS1_INS_8ft_matchESaISH_EE
 + 336
  7   libzorba_simplestore.2.1.0.dylib0x000107ca9ccc 
_ZN5zorba18ftcontains_visitor9end_visitERNS_7ftwordsE + 532
  8   libzorba_simplestore.2.1.0.dylib0x0001076dad30 
_ZN5zorba7ftwords6acceptERNS_14ftnode_visitorE + 96
  9   libzorba_simplestore.2.1.0.dylib0x0001076d9d4f 
_ZN5zorba13ftwords_times6acceptERNS_14ftnode_visitorE + 59
  10  libzorba_simplestore.2.1.0.dylib0x0001076d9aea 
_ZN5zorba22ftprimary_with_options6acceptERNS_14ftnode_visitorE + 56
  11  libzorba_simplestore.2.1.0.dylib0x0001076daf9c 
_ZN5zorba11ftselection6acceptERNS_14ftnode_visitorE + 60
  12  libzorba_simplestore.2.1.0.dylib0x000107caf347 
_ZNK5zorba18FTContainsIterator8nextImplERNS_5store10ItemHandleINS1_4ItemEEERNS_9PlanStateE
 + 421
  13  libzorba_simplestore.2.1.0.dylib0x000107cadff9 
_ZNK5zorba7BatcherINS_18FTContainsIteratorEE11produceNextERNS_5store10ItemHandleINS3_4ItemEEERNS_9PlanStateE
 + 9
  14  libzorba_simplestore.2.1.0.dylib0x000107b50450 
_ZN5zorba11PlanWrapper4nextERNS_5store10ItemHandleINS1_4ItemEEE + 104
  15  libzorba_simplestore.2.1.0.dylib0x0001075788a8 
_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSoPNS_19SAX2_ContentHandlerE
 + 728
  16  libzorba_simplestore.2.1.0.dylib0x000107578a28 
_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSo + 62
  17  libzorba_simplestore.2.1.0.dylib0x0001075303aa 
_ZN5zorba10XQueryImpl9serializeERSoRNS_8rchandleINS_11PlanWrapperEEEPK23Zorba_SerializerOptions
 + 142
  18  libzorba_simplestore.2.1.0.dylib0x0001075305f4 
_ZN5zorba10XQueryImpl7executeERSoPK23Zorba_SerializerOptions + 428
  19  zorba   0x00010750fb66 
_Z17compileAndExecutePN5zorba5ZorbaERK18ZorbaCMDPropertiesRNS_8SmartPtrINS_13StaticContextEEERKSsRSiRSoR10TimingInfo
 + 1318
  20  zorba   0x000107511640 main + 3792
  21  zorba   0x00010750e794 start + 52
  22  ??? 0x0004 0x0 + 4
  Zorba error [zerr:ZXQP0002]: "thesaurus": assertion failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/928340/+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:~paul-lucas/zorba/bug-928340 into lp:zorba

2012-02-07 Thread Paul J. Lucas
Review: Approve


-- 
https://code.launchpad.net/~paul-lucas/zorba/bug-928340/+merge/91924
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:~paul-lucas/zorba/bug-928340 into lp:zorba

2012-02-07 Thread Paul J. Lucas
Paul J. Lucas has proposed merging lp:~paul-lucas/zorba/bug-928340 into 
lp:zorba.

Requested reviews:
  Paul J. Lucas (paul-lucas)
  William Candillon (wcandillon)
Related bugs:
  Bug #928340 in Zorba: "Full-Text Assertion failed"
  https://bugs.launchpad.net/zorba/+bug/928340

For more details, see:
https://code.launchpad.net/~paul-lucas/zorba/bug-928340/+merge/91924

Simple fix.
-- 
https://code.launchpad.net/~paul-lucas/zorba/bug-928340/+merge/91924
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/runtime/full_text/apply.cpp'
--- src/runtime/full_text/apply.cpp	2011-10-21 01:51:42 +
+++ src/runtime/full_text/apply.cpp	2012-02-07 21:47:20 +
@@ -1219,7 +1219,8 @@
   internal::Thesaurus::ptr thesaurus(
 dynamic_cast( rsrc.release() )
   );
-  ZORBA_ASSERT( thesaurus );
+  if ( !thesaurus )
+throw XQUERY_EXCEPTION( err::FTST0018, ERROR_PARAMS( uri ) );
 
   internal::Thesaurus::iterator::ptr tresult(
 thesaurus->lookup(

-- 
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 928340] Re: Full-Text Assertion failed

2012-02-07 Thread William Candillon
** Changed in: zorba
   Importance: Medium => Critical

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/928340

Title:
  Full-Text Assertion failed

Status in Zorba - The XQuery Processor:
  Incomplete

Bug description:
  The following query:
  let $x := affluent man
  return $x contains text "wealthy"
using thesaurus at "http://wordnet.princeton.edu";

  Returns

  
  0   libzorba_simplestore.2.1.0.dylib0x000107813f8c 
_ZN5zorba16assertion_failedEPKcS1_i + 60
  1   libzorba_simplestore.2.1.0.dylib0x000107ca37e4 
_ZN5zorba18ftcontains_visitor16lookup_thesaurusERKNS_14ftthesaurus_idERKNS_7rstringINS_15rstring_classes3repINS_10atomic_intESt11char_traitsIcESaIcERKNS_7FTTokenERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaISL_EE
 + 440
  2   libzorba_simplestore.2.1.0.dylib0x000107ca3d36 
_ZN5zorba18ftcontains_visitor22apply_thesaurus_optionEPKNS_18ftthesaurus_optionERKNS_7rstringINS_15rstring_classes3repINS_10atomic_intESt11char_traitsIcESaIcERKNS_7FTTokenERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaISL_EEb
 + 180
  3   libzorba_simplestore.2.1.0.dylib0x000107ca529a 
_ZN5zorba18ftcontains_visitor28apply_query_tokens_as_phraseERNS_15FTTokenIteratorEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERSt4listINS_8ft_matchESaISE_EE
 + 494
  4   libzorba_simplestore.2.1.0.dylib0x000107ca65f4 
_ZN5zorba18ftcontains_visitor20apply_ftwords_phraseERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERS1_INS_8ft_matchESaISI_EE
 + 90
  5   libzorba_simplestore.2.1.0.dylib0x000107ca5c0f 
_ZN5zorba18ftcontains_visitor17apply_ftwords_anyERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERS1_INS_8ft_matchESaISI_EE
 + 189
  6   libzorba_simplestore.2.1.0.dylib0x000107ca6b6e 
_ZN5zorba18ftcontains_visitor13apply_ftwordsERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemENS_14ft_anyall_mode4typeERKNS_15ftmatch_optionsERS1_INS_8ft_matchESaISH_EE
 + 336
  7   libzorba_simplestore.2.1.0.dylib0x000107ca9ccc 
_ZN5zorba18ftcontains_visitor9end_visitERNS_7ftwordsE + 532
  8   libzorba_simplestore.2.1.0.dylib0x0001076dad30 
_ZN5zorba7ftwords6acceptERNS_14ftnode_visitorE + 96
  9   libzorba_simplestore.2.1.0.dylib0x0001076d9d4f 
_ZN5zorba13ftwords_times6acceptERNS_14ftnode_visitorE + 59
  10  libzorba_simplestore.2.1.0.dylib0x0001076d9aea 
_ZN5zorba22ftprimary_with_options6acceptERNS_14ftnode_visitorE + 56
  11  libzorba_simplestore.2.1.0.dylib0x0001076daf9c 
_ZN5zorba11ftselection6acceptERNS_14ftnode_visitorE + 60
  12  libzorba_simplestore.2.1.0.dylib0x000107caf347 
_ZNK5zorba18FTContainsIterator8nextImplERNS_5store10ItemHandleINS1_4ItemEEERNS_9PlanStateE
 + 421
  13  libzorba_simplestore.2.1.0.dylib0x000107cadff9 
_ZNK5zorba7BatcherINS_18FTContainsIteratorEE11produceNextERNS_5store10ItemHandleINS3_4ItemEEERNS_9PlanStateE
 + 9
  14  libzorba_simplestore.2.1.0.dylib0x000107b50450 
_ZN5zorba11PlanWrapper4nextERNS_5store10ItemHandleINS1_4ItemEEE + 104
  15  libzorba_simplestore.2.1.0.dylib0x0001075788a8 
_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSoPNS_19SAX2_ContentHandlerE
 + 728
  16  libzorba_simplestore.2.1.0.dylib0x000107578a28 
_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSo + 62
  17  libzorba_simplestore.2.1.0.dylib0x0001075303aa 
_ZN5zorba10XQueryImpl9serializeERSoRNS_8rchandleINS_11PlanWrapperEEEPK23Zorba_SerializerOptions
 + 142
  18  libzorba_simplestore.2.1.0.dylib0x0001075305f4 
_ZN5zorba10XQueryImpl7executeERSoPK23Zorba_SerializerOptions + 428
  19  zorba   0x00010750fb66 
_Z17compileAndExecutePN5zorba5ZorbaERK18ZorbaCMDPropertiesRNS_8SmartPtrINS_13StaticContextEEERKSsRSiRSoR10TimingInfo
 + 1318
  20  zorba   0x000107511640 main + 3792
  21  zorba   0x00010750e794 start + 52
  22  ??? 0x0004 0x0 + 4
  Zorba error [zerr:ZXQP0002]: "thesaurus": assertion failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/928340/+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 928340] Re: Full-Text Assertion failed

2012-02-07 Thread Paul J. Lucas
Importance downgraded since, if you specify the necessary arguments, the
query works just fine.

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/928340

Title:
  Full-Text Assertion failed

Status in Zorba - The XQuery Processor:
  Incomplete

Bug description:
  The following query:
  let $x := affluent man
  return $x contains text "wealthy"
using thesaurus at "http://wordnet.princeton.edu";

  Returns

  
  0   libzorba_simplestore.2.1.0.dylib0x000107813f8c 
_ZN5zorba16assertion_failedEPKcS1_i + 60
  1   libzorba_simplestore.2.1.0.dylib0x000107ca37e4 
_ZN5zorba18ftcontains_visitor16lookup_thesaurusERKNS_14ftthesaurus_idERKNS_7rstringINS_15rstring_classes3repINS_10atomic_intESt11char_traitsIcESaIcERKNS_7FTTokenERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaISL_EE
 + 440
  2   libzorba_simplestore.2.1.0.dylib0x000107ca3d36 
_ZN5zorba18ftcontains_visitor22apply_thesaurus_optionEPKNS_18ftthesaurus_optionERKNS_7rstringINS_15rstring_classes3repINS_10atomic_intESt11char_traitsIcESaIcERKNS_7FTTokenERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaISL_EEb
 + 180
  3   libzorba_simplestore.2.1.0.dylib0x000107ca529a 
_ZN5zorba18ftcontains_visitor28apply_query_tokens_as_phraseERNS_15FTTokenIteratorEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERSt4listINS_8ft_matchESaISE_EE
 + 494
  4   libzorba_simplestore.2.1.0.dylib0x000107ca65f4 
_ZN5zorba18ftcontains_visitor20apply_ftwords_phraseERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERS1_INS_8ft_matchESaISI_EE
 + 90
  5   libzorba_simplestore.2.1.0.dylib0x000107ca5c0f 
_ZN5zorba18ftcontains_visitor17apply_ftwords_anyERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERS1_INS_8ft_matchESaISI_EE
 + 189
  6   libzorba_simplestore.2.1.0.dylib0x000107ca6b6e 
_ZN5zorba18ftcontains_visitor13apply_ftwordsERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemENS_14ft_anyall_mode4typeERKNS_15ftmatch_optionsERS1_INS_8ft_matchESaISH_EE
 + 336
  7   libzorba_simplestore.2.1.0.dylib0x000107ca9ccc 
_ZN5zorba18ftcontains_visitor9end_visitERNS_7ftwordsE + 532
  8   libzorba_simplestore.2.1.0.dylib0x0001076dad30 
_ZN5zorba7ftwords6acceptERNS_14ftnode_visitorE + 96
  9   libzorba_simplestore.2.1.0.dylib0x0001076d9d4f 
_ZN5zorba13ftwords_times6acceptERNS_14ftnode_visitorE + 59
  10  libzorba_simplestore.2.1.0.dylib0x0001076d9aea 
_ZN5zorba22ftprimary_with_options6acceptERNS_14ftnode_visitorE + 56
  11  libzorba_simplestore.2.1.0.dylib0x0001076daf9c 
_ZN5zorba11ftselection6acceptERNS_14ftnode_visitorE + 60
  12  libzorba_simplestore.2.1.0.dylib0x000107caf347 
_ZNK5zorba18FTContainsIterator8nextImplERNS_5store10ItemHandleINS1_4ItemEEERNS_9PlanStateE
 + 421
  13  libzorba_simplestore.2.1.0.dylib0x000107cadff9 
_ZNK5zorba7BatcherINS_18FTContainsIteratorEE11produceNextERNS_5store10ItemHandleINS3_4ItemEEERNS_9PlanStateE
 + 9
  14  libzorba_simplestore.2.1.0.dylib0x000107b50450 
_ZN5zorba11PlanWrapper4nextERNS_5store10ItemHandleINS1_4ItemEEE + 104
  15  libzorba_simplestore.2.1.0.dylib0x0001075788a8 
_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSoPNS_19SAX2_ContentHandlerE
 + 728
  16  libzorba_simplestore.2.1.0.dylib0x000107578a28 
_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSo + 62
  17  libzorba_simplestore.2.1.0.dylib0x0001075303aa 
_ZN5zorba10XQueryImpl9serializeERSoRNS_8rchandleINS_11PlanWrapperEEEPK23Zorba_SerializerOptions
 + 142
  18  libzorba_simplestore.2.1.0.dylib0x0001075305f4 
_ZN5zorba10XQueryImpl7executeERSoPK23Zorba_SerializerOptions + 428
  19  zorba   0x00010750fb66 
_Z17compileAndExecutePN5zorba5ZorbaERK18ZorbaCMDPropertiesRNS_8SmartPtrINS_13StaticContextEEERKSsRSiRSoR10TimingInfo
 + 1318
  20  zorba   0x000107511640 main + 3792
  21  zorba   0x00010750e794 start + 52
  22  ??? 0x0004 0x0 + 4
  Zorba error [zerr:ZXQP0002]: "thesaurus": assertion failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/928340/+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 928340] Re: Full-Text Assertion failed

2012-02-07 Thread Paul J. Lucas
When I execute that commend, yes, I get the same error. However, you
never said how you executed the query in your original bug report.

** Changed in: zorba
   Importance: Critical => 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/928340

Title:
  Full-Text Assertion failed

Status in Zorba - The XQuery Processor:
  Incomplete

Bug description:
  The following query:
  let $x := affluent man
  return $x contains text "wealthy"
using thesaurus at "http://wordnet.princeton.edu";

  Returns

  
  0   libzorba_simplestore.2.1.0.dylib0x000107813f8c 
_ZN5zorba16assertion_failedEPKcS1_i + 60
  1   libzorba_simplestore.2.1.0.dylib0x000107ca37e4 
_ZN5zorba18ftcontains_visitor16lookup_thesaurusERKNS_14ftthesaurus_idERKNS_7rstringINS_15rstring_classes3repINS_10atomic_intESt11char_traitsIcESaIcERKNS_7FTTokenERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaISL_EE
 + 440
  2   libzorba_simplestore.2.1.0.dylib0x000107ca3d36 
_ZN5zorba18ftcontains_visitor22apply_thesaurus_optionEPKNS_18ftthesaurus_optionERKNS_7rstringINS_15rstring_classes3repINS_10atomic_intESt11char_traitsIcESaIcERKNS_7FTTokenERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaISL_EEb
 + 180
  3   libzorba_simplestore.2.1.0.dylib0x000107ca529a 
_ZN5zorba18ftcontains_visitor28apply_query_tokens_as_phraseERNS_15FTTokenIteratorEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERSt4listINS_8ft_matchESaISE_EE
 + 494
  4   libzorba_simplestore.2.1.0.dylib0x000107ca65f4 
_ZN5zorba18ftcontains_visitor20apply_ftwords_phraseERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERS1_INS_8ft_matchESaISI_EE
 + 90
  5   libzorba_simplestore.2.1.0.dylib0x000107ca5c0f 
_ZN5zorba18ftcontains_visitor17apply_ftwords_anyERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERS1_INS_8ft_matchESaISI_EE
 + 189
  6   libzorba_simplestore.2.1.0.dylib0x000107ca6b6e 
_ZN5zorba18ftcontains_visitor13apply_ftwordsERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemENS_14ft_anyall_mode4typeERKNS_15ftmatch_optionsERS1_INS_8ft_matchESaISH_EE
 + 336
  7   libzorba_simplestore.2.1.0.dylib0x000107ca9ccc 
_ZN5zorba18ftcontains_visitor9end_visitERNS_7ftwordsE + 532
  8   libzorba_simplestore.2.1.0.dylib0x0001076dad30 
_ZN5zorba7ftwords6acceptERNS_14ftnode_visitorE + 96
  9   libzorba_simplestore.2.1.0.dylib0x0001076d9d4f 
_ZN5zorba13ftwords_times6acceptERNS_14ftnode_visitorE + 59
  10  libzorba_simplestore.2.1.0.dylib0x0001076d9aea 
_ZN5zorba22ftprimary_with_options6acceptERNS_14ftnode_visitorE + 56
  11  libzorba_simplestore.2.1.0.dylib0x0001076daf9c 
_ZN5zorba11ftselection6acceptERNS_14ftnode_visitorE + 60
  12  libzorba_simplestore.2.1.0.dylib0x000107caf347 
_ZNK5zorba18FTContainsIterator8nextImplERNS_5store10ItemHandleINS1_4ItemEEERNS_9PlanStateE
 + 421
  13  libzorba_simplestore.2.1.0.dylib0x000107cadff9 
_ZNK5zorba7BatcherINS_18FTContainsIteratorEE11produceNextERNS_5store10ItemHandleINS3_4ItemEEERNS_9PlanStateE
 + 9
  14  libzorba_simplestore.2.1.0.dylib0x000107b50450 
_ZN5zorba11PlanWrapper4nextERNS_5store10ItemHandleINS1_4ItemEEE + 104
  15  libzorba_simplestore.2.1.0.dylib0x0001075788a8 
_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSoPNS_19SAX2_ContentHandlerE
 + 728
  16  libzorba_simplestore.2.1.0.dylib0x000107578a28 
_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSo + 62
  17  libzorba_simplestore.2.1.0.dylib0x0001075303aa 
_ZN5zorba10XQueryImpl9serializeERSoRNS_8rchandleINS_11PlanWrapperEEEPK23Zorba_SerializerOptions
 + 142
  18  libzorba_simplestore.2.1.0.dylib0x0001075305f4 
_ZN5zorba10XQueryImpl7executeERSoPK23Zorba_SerializerOptions + 428
  19  zorba   0x00010750fb66 
_Z17compileAndExecutePN5zorba5ZorbaERK18ZorbaCMDPropertiesRNS_8SmartPtrINS_13StaticContextEEERKSsRSiRSoR10TimingInfo
 + 1318
  20  zorba   0x000107511640 main + 3792
  21  zorba   0x00010750e794 start + 52
  22  ??? 0x0004 0x0 + 4
  Zorba error [zerr:ZXQP0002]: "thesaurus": assertion failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/928340/+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 867359] Re: xqdoc printer should also print function bodies

2012-02-07 Thread Sorin Marian Nasoi
*** This bug is a duplicate of bug 866739 ***
https://bugs.launchpad.net/bugs/866739

Duplicate of bug lp:866739.

created feature requests #3081937 for it.

Marking this as "Won't fix"

** This bug has been marked a duplicate of bug 866739
   xqdoc printer should also print function bodies

** Changed in: zorba
   Status: Unknown => Won't Fix

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/867359

Title:
  xqdoc printer should also print function bodies

Status in Zorba - The XQuery Processor:
  Won't Fix

Bug description:
  The xqDoc schema specifies for each function to also put the plain
  text body of the function into the generated xqDoc XML. This is
  currently missing. In order to implement this, we need a printer
  visitor based on the AST.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867359/+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 928454] [NEW] de-coupling teh XQDoc XHTMLS and Zorba CSS

2012-02-07 Thread Sorin Marian Nasoi
Public bug reported:

"To return HTML code that is semantically correct (for instance Foo 
instead of )"
"To have all id and class names prefixed by _xqdoc"

Basically this would mean to remove as much as possible the coupling of
the XQDoc XHTML and the Zorba CSS.

** 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/928454

Title:
  de-coupling teh XQDoc XHTMLS and Zorba CSS

Status in Zorba - The XQuery Processor:
  New

Bug description:
  "To return HTML code that is semantically correct (for instance Foo 
instead of )"
  "To have all id and class names prefixed by _xqdoc"

  Basically this would mean to remove as much as possible the coupling
  of the XQDoc XHTML and the Zorba CSS.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/928454/+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 928340] Re: Full-Text Assertion failed

2012-02-07 Thread William Candillon
bin/zorba -f --thesaurus http://wordnet.princeton.edu:=/path/to/wordnet-en.zth 
-q /tmp/x.xq
Works fine for me too.

What about bin/zorba -q /tmp/x.xq -f?
You don't get the same error as I do?

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/928340

Title:
  Full-Text Assertion failed

Status in Zorba - The XQuery Processor:
  Incomplete

Bug description:
  The following query:
  let $x := affluent man
  return $x contains text "wealthy"
using thesaurus at "http://wordnet.princeton.edu";

  Returns

  
  0   libzorba_simplestore.2.1.0.dylib0x000107813f8c 
_ZN5zorba16assertion_failedEPKcS1_i + 60
  1   libzorba_simplestore.2.1.0.dylib0x000107ca37e4 
_ZN5zorba18ftcontains_visitor16lookup_thesaurusERKNS_14ftthesaurus_idERKNS_7rstringINS_15rstring_classes3repINS_10atomic_intESt11char_traitsIcESaIcERKNS_7FTTokenERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaISL_EE
 + 440
  2   libzorba_simplestore.2.1.0.dylib0x000107ca3d36 
_ZN5zorba18ftcontains_visitor22apply_thesaurus_optionEPKNS_18ftthesaurus_optionERKNS_7rstringINS_15rstring_classes3repINS_10atomic_intESt11char_traitsIcESaIcERKNS_7FTTokenERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaISL_EEb
 + 180
  3   libzorba_simplestore.2.1.0.dylib0x000107ca529a 
_ZN5zorba18ftcontains_visitor28apply_query_tokens_as_phraseERNS_15FTTokenIteratorEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERSt4listINS_8ft_matchESaISE_EE
 + 494
  4   libzorba_simplestore.2.1.0.dylib0x000107ca65f4 
_ZN5zorba18ftcontains_visitor20apply_ftwords_phraseERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERS1_INS_8ft_matchESaISI_EE
 + 90
  5   libzorba_simplestore.2.1.0.dylib0x000107ca5c0f 
_ZN5zorba18ftcontains_visitor17apply_ftwords_anyERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERS1_INS_8ft_matchESaISI_EE
 + 189
  6   libzorba_simplestore.2.1.0.dylib0x000107ca6b6e 
_ZN5zorba18ftcontains_visitor13apply_ftwordsERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemENS_14ft_anyall_mode4typeERKNS_15ftmatch_optionsERS1_INS_8ft_matchESaISH_EE
 + 336
  7   libzorba_simplestore.2.1.0.dylib0x000107ca9ccc 
_ZN5zorba18ftcontains_visitor9end_visitERNS_7ftwordsE + 532
  8   libzorba_simplestore.2.1.0.dylib0x0001076dad30 
_ZN5zorba7ftwords6acceptERNS_14ftnode_visitorE + 96
  9   libzorba_simplestore.2.1.0.dylib0x0001076d9d4f 
_ZN5zorba13ftwords_times6acceptERNS_14ftnode_visitorE + 59
  10  libzorba_simplestore.2.1.0.dylib0x0001076d9aea 
_ZN5zorba22ftprimary_with_options6acceptERNS_14ftnode_visitorE + 56
  11  libzorba_simplestore.2.1.0.dylib0x0001076daf9c 
_ZN5zorba11ftselection6acceptERNS_14ftnode_visitorE + 60
  12  libzorba_simplestore.2.1.0.dylib0x000107caf347 
_ZNK5zorba18FTContainsIterator8nextImplERNS_5store10ItemHandleINS1_4ItemEEERNS_9PlanStateE
 + 421
  13  libzorba_simplestore.2.1.0.dylib0x000107cadff9 
_ZNK5zorba7BatcherINS_18FTContainsIteratorEE11produceNextERNS_5store10ItemHandleINS3_4ItemEEERNS_9PlanStateE
 + 9
  14  libzorba_simplestore.2.1.0.dylib0x000107b50450 
_ZN5zorba11PlanWrapper4nextERNS_5store10ItemHandleINS1_4ItemEEE + 104
  15  libzorba_simplestore.2.1.0.dylib0x0001075788a8 
_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSoPNS_19SAX2_ContentHandlerE
 + 728
  16  libzorba_simplestore.2.1.0.dylib0x000107578a28 
_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSo + 62
  17  libzorba_simplestore.2.1.0.dylib0x0001075303aa 
_ZN5zorba10XQueryImpl9serializeERSoRNS_8rchandleINS_11PlanWrapperEEEPK23Zorba_SerializerOptions
 + 142
  18  libzorba_simplestore.2.1.0.dylib0x0001075305f4 
_ZN5zorba10XQueryImpl7executeERSoPK23Zorba_SerializerOptions + 428
  19  zorba   0x00010750fb66 
_Z17compileAndExecutePN5zorba5ZorbaERK18ZorbaCMDPropertiesRNS_8SmartPtrINS_13StaticContextEEERKSsRSiRSoR10TimingInfo
 + 1318
  20  zorba   0x000107511640 main + 3792
  21  zorba   0x00010750e794 start + 52
  22  ??? 0x0004 0x0 + 4
  Zorba error [zerr:ZXQP0002]: "thesaurus": assertion failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/928340/+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 867374] Re: Improve XQDoc Documentation

2012-02-07 Thread Sorin Marian Nasoi
We already have XML and XQuery syntax highlighting in XQDoc.
William already implemented disqus support.

** Changed in: zorba
 Assignee: nobody (nobody-users) => Sorin Marian Nasoi (sorin.marian.nasoi)

** 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/867374

Title:
  Improve XQDoc Documentation

Status in Zorba - The XQuery Processor:
  Invalid

Bug description:
  The documentation experience can be improve in two ways:
  - Add syntax highlighting for  elements
  - Add user comments and contribution using http://disqus.com/ (like in JQuery 
documentation: http://api.jquery.com/jQuery.ajax/)

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867374/+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 867338] Re: improve xqdoc documentation

2012-02-07 Thread Sorin Marian Nasoi
We already have this in Zorba.

** Changed in: zorba
   Status: Unknown => Triaged

** Changed in: zorba
   Status: Triaged => Invalid

** Changed in: zorba
 Assignee: Matthias Brantner (matthias-brantner) => 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/867338

Title:
  improve xqdoc documentation

Status in Zorba - The XQuery Processor:
  Invalid

Bug description:
  We should have a method similar to the \include option provided by doxygen
  in order to include files/tests into the xqdoc documentation.

  Details:
  - in Doxygen if you made sure that in the doc/zorba/doxy.config.in you set 
the:
  EXAMPLE_PATH at  line 501 and EXAMPLE_PATTERNS at line 510 in the doxy
  documentation you could use

  \include file.xml and get the content of the file.xml

  the result of the XHTML code was a DIV and PRE containers that were
  added to the actual code in the file, see for example
  http://www.zorba-xquery.com/doc/zorba-latest/zorba/html/converters.html
  the test shown after the text "The following XQuery (taken from John
  Snelson's article mentioned above) demonstrates the usage of the parse
  function."

  There you see that  are
  added before the content of the actual file \included. Off course
  class="fragment" should be implemented in the CSS, but that is besides
  the point.

  A simpler solution, for starters would be to add some links like this:
  file.xml and then you
  put the file.xml in a path recognized by xqdoc (I think the same thing
  is done the links to the actual modules pages, in xhtml/index.html,
  right?)
  In this case I think the question is in which folder should we store the 
file.xml.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867338/+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 928340] Re: Full-Text Assertion failed

2012-02-07 Thread Paul J. Lucas
** Summary changed:

- Full-Text Memory Error
+ Full-Text Assertion failed

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/928340

Title:
  Full-Text Assertion failed

Status in Zorba - The XQuery Processor:
  Incomplete

Bug description:
  The following query:
  let $x := affluent man
  return $x contains text "wealthy"
using thesaurus at "http://wordnet.princeton.edu";

  Returns

  
  0   libzorba_simplestore.2.1.0.dylib0x000107813f8c 
_ZN5zorba16assertion_failedEPKcS1_i + 60
  1   libzorba_simplestore.2.1.0.dylib0x000107ca37e4 
_ZN5zorba18ftcontains_visitor16lookup_thesaurusERKNS_14ftthesaurus_idERKNS_7rstringINS_15rstring_classes3repINS_10atomic_intESt11char_traitsIcESaIcERKNS_7FTTokenERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaISL_EE
 + 440
  2   libzorba_simplestore.2.1.0.dylib0x000107ca3d36 
_ZN5zorba18ftcontains_visitor22apply_thesaurus_optionEPKNS_18ftthesaurus_optionERKNS_7rstringINS_15rstring_classes3repINS_10atomic_intESt11char_traitsIcESaIcERKNS_7FTTokenERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaISL_EEb
 + 180
  3   libzorba_simplestore.2.1.0.dylib0x000107ca529a 
_ZN5zorba18ftcontains_visitor28apply_query_tokens_as_phraseERNS_15FTTokenIteratorEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERSt4listINS_8ft_matchESaISE_EE
 + 494
  4   libzorba_simplestore.2.1.0.dylib0x000107ca65f4 
_ZN5zorba18ftcontains_visitor20apply_ftwords_phraseERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERS1_INS_8ft_matchESaISI_EE
 + 90
  5   libzorba_simplestore.2.1.0.dylib0x000107ca5c0f 
_ZN5zorba18ftcontains_visitor17apply_ftwords_anyERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERS1_INS_8ft_matchESaISI_EE
 + 189
  6   libzorba_simplestore.2.1.0.dylib0x000107ca6b6e 
_ZN5zorba18ftcontains_visitor13apply_ftwordsERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemENS_14ft_anyall_mode4typeERKNS_15ftmatch_optionsERS1_INS_8ft_matchESaISH_EE
 + 336
  7   libzorba_simplestore.2.1.0.dylib0x000107ca9ccc 
_ZN5zorba18ftcontains_visitor9end_visitERNS_7ftwordsE + 532
  8   libzorba_simplestore.2.1.0.dylib0x0001076dad30 
_ZN5zorba7ftwords6acceptERNS_14ftnode_visitorE + 96
  9   libzorba_simplestore.2.1.0.dylib0x0001076d9d4f 
_ZN5zorba13ftwords_times6acceptERNS_14ftnode_visitorE + 59
  10  libzorba_simplestore.2.1.0.dylib0x0001076d9aea 
_ZN5zorba22ftprimary_with_options6acceptERNS_14ftnode_visitorE + 56
  11  libzorba_simplestore.2.1.0.dylib0x0001076daf9c 
_ZN5zorba11ftselection6acceptERNS_14ftnode_visitorE + 60
  12  libzorba_simplestore.2.1.0.dylib0x000107caf347 
_ZNK5zorba18FTContainsIterator8nextImplERNS_5store10ItemHandleINS1_4ItemEEERNS_9PlanStateE
 + 421
  13  libzorba_simplestore.2.1.0.dylib0x000107cadff9 
_ZNK5zorba7BatcherINS_18FTContainsIteratorEE11produceNextERNS_5store10ItemHandleINS3_4ItemEEERNS_9PlanStateE
 + 9
  14  libzorba_simplestore.2.1.0.dylib0x000107b50450 
_ZN5zorba11PlanWrapper4nextERNS_5store10ItemHandleINS1_4ItemEEE + 104
  15  libzorba_simplestore.2.1.0.dylib0x0001075788a8 
_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSoPNS_19SAX2_ContentHandlerE
 + 728
  16  libzorba_simplestore.2.1.0.dylib0x000107578a28 
_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSo + 62
  17  libzorba_simplestore.2.1.0.dylib0x0001075303aa 
_ZN5zorba10XQueryImpl9serializeERSoRNS_8rchandleINS_11PlanWrapperEEEPK23Zorba_SerializerOptions
 + 142
  18  libzorba_simplestore.2.1.0.dylib0x0001075305f4 
_ZN5zorba10XQueryImpl7executeERSoPK23Zorba_SerializerOptions + 428
  19  zorba   0x00010750fb66 
_Z17compileAndExecutePN5zorba5ZorbaERK18ZorbaCMDPropertiesRNS_8SmartPtrINS_13StaticContextEEERKSsRSiRSoR10TimingInfo
 + 1318
  20  zorba   0x000107511640 main + 3792
  21  zorba   0x00010750e794 start + 52
  22  ??? 0x0004 0x0 + 4
  Zorba error [zerr:ZXQP0002]: "thesaurus": assertion failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/928340/+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 928340] Re: Full-Text Assertion failed

2012-02-07 Thread Paul J. Lucas
It's not clear where you got "memory error" from since those words never
appear in the output. However, it clearly says "assertion failed".
Without line numbers in the output, it's virtually impossible to know
where the assertion failed. It would be better if you disabled the auto
dump and instead made it dump a proper core.

That said, the query works fine for me:

bin/zorba -f --thesaurus http://wordnet.princeton.edu:=/path/to/wordnet-
en.zth -q /tmp/x.xq

where x.xq contains the query above.

** Changed in: zorba
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/928340

Title:
  Full-Text Assertion failed

Status in Zorba - The XQuery Processor:
  Incomplete

Bug description:
  The following query:
  let $x := affluent man
  return $x contains text "wealthy"
using thesaurus at "http://wordnet.princeton.edu";

  Returns

  
  0   libzorba_simplestore.2.1.0.dylib0x000107813f8c 
_ZN5zorba16assertion_failedEPKcS1_i + 60
  1   libzorba_simplestore.2.1.0.dylib0x000107ca37e4 
_ZN5zorba18ftcontains_visitor16lookup_thesaurusERKNS_14ftthesaurus_idERKNS_7rstringINS_15rstring_classes3repINS_10atomic_intESt11char_traitsIcESaIcERKNS_7FTTokenERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaISL_EE
 + 440
  2   libzorba_simplestore.2.1.0.dylib0x000107ca3d36 
_ZN5zorba18ftcontains_visitor22apply_thesaurus_optionEPKNS_18ftthesaurus_optionERKNS_7rstringINS_15rstring_classes3repINS_10atomic_intESt11char_traitsIcESaIcERKNS_7FTTokenERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaISL_EEb
 + 180
  3   libzorba_simplestore.2.1.0.dylib0x000107ca529a 
_ZN5zorba18ftcontains_visitor28apply_query_tokens_as_phraseERNS_15FTTokenIteratorEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERSt4listINS_8ft_matchESaISE_EE
 + 494
  4   libzorba_simplestore.2.1.0.dylib0x000107ca65f4 
_ZN5zorba18ftcontains_visitor20apply_ftwords_phraseERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERS1_INS_8ft_matchESaISI_EE
 + 90
  5   libzorba_simplestore.2.1.0.dylib0x000107ca5c0f 
_ZN5zorba18ftcontains_visitor17apply_ftwords_anyERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERS1_INS_8ft_matchESaISI_EE
 + 189
  6   libzorba_simplestore.2.1.0.dylib0x000107ca6b6e 
_ZN5zorba18ftcontains_visitor13apply_ftwordsERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemENS_14ft_anyall_mode4typeERKNS_15ftmatch_optionsERS1_INS_8ft_matchESaISH_EE
 + 336
  7   libzorba_simplestore.2.1.0.dylib0x000107ca9ccc 
_ZN5zorba18ftcontains_visitor9end_visitERNS_7ftwordsE + 532
  8   libzorba_simplestore.2.1.0.dylib0x0001076dad30 
_ZN5zorba7ftwords6acceptERNS_14ftnode_visitorE + 96
  9   libzorba_simplestore.2.1.0.dylib0x0001076d9d4f 
_ZN5zorba13ftwords_times6acceptERNS_14ftnode_visitorE + 59
  10  libzorba_simplestore.2.1.0.dylib0x0001076d9aea 
_ZN5zorba22ftprimary_with_options6acceptERNS_14ftnode_visitorE + 56
  11  libzorba_simplestore.2.1.0.dylib0x0001076daf9c 
_ZN5zorba11ftselection6acceptERNS_14ftnode_visitorE + 60
  12  libzorba_simplestore.2.1.0.dylib0x000107caf347 
_ZNK5zorba18FTContainsIterator8nextImplERNS_5store10ItemHandleINS1_4ItemEEERNS_9PlanStateE
 + 421
  13  libzorba_simplestore.2.1.0.dylib0x000107cadff9 
_ZNK5zorba7BatcherINS_18FTContainsIteratorEE11produceNextERNS_5store10ItemHandleINS3_4ItemEEERNS_9PlanStateE
 + 9
  14  libzorba_simplestore.2.1.0.dylib0x000107b50450 
_ZN5zorba11PlanWrapper4nextERNS_5store10ItemHandleINS1_4ItemEEE + 104
  15  libzorba_simplestore.2.1.0.dylib0x0001075788a8 
_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSoPNS_19SAX2_ContentHandlerE
 + 728
  16  libzorba_simplestore.2.1.0.dylib0x000107578a28 
_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSo + 62
  17  libzorba_simplestore.2.1.0.dylib0x0001075303aa 
_ZN5zorba10XQueryImpl9serializeERSoRNS_8rchandleINS_11PlanWrapperEEEPK23Zorba_SerializerOptions
 + 142
  18  libzorba_simplestore.2.1.0.dylib0x0001075305f4 
_ZN5zorba10XQueryImpl7executeERSoPK23Zorba_SerializerOptions + 428
  19  zorba   0x00010750fb66 
_Z17compileAndExecutePN5zorba5ZorbaERK18ZorbaCMDPropertiesRNS_8SmartPtrINS_13StaticContextEEERKSsRSiRSoR10TimingInfo
 + 1318
  20  zorba   0x000107511640 main + 3792
  21  zorba   0x00010750e794 start + 52
  22  ??? 0x0004 0x0 + 4
  Zorba error [zerr:ZXQP0002]: "thesaurus": assertion failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/928340/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post

[Zorba-coders] [Merge] lp:~zorba-coders/zorba/markos-scratch into lp:zorba

2012-02-07 Thread noreply
The proposal to merge lp:~zorba-coders/zorba/markos-scratch into lp:zorba has 
been updated.

Status: Approved => Merged

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/91867
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/91867
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/markos-scratch into lp:zorba

2012-02-07 Thread Zorba Build Bot
Validation queue job markos-scratch-2012-02-07T18-13-59.097Z is finished. The 
final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/91867
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/markos-scratch into lp:zorba

2012-02-07 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/markos-scratch-2012-02-07T18-13-59.097Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/91867
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/markos-scratch into lp:zorba

2012-02-07 Thread Markos Zaharioudakis
The proposal to merge lp:~zorba-coders/zorba/markos-scratch into lp:zorba has 
been updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/91867
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/91867
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/markos-scratch into lp:zorba

2012-02-07 Thread Markos Zaharioudakis
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/91867
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/markos-scratch into lp:zorba

2012-02-07 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/markos-scratch into lp:zorba has 
been updated.

Status: Approved => Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/91867
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/91867
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/markos-scratch into lp:zorba

2012-02-07 Thread Zorba Build Bot
Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1. 
Got: 2 Pending.
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/91867
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/markos-scratch into lp:zorba

2012-02-07 Thread Zorba Build Bot
Validation queue job markos-scratch-2012-02-07T16-00-49.91Z is finished. The 
final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/91867
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 928340] [NEW] Full-Text Memory Error

2012-02-07 Thread William Candillon
Public bug reported:

The following query:
let $x := affluent man
return $x contains text "wealthy"
  using thesaurus at "http://wordnet.princeton.edu";

Returns


0   libzorba_simplestore.2.1.0.dylib0x000107813f8c 
_ZN5zorba16assertion_failedEPKcS1_i + 60
1   libzorba_simplestore.2.1.0.dylib0x000107ca37e4 
_ZN5zorba18ftcontains_visitor16lookup_thesaurusERKNS_14ftthesaurus_idERKNS_7rstringINS_15rstring_classes3repINS_10atomic_intESt11char_traitsIcESaIcERKNS_7FTTokenERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaISL_EE
 + 440
2   libzorba_simplestore.2.1.0.dylib0x000107ca3d36 
_ZN5zorba18ftcontains_visitor22apply_thesaurus_optionEPKNS_18ftthesaurus_optionERKNS_7rstringINS_15rstring_classes3repINS_10atomic_intESt11char_traitsIcESaIcERKNS_7FTTokenERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaISL_EEb
 + 180
3   libzorba_simplestore.2.1.0.dylib0x000107ca529a 
_ZN5zorba18ftcontains_visitor28apply_query_tokens_as_phraseERNS_15FTTokenIteratorEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERSt4listINS_8ft_matchESaISE_EE
 + 494
4   libzorba_simplestore.2.1.0.dylib0x000107ca65f4 
_ZN5zorba18ftcontains_visitor20apply_ftwords_phraseERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERS1_INS_8ft_matchESaISI_EE
 + 90
5   libzorba_simplestore.2.1.0.dylib0x000107ca5c0f 
_ZN5zorba18ftcontains_visitor17apply_ftwords_anyERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemERKNS_15ftmatch_optionsERKNS_16ft_token_matcherERS1_INS_8ft_matchESaISI_EE
 + 189
6   libzorba_simplestore.2.1.0.dylib0x000107ca6b6e 
_ZN5zorba18ftcontains_visitor13apply_ftwordsERSt4listINS_8rchandleINS_15FTTokenIteratorEEESaIS4_EEjPKNS_5store4ItemENS_14ft_anyall_mode4typeERKNS_15ftmatch_optionsERS1_INS_8ft_matchESaISH_EE
 + 336
7   libzorba_simplestore.2.1.0.dylib0x000107ca9ccc 
_ZN5zorba18ftcontains_visitor9end_visitERNS_7ftwordsE + 532
8   libzorba_simplestore.2.1.0.dylib0x0001076dad30 
_ZN5zorba7ftwords6acceptERNS_14ftnode_visitorE + 96
9   libzorba_simplestore.2.1.0.dylib0x0001076d9d4f 
_ZN5zorba13ftwords_times6acceptERNS_14ftnode_visitorE + 59
10  libzorba_simplestore.2.1.0.dylib0x0001076d9aea 
_ZN5zorba22ftprimary_with_options6acceptERNS_14ftnode_visitorE + 56
11  libzorba_simplestore.2.1.0.dylib0x0001076daf9c 
_ZN5zorba11ftselection6acceptERNS_14ftnode_visitorE + 60
12  libzorba_simplestore.2.1.0.dylib0x000107caf347 
_ZNK5zorba18FTContainsIterator8nextImplERNS_5store10ItemHandleINS1_4ItemEEERNS_9PlanStateE
 + 421
13  libzorba_simplestore.2.1.0.dylib0x000107cadff9 
_ZNK5zorba7BatcherINS_18FTContainsIteratorEE11produceNextERNS_5store10ItemHandleINS3_4ItemEEERNS_9PlanStateE
 + 9
14  libzorba_simplestore.2.1.0.dylib0x000107b50450 
_ZN5zorba11PlanWrapper4nextERNS_5store10ItemHandleINS1_4ItemEEE + 104
15  libzorba_simplestore.2.1.0.dylib0x0001075788a8 
_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSoPNS_19SAX2_ContentHandlerE
 + 728
16  libzorba_simplestore.2.1.0.dylib0x000107578a28 
_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSo + 62
17  libzorba_simplestore.2.1.0.dylib0x0001075303aa 
_ZN5zorba10XQueryImpl9serializeERSoRNS_8rchandleINS_11PlanWrapperEEEPK23Zorba_SerializerOptions
 + 142
18  libzorba_simplestore.2.1.0.dylib0x0001075305f4 
_ZN5zorba10XQueryImpl7executeERSoPK23Zorba_SerializerOptions + 428
19  zorba   0x00010750fb66 
_Z17compileAndExecutePN5zorba5ZorbaERK18ZorbaCMDPropertiesRNS_8SmartPtrINS_13StaticContextEEERKSsRSiRSoR10TimingInfo
 + 1318
20  zorba   0x000107511640 main + 3792
21  zorba   0x00010750e794 start + 52
22  ??? 0x0004 0x0 + 4
Zorba error [zerr:ZXQP0002]: "thesaurus": assertion failed

** Affects: zorba
 Importance: Critical
 Assignee: Paul J. Lucas (paul-lucas)
 Status: New

** Changed in: zorba
Milestone: None => 2.2

** Changed in: zorba
 Assignee: (unassigned) => Paul J. Lucas (paul-lucas)

** Changed in: zorba
   Importance: Undecided => Critical

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/928340

Title:
  Full-Text Memory Error

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The following query:
  let $x := affluent man
  return $x contains text "wealthy"
using thesaurus at "http://wordnet.princeton.edu";

  Returns

  
  0   libzorba_simplestore.2.1.0.dylib0x000107813f8c 
_ZN5zorba16assertion_failedEPKcS1_i + 60
  1   libzorba_simplestore.2.1.0.dylib0x000107ca37e4 
_ZN5zorba18ftcontains_visitor16lookup_thesaurusERKNS_14ftthesaurus_idERKNS_7rstringINS_15rstring_classes3repINS_10atomic_intESt11char_traitsIcESaIcERKN

[Zorba-coders] [Merge] lp:~zorba-coders/zorba/markos-scratch into lp:zorba

2012-02-07 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/markos-scratch-2012-02-07T16-00-49.91Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/91867
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/markos-scratch into lp:zorba

2012-02-07 Thread Markos Zaharioudakis
The proposal to merge lp:~zorba-coders/zorba/markos-scratch into lp:zorba has 
been updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/91867
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/91867
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/markos-scratch into lp:zorba

2012-02-07 Thread Markos Zaharioudakis
Markos Zaharioudakis has proposed merging lp:~zorba-coders/zorba/markos-scratch 
into lp:zorba.

Requested reviews:
  Markos Zaharioudakis (markos-za)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/91867

optimization for the Item::add/removeReference methods
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/91867
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/store/api/item.h'
--- src/store/api/item.h	2012-01-26 19:56:14 +
+++ src/store/api/item.h	2012-02-07 16:00:39 +
@@ -51,7 +51,7 @@
  */
 class ZORBA_DLL_PUBLIC Item
 {
-protected:
+public:
   enum ItemKind
   {
 NODE   = 0x10,
@@ -62,6 +62,7 @@
 ERROR_ = 0x201
   };
 
+protected:
   typedef union 
   {
 long* treeRCPtr;
@@ -104,6 +105,11 @@
   /* ---   General Methods for Items - */
 
   /**
+   * @return the kind of the item
+   */
+  ItemKind getKind() const;
+
+  /**
*  @return  "true" if the item is a node
*/
   bool 

=== modified file 'src/store/naive/item.cpp'
--- src/store/naive/item.cpp	2012-01-26 19:56:14 +
+++ src/store/naive/item.cpp	2012-02-07 16:00:39 +
@@ -52,36 +52,48 @@
 
 #else
 
-  if (isNode())
+  switch (getKind())
+  {
+  case NODE:
   {
 SYNC_CODE(static_cast(this)->getRCLock()->acquire());
 ++(*theUnion.treeRCPtr);
 ++theRefCount;
 SYNC_CODE(static_cast(this)->getRCLock()->release());
+return;
   }
-  else if (isAtomic() || isError())
+  case ATOMIC:
+  case ERROR_:
   {
 SYNC_CODE(static_cast(this)->getRCLock()->acquire());
 ++theRefCount;
 SYNC_CODE(static_cast(this)->getRCLock()->release());
+return;
   }
-  else if (isList())
+  case LIST:
   {
 SYNC_CODE(static_cast(this)->getRCLock()->acquire());
 ++theRefCount;
 SYNC_CODE(static_cast(this)->getRCLock()->release());
+return;
   }
-  else if (isFunction())
+  case FUNCTION:
   {
 SYNC_CODE(static_cast(this)->getRCLock()->acquire());
 ++theRefCount;
 SYNC_CODE(static_cast(this)->getRCLock()->release());
+return;
   }
-  else
+  case PUL:
   {
 ++theRefCount;
-  }
-
+return;
+  }
+  default:
+  {
+ZORBA_ASSERT(false);
+  }  
+  }
 #endif
 }
 
@@ -106,7 +118,9 @@
 
 #else
 
-  if (isNode())
+  switch (getKind())
+  {
+  case NODE:
   {
 SYNC_CODE(static_cast(this)->getRCLock()->acquire());
 
@@ -119,8 +133,10 @@
 }
 
 SYNC_CODE(static_cast(this)->getRCLock()->release());
+return;
   }
-  else if (isAtomic() || isError())
+  case ATOMIC:
+  case ERROR_:
   {
 SYNC_CODE(static_cast(this)->getRCLock()->acquire());
 
@@ -132,8 +148,9 @@
 }
 
 SYNC_CODE(static_cast(this)->getRCLock()->release());
+return;
   }
-  else if (isList())
+  case LIST:
   {
 SYNC_CODE(static_cast(this)->getRCLock()->acquire());
 
@@ -145,8 +162,9 @@
 }
 
 SYNC_CODE(static_cast(this)->getRCLock()->release());
+return;
   }
-  else if (isFunction())
+  case FUNCTION:
   {
 SYNC_CODE(static_cast(this)->getRCLock()->acquire());
 
@@ -158,17 +176,37 @@
 }
 
 SYNC_CODE(static_cast(this)->getRCLock()->release());
+return;
   }
-  else // PUL
+  case  PUL:
   {
 if (--theRefCount == 0)
   free();
+
+return;
+  }
+  default:
+  {
+ZORBA_ASSERT(false);
+  }
   }
 
 #endif
 }
 
 
+Item::ItemKind Item::getKind() const
+{
+  //if (theUnion.treeRCPtr == 0)
+  //  return UNKNOWN;
+
+  if ((reinterpret_cast(theUnion.treeRCPtr) & 0x1) == 0)
+return NODE;
+
+  return static_cast(theUnion.itemKind);
+}
+
+
 bool Item::isNode() const
 {
   return ((reinterpret_cast(theUnion.treeRCPtr) & 0x1) == 0 &&
@@ -178,31 +216,31 @@
 
 bool Item::isAtomic() const
 {
-  return ((theUnion.itemKind & ATOMIC) == ATOMIC); 
+  return (theUnion.itemKind == ATOMIC); 
 }
 
 
 bool Item::isList() const
 {
-  return ((theUnion.itemKind & LIST) == LIST); 
+  return (theUnion.itemKind == LIST); 
 }
 
 
 bool Item::isPul() const
 {
-  return ((theUnion.itemKind & PUL) == PUL);
+  return (theUnion.itemKind == PUL);
 }
 
 
 bool Item::isError() const
 {
-  return ((theUnion.itemKind & ERROR_) == ERROR_);
+  return (theUnion.itemKind == ERROR_);
 }
 
 
 bool Item::isFunction() const
 {
-  return ((theUnion.itemKind & FUNCTION) == FUNCTION);
+  return (theUnion.itemKind == FUNCTION);
 }
 
 

=== modified file 'src/store/naive/item_vector.cpp'
--- src/store/naive/item_vector.cpp	2011-06-14 17:26:33 +
+++ src/store/naive/item_vector.cpp	2012-02-07 16:00:39 +
@@ -22,7 +22,9 @@
 
 namespace zorba { namespace simplestore {
 
-ItemVector::ItemVector(std::vector& items)
+ItemVector::ItemVector(std::vector& items) 
+  :
+  store::Item(LIST)
 {
   size_t numItems = items.size();
 

-- 
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-declare-module-bug917981 into lp:zorba

2012-02-07 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/fix-declare-module-bug917981 into 
lp:zorba has been updated.

Status: Approved => Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/fix-declare-module-bug917981/+merge/88977
-- 
https://code.launchpad.net/~zorba-coders/zorba/fix-declare-module-bug917981/+merge/88977
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/fix-declare-module-bug917981 into lp:zorba

2012-02-07 Thread Zorba Build Bot
The attempt to merge lp:~zorba-coders/zorba/fix-declare-module-bug917981 into 
lp:zorba failed. Below is the output from the failed tests.


CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:274 
(message):
  Validation queue job fix-declare-module-bug917981-2012-02-07T14-44-58.09Z
  is finished.  The final status was:

  

  1 tests did not succeed - changes not commited.


Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

-- 
https://code.launchpad.net/~zorba-coders/zorba/fix-declare-module-bug917981/+merge/88977
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:~gislenius/zorba/jsoniq-pair-operator into lp:zorba/3.0

2012-02-07 Thread Ghislain Fourny
Ghislain Fourny has proposed merging lp:~gislenius/zorba/jsoniq-pair-operator 
into lp:zorba/3.0.

Requested reviews:
  Matthias Brantner (matthias-brantner)

For more details, see:
https://code.launchpad.net/~gislenius/zorba/jsoniq-pair-operator/+merge/91845

Removed JSON computed constructors, JSON direct object constructor and added 
pair (:) operator between RangeExpr and AdditiveExpr (following Nicolae's 
proposal). 
-- 
https://code.launchpad.net/~gislenius/zorba/jsoniq-pair-operator/+merge/91845
Your team Zorba Coders is subscribed to branch lp:zorba/3.0.
=== modified file 'src/compiler/parser/xquery_parser.y'
--- src/compiler/parser/xquery_parser.y	2012-02-01 11:29:03 +
+++ src/compiler/parser/xquery_parser.y	2012-02-07 15:10:57 +
@@ -858,17 +858,9 @@
 /*  */
 %type  JSONConstructor
 
-%type  JSONComputedPairConstructor
-
-%type  JSONComputedObjectConstructor
-
-%type  JSONComputedArrayConstructor
-
 %type  JSONDirectArrayConstructor
 
-%type  JSONDirectObjectConstructor
-%type  JSONDirectObjectContent
-%type  JSONDirectPairConstructor
+%type  JSONPairConstructor
 
 %type  JSONTest
 %type  JSONItemTest
@@ -915,7 +907,7 @@
 %destructor { release_hack( $$ ); } FTAnd FTAnyallOption FTBigUnit FTCaseOption FTContent FTDiacriticsOption FTDistance FTExtensionOption FTExtensionSelection FTIgnoreOption opt_FTIgnoreOption FTLanguageOption FTMatchOption FTMatchOptions opt_FTMatchOptions FTMildNot FTOptionDecl FTOr FTOrder FTPosFilter FTPrimary FTPrimaryWithOptions FTRange FTScope FTScoreVar FTSelection FTStemOption FTStopWords FTStopWordOption FTStopWordsInclExcl FTThesaurusID FTThesaurusOption FTTimes opt_FTTimes FTUnaryNot FTUnit FTWeight FTWildCardOption FTWindow FTWords FTWordsValue
 
 // parsenodes: JSON
-%destructor { release_hack( $$ ); } JSONConstructor JSONComputedPairConstructor JSONComputedArrayConstructor JSONComputedObjectConstructor JSONDirectArrayConstructor JSONDirectObjectConstructor JSONDirectObjectContent JSONDirectPairConstructor 
+%destructor { release_hack( $$ ); } JSONConstructor JSONDirectArrayConstructor JSONPairConstructor 
 
 // exprnodes
 %destructor { release_hack( $$ ); } AdditiveExpr AndExpr AxisStep CDataSection CastExpr CastableExpr CommonContent ComparisonExpr CompAttrConstructor CompCommentConstructor CompDocConstructor CompElemConstructor CompPIConstructor CompTextConstructor ComputedConstructor Constructor ContextItemExpr DirCommentConstructor DirElemConstructor DirElemContent DirPIConstructor DirectConstructor BracedExpr BlockExpr EnclosedStatementsAndOptionalExpr BlockStatement Statement Statements StatementsAndExpr StatementsAndOptionalExpr StatementsAndOptionalExprTop SwitchStatement TypeswitchStatement TryStatement CatchListStatement CatchStatement ApplyStatement IfStatement FLWORStatement ReturnStatement VarDeclStatement Expr ExprSingle ExprSimple ExtensionExpr FLWORExpr ReturnExpr FilterExpr FunctionCall IfExpr InstanceofExpr IntersectExceptExpr Literal MultiplicativeExpr NumericLiteral OrExpr OrderedExpr ParenthesizedExpr PathExpr Predicate PrimaryExpr QuantifiedExpr QueryBody RangeExpr RelativePathExpr StepExpr StringLiteral TreatExpr SwitchExpr TypeswitchExpr UnaryExpr UnionExpr UnorderedExpr ValidateExpr ValueExpr VarRef TryExpr CatchListExpr CatchExpr DeleteExpr InsertExpr RenameExpr ReplaceExpr TransformExpr VarNameList VarNameDecl AssignStatement ExitStatement WhileStatement FlowCtlStatement QNAME EQNAME FUNCTION_NAME FTContainsExpr
@@ -3511,13 +3503,24 @@
 ;
 
 RangeExpr :
+JSONPairConstructor %prec RANGE_REDUCE
+{
+$$ = $1;
+}
+|   JSONPairConstructor TO JSONPairConstructor
+{
+$$ = new RangeExpr( LOC(@$), $1, $3 );
+}
+;
+
+JSONPairConstructor :
 AdditiveExpr %prec RANGE_REDUCE
 {
 $$ = $1;
 }
-|   AdditiveExpr TO AdditiveExpr
+|   AdditiveExpr COLON AdditiveExpr
 {
-$$ = new RangeExpr( LOC(@$), $1, $3 );
+$$ = new JSON_PairConstructor(LOC(@$), $1, $3);
 }
 ;
 
@@ -6303,58 +6306,6 @@
 {
   $$ = $1;
 }
-  | JSONDirectObjectConstructor
-{
-  $$ = $1;
-}
-  | JSONComputedObjectConstructor
-{
-  $$ = $1;
-}
-  | JSONComputedArrayConstructor
-{
-  $$ = $1;
-}
-  | JSONComputedPairConstructor
-{
-  $$ = $1;
-}
-;
-
-
-JSONComputedPairConstructor :
-PAIR LBRACE ExprSingle COLON ExprSingle RBRACE
-{
-  $$ = new JSON_PairConstructor(LOC(@$), $3, $5);
-}
-;
-
-
-JSONComputedObjectConstructor :
-OBJECT LBRACE Expr RBRACE
-{
-  $$ = new JSON_ObjectConstructor(LOC(@$), $3);
-}
-  | OBJECT LBRACE JSONDirectObjectContent RBRACE
-{
-  $$ = new JSON_ObjectConstructor(LOC(@$), $3);
-}
-  | OBJECT LBRACE RBRACE
-{
-  $$ = new JSON_ObjectConstructor(LOC(@$), NULL);
-}
-;
-
-
-JSONComputedArrayConstructor :
-ARRAY LBRACE RBRACE
-{
-  $$ = new JSON_ArrayConstructor(LOC(@$

[Zorba-coders] [Merge] lp:~gislenius/zorba/jsoniq-truefalsenull into lp:zorba/3.0

2012-02-07 Thread Ghislain Fourny
Ghislain Fourny has proposed merging lp:~gislenius/zorba/jsoniq-truefalsenull 
into lp:zorba/3.0.

Requested reviews:
  Matthias Brantner (matthias-brantner)

For more details, see:
https://code.launchpad.net/~gislenius/zorba/jsoniq-truefalsenull/+merge/91844
-- 
https://code.launchpad.net/~gislenius/zorba/jsoniq-truefalsenull/+merge/91844
Your team Zorba Coders is subscribed to branch lp:zorba/3.0.
=== modified file 'src/compiler/parser/xquery_parser.y'
--- src/compiler/parser/xquery_parser.y	2012-02-01 11:29:03 +
+++ src/compiler/parser/xquery_parser.y	2012-02-07 15:07:14 +
@@ -3866,7 +3866,7 @@
 {
   RelativePathExpr* rpe;
 
-  rpe = new RelativePathExpr(LOC(@$), ParseConstants::st_slash, NULL, $2);
+  rpe = new RelativePathExpr(LOC(@$), ParseConstants::st_slash, NULL, $2, false);
 
   $$ = new PathExpr(LOC(@$),
 ParseConstants::path_leading_slash,
@@ -3876,7 +3876,7 @@
 {
   RelativePathExpr* rpe;
 
-  rpe = new RelativePathExpr(LOC(@$), ParseConstants::st_slashslash, NULL, $2);
+  rpe = new RelativePathExpr(LOC(@$), ParseConstants::st_slashslash, NULL, $2, false);
 
   $$ = new PathExpr(LOC(@$),
 ParseConstants::path_leading_slashslash,
@@ -3910,17 +3910,17 @@
   $$ = (as ?
 new RelativePathExpr(LOC(@$),
  ParseConstants::st_slash,
- new ContextItemExpr( LOC(@$), true ), $1)
+ new ContextItemExpr( LOC(@$), true ), $1, true)
 :
 $1);
 }
   | StepExpr SLASH RelativePathExpr
 {
-  $$ = new RelativePathExpr(LOC(@$), ParseConstants::st_slash, $1, $3);
+  $$ = new RelativePathExpr(LOC(@$), ParseConstants::st_slash, $1, $3, false);
 }
   | StepExpr SLASH_SLASH RelativePathExpr
 {
-  $$ = new RelativePathExpr(LOC(@$), ParseConstants::st_slashslash, $1, $3);
+  $$ = new RelativePathExpr(LOC(@$), ParseConstants::st_slashslash, $1, $3, false);
 }
 ;
 

=== modified file 'src/compiler/parsetree/parsenodes.cpp'
--- src/compiler/parsetree/parsenodes.cpp	2012-02-07 00:23:01 +
+++ src/compiler/parsetree/parsenodes.cpp	2012-02-07 15:07:14 +
@@ -2914,11 +2914,13 @@
   const QueryLoc& loc_,
   enum ParseConstants::steptype_t _step_type,
   rchandle step,
-  rchandle rpe)
+  rchandle rpe,
+  bool implicit)
   :
   exprnode(loc_),
   step_type(_step_type),
-  step_expr_h(step)
+  step_expr_h(step),
+  is_implicit_b(implicit)
 {
   RelativePathExpr* rpep = dynamic_cast(rpe.getp());
   if (rpep != NULL)

=== modified file 'src/compiler/parsetree/parsenodes.h'
--- src/compiler/parsetree/parsenodes.h	2012-02-01 11:29:03 +
+++ src/compiler/parsetree/parsenodes.h	2012-02-07 15:07:14 +
@@ -3541,19 +3541,23 @@
   enum ParseConstants::steptype_t step_type;
   rchandle step_expr_h;
   rchandle relpath_expr_h;
+  bool is_implicit_b;
 
 public:
   RelativePathExpr(
 const QueryLoc&,
 ParseConstants::steptype_t,
 rchandle,
-rchandle);
+rchandle,
+bool implicit);
 
   enum ParseConstants::steptype_t get_step_type() const { return step_type; }
 
   rchandle get_step_expr() const { return step_expr_h; }
 
   rchandle get_relpath_expr() const { return relpath_expr_h; }
+  
+  bool is_implicit() const { return is_implicit_b; }
 
   virtual void accept(parsenode_visitor&) const;
 };

=== modified file 'src/compiler/translator/translator.cpp'
--- src/compiler/translator/translator.cpp	2012-02-07 01:23:28 +
+++ src/compiler/translator/translator.cpp	2012-02-07 15:07:14 +
@@ -8281,44 +8281,54 @@
 
   ParseConstants::pathtype_t pe_type = pe.get_type();
 
-  // terrible hack to allow for the value of a json pair to be
-  // null, true, false
+  // terrible hack to allow for a standalone true, false or null to be 
+  // interpreted as a boolean. User must use ./true, ./false or ./null for
+  // navigating XML elements named that way.
 #ifdef ZORBA_WITH_JSON
-  if (pe_type == ParseConstants::path_relative &&
-  !theNodeStack.empty() && theNodeStack.top().dyn_cast())
+  if (pe_type == ParseConstants::path_relative)
   {
-RelativePathExpr* lRelPathExpr
+RelativePathExpr* lRootRelPathExpr
   = dynamic_cast(pe.get_relpath_expr().getp());
-AxisStep* lStepExpr
-  = dynamic_cast(lRelPathExpr->get_relpath_expr().getp());
-if (lStepExpr)
+ContextItemExpr* lStepExpr
+= dynamic_cast(lRootRelPathExpr->get_step_expr().getp());
+AxisStep* lRelPathExpr
+= dynamic_cast(lRootRelPathExpr->get_relpath_expr().getp());
+// Only rewrites if expression consists of a context item step on the left
+// and of an axis step on the right,
+// AND if this context item was set implicitly by the parser, meaning,
+// the original expression was only an axis step.
+if (lRelPathExpr && lStepExpr && lRootRelPathExpr->is_implicit())
 {
   ForwardStep* lFwdStep
-= dynamic_cast(lStepExpr->get_forw

[Zorba-coders] [Merge] lp:~zorba-coders/zorba/fix-declare-module-bug917981 into lp:zorba

2012-02-07 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/fix-declare-module-bug917981-2012-02-07T14-44-58.09Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/fix-declare-module-bug917981/+merge/88977
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/fix-declare-module-bug917981 into lp:zorba

2012-02-07 Thread Sorin Marian Nasoi
The proposal to merge lp:~zorba-coders/zorba/fix-declare-module-bug917981 into 
lp:zorba has been updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/fix-declare-module-bug917981/+merge/88977
-- 
https://code.launchpad.net/~zorba-coders/zorba/fix-declare-module-bug917981/+merge/88977
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:~gislenius/zorba/jsoniq-truefalsenull into lp:zorba/3.0

2012-02-07 Thread Ghislain Fourny
The proposal to merge lp:~gislenius/zorba/jsoniq-truefalsenull into 
lp:zorba/3.0 has been updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~gislenius/zorba/jsoniq-truefalsenull/+merge/91839
-- 
https://code.launchpad.net/~gislenius/zorba/jsoniq-truefalsenull/+merge/91839
Your team Zorba Coders is subscribed to branch lp:zorba/3.0.

-- 
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:~gislenius/zorba/jsoniq-truefalsenull into lp:zorba/3.0

2012-02-07 Thread Ghislain Fourny
Ghislain Fourny has proposed merging lp:~gislenius/zorba/jsoniq-truefalsenull 
into lp:zorba/3.0.

Requested reviews:
  Matthias Brantner (matthias-brantner)

For more details, see:
https://code.launchpad.net/~gislenius/zorba/jsoniq-truefalsenull/+merge/91839

Allows standalone true, false, null expressions to be interpreted as booleans 
or nulls. User must now use ./true, ./false or ./null for XML navigation on 
elements named that way.
-- 
https://code.launchpad.net/~gislenius/zorba/jsoniq-truefalsenull/+merge/91839
Your team Zorba Coders is subscribed to branch lp:zorba/3.0.
=== modified file 'src/compiler/parser/xquery_parser.y'
--- src/compiler/parser/xquery_parser.y	2012-02-01 11:29:03 +
+++ src/compiler/parser/xquery_parser.y	2012-02-07 14:41:54 +
@@ -3866,7 +3866,7 @@
 {
   RelativePathExpr* rpe;
 
-  rpe = new RelativePathExpr(LOC(@$), ParseConstants::st_slash, NULL, $2);
+  rpe = new RelativePathExpr(LOC(@$), ParseConstants::st_slash, NULL, $2, false);
 
   $$ = new PathExpr(LOC(@$),
 ParseConstants::path_leading_slash,
@@ -3876,7 +3876,7 @@
 {
   RelativePathExpr* rpe;
 
-  rpe = new RelativePathExpr(LOC(@$), ParseConstants::st_slashslash, NULL, $2);
+  rpe = new RelativePathExpr(LOC(@$), ParseConstants::st_slashslash, NULL, $2, false);
 
   $$ = new PathExpr(LOC(@$),
 ParseConstants::path_leading_slashslash,
@@ -3910,17 +3910,17 @@
   $$ = (as ?
 new RelativePathExpr(LOC(@$),
  ParseConstants::st_slash,
- new ContextItemExpr( LOC(@$), true ), $1)
+ new ContextItemExpr( LOC(@$), true ), $1, true)
 :
 $1);
 }
   | StepExpr SLASH RelativePathExpr
 {
-  $$ = new RelativePathExpr(LOC(@$), ParseConstants::st_slash, $1, $3);
+  $$ = new RelativePathExpr(LOC(@$), ParseConstants::st_slash, $1, $3, false);
 }
   | StepExpr SLASH_SLASH RelativePathExpr
 {
-  $$ = new RelativePathExpr(LOC(@$), ParseConstants::st_slashslash, $1, $3);
+  $$ = new RelativePathExpr(LOC(@$), ParseConstants::st_slashslash, $1, $3, false);
 }
 ;
 

=== modified file 'src/compiler/parsetree/parsenodes.cpp'
--- src/compiler/parsetree/parsenodes.cpp	2012-02-07 00:23:01 +
+++ src/compiler/parsetree/parsenodes.cpp	2012-02-07 14:41:54 +
@@ -2914,11 +2914,13 @@
   const QueryLoc& loc_,
   enum ParseConstants::steptype_t _step_type,
   rchandle step,
-  rchandle rpe)
+  rchandle rpe,
+  bool implicit)
   :
   exprnode(loc_),
   step_type(_step_type),
-  step_expr_h(step)
+  step_expr_h(step),
+  is_implicit_b(implicit)
 {
   RelativePathExpr* rpep = dynamic_cast(rpe.getp());
   if (rpep != NULL)

=== modified file 'src/compiler/parsetree/parsenodes.h'
--- src/compiler/parsetree/parsenodes.h	2012-02-01 11:29:03 +
+++ src/compiler/parsetree/parsenodes.h	2012-02-07 14:41:54 +
@@ -3541,19 +3541,23 @@
   enum ParseConstants::steptype_t step_type;
   rchandle step_expr_h;
   rchandle relpath_expr_h;
+  bool is_implicit_b;
 
 public:
   RelativePathExpr(
 const QueryLoc&,
 ParseConstants::steptype_t,
 rchandle,
-rchandle);
+rchandle,
+bool implicit);
 
   enum ParseConstants::steptype_t get_step_type() const { return step_type; }
 
   rchandle get_step_expr() const { return step_expr_h; }
 
   rchandle get_relpath_expr() const { return relpath_expr_h; }
+  
+  bool is_implicit() const { return is_implicit_b; }
 
   virtual void accept(parsenode_visitor&) const;
 };

=== modified file 'src/compiler/translator/translator.cpp'
--- src/compiler/translator/translator.cpp	2012-02-07 01:23:28 +
+++ src/compiler/translator/translator.cpp	2012-02-07 14:41:54 +
@@ -8281,44 +8281,54 @@
 
   ParseConstants::pathtype_t pe_type = pe.get_type();
 
-  // terrible hack to allow for the value of a json pair to be
-  // null, true, false
+  // terrible hack to allow for a standalone true, false or null to be 
+  // interpreted as a boolean. User must use ./true, ./false or ./null for
+  // navigating XML elements named that way.
 #ifdef ZORBA_WITH_JSON
-  if (pe_type == ParseConstants::path_relative &&
-  !theNodeStack.empty() && theNodeStack.top().dyn_cast())
+  if (pe_type == ParseConstants::path_relative)
   {
-RelativePathExpr* lRelPathExpr
+RelativePathExpr* lRootRelPathExpr
   = dynamic_cast(pe.get_relpath_expr().getp());
-AxisStep* lStepExpr
-  = dynamic_cast(lRelPathExpr->get_relpath_expr().getp());
-if (lStepExpr)
+ContextItemExpr* lStepExpr
+= dynamic_cast(lRootRelPathExpr->get_step_expr().getp());
+AxisStep* lRelPathExpr
+= dynamic_cast(lRootRelPathExpr->get_relpath_expr().getp());
+// Only rewrites if expression consists of a context item step on the left
+// and of an axis step on the right,
+// AND if this context item was set implicitly by the parser, meaning,
+// the original ex

[Zorba-coders] [Merge] lp:~gislenius/zorba/use-get-pul-factory-macro into lp:zorba

2012-02-07 Thread noreply
The proposal to merge lp:~gislenius/zorba/use-get-pul-factory-macro into 
lp:zorba has been updated.

Status: Approved => Merged

For more details, see:
https://code.launchpad.net/~gislenius/zorba/use-get-pul-factory-macro/+merge/91260
-- 
https://code.launchpad.net/~gislenius/zorba/use-get-pul-factory-macro/+merge/91260
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:~gislenius/zorba/use-get-pul-factory-macro into lp:zorba

2012-02-07 Thread Zorba Build Bot
Validation queue job use-get-pul-factory-macro-2012-02-07T13-48-20.725Z is 
finished. The final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~gislenius/zorba/use-get-pul-factory-macro/+merge/91260
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:~gislenius/zorba/same-directory-store-includes into lp:zorba

2012-02-07 Thread Markos Zaharioudakis
Review: Approve


-- 
https://code.launchpad.net/~gislenius/zorba/same-directory-store-includes/+merge/91279
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:~gislenius/zorba/use-get-pul-factory-macro into lp:zorba

2012-02-07 Thread Markos Zaharioudakis
Review: Approve


-- 
https://code.launchpad.net/~gislenius/zorba/use-get-pul-factory-macro/+merge/91260
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:~gislenius/zorba/use-get-pul-factory-macro into lp:zorba

2012-02-07 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/use-get-pul-factory-macro-2012-02-07T13-48-20.725Z/log.html
-- 
https://code.launchpad.net/~gislenius/zorba/use-get-pul-factory-macro/+merge/91260
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:~gislenius/zorba/use-get-pul-factory-macro into lp:zorba

2012-02-07 Thread Markos Zaharioudakis
The proposal to merge lp:~gislenius/zorba/use-get-pul-factory-macro into 
lp:zorba has been updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~gislenius/zorba/use-get-pul-factory-macro/+merge/91260
-- 
https://code.launchpad.net/~gislenius/zorba/use-get-pul-factory-macro/+merge/91260
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/fots30 into lp:zorba

2012-02-07 Thread David Graf
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/fots30/+merge/90731
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:~nbrinza/zorba/parse-fragment into lp:zorba

2012-02-07 Thread William Candillon
Review: Approve

I tried it and it looks like just the best.
-- 
https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/91657
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 928146] [NEW] Proving Full Zorba EBNF

2012-02-07 Thread William Candillon
Public bug reported:

Zorba should provides the full EBNF of the specification it implements.
A first step would be to add in comment for each parser rule either ebnf rule 
number of the corresponding specification.

** Affects: zorba
 Importance: Wishlist
 Status: New

** Changed in: zorba
   Importance: Undecided => 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/928146

Title:
  Proving Full Zorba EBNF

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Zorba should provides the full EBNF of the specification it implements.
  A first step would be to add in comment for each parser rule either ebnf rule 
number of the corresponding specification.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/928146/+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 920717] Re: json 2.0 bug: json:serialize(json:parse(VALID_JSON))

2012-02-07 Thread William Candillon
The following query:
import module namespace json = 
"http://www.zorba-xquery.com/modules/converters/json";;

let $json := '{ "action": "GET /html/index", "public": true, "opt": [1, 2, 
{"foo": "bar"}]}'
let $json := json:parse($json)
return json:serialize($json)

Returns:
URI_PATH/com/zorba-xquery/www/modules/converters/json.xq>:196,3: JSON 
serialization error [zerr:ZJSE0006]: JSON type "number" can not have a child 
element node 
=
json:serialize#1  

I think that this result is not correct.


** Changed in: zorba
   Status: Fix Committed => In Progress

** Changed in: zorba
 Assignee: Markos Zaharioudakis (markos-za) => Paul J. Lucas (paul-lucas)

** Changed in: zorba
Milestone: None => 2.2

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/920717

Title:
  json 2.0 bug: json:serialize(json:parse(VALID_JSON))

Status in Zorba - The XQuery Processor:
  In Progress

Bug description:
  Should be possible to call json:serialize(json:parse(VALID_JSON))
  where VALID_JSON is any valid JSON string
  see added failing test test/rbkt/zorba/json/json-snelson-serialize-parse:

  
  import module namespace 
json="http://www.zorba-xquery.com/modules/converters/json";;
  declare variable $json-value := '{"html":"bold"}';
  json:serialize(json:parse($json-value))

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/920717/+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/feature-json_parser into lp:zorba

2012-02-07 Thread William Candillon
Review: Needs Fixing

I believe that bug #920717 isn't fixed.

The intro has two examples of XML.
For each of the XML, you should add the associated JSON.

Would it be possible to get all the bug reports that Sorin created associated 
to this merge request?
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-json_parser/+merge/91360
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 928135] [NEW] Segmentation fault while using Item or ItemFactory class in python

2012-02-07 Thread Enemy Peng
Public bug reported:

Here's the code to reproduce errors:

>>> import zorba_api
>>> item = zorba_api.ItemFactory()
>>> content_item.createInteger(4)
Segmentation fault


Zorba Version: 2.1.0

** 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/928135

Title:
  Segmentation fault while using Item or ItemFactory class in python

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Here's the code to reproduce errors:

  >>> import zorba_api
  >>> item = zorba_api.ItemFactory()
  >>> content_item.createInteger(4)
  Segmentation fault


  Zorba Version: 2.1.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/928135/+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