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

2012-03-15 Thread Dana Florescu
>>> 
>> Yes, that's what I mean. It looks like the xqdoc visitor could crash with 
>> this
>> change. That's why I think the branch shouldn't be merged before it's tested.
> Nope, I disagree: this merge does not introduce the problem you mentioned 
> because it was already there :)

I agree with Sorin. The problem was there already.

I think Sorin should go ahead and commit the change (at least the documentation 
will be usable..)
and then file a bug for the existing problem, and fix that after the release.

Thanks
Dana

-- 
https://code.launchpad.net/~zorba-coders/zorba/fix_xqdoc_schema_import_prefix/+merge/97708
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 855481] Re: Too small time types

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Medium

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

Title:
  Too small time types

Status in Zorba - The XQuery Processor:
  New

Bug description:
  In include/zorba/util/time.h the get_walltime_in_millis() function
  returns a long.

  In Windows, long has the range: –2,147,483,648 to 2,147,483,647
  http://msdn.microsoft.com/en-us/library/s3f49ktz(v=VS.100).aspx

  Now the computation get_walltime_in_millis() goes much beyond this
  range because time is computed since 01.01.1970, that makes it already
  more than 1,300,000,000 seconds. This is multiplied by 1000 and
  therefore jump over the range of 4-byte numbers.

  Hence, all the functions that compute time must be working with double
  precision numbers like "long long".

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/855481/+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 854506] Re: type errors cause ugly error msgs

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Medium

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

Title:
  type errors cause ugly error msgs

Status in Zorba - The XQuery Processor:
  In Progress

Bug description:
  A query like this

  declare function local:foo() as empty-sequence()
   {
 
   };
   
   local:foo();

  causes the following error msg because of a type error:

  
  :3,3: type error [err:XPTY0004]: Cannot
  treat [NodeXQType elementNode nametest=[uri: , local: foo]
  content=[XQType ANY_TYPE_KIND*]] as [XQType NONE_KIND] when returning
  the result of the function local:foo().; raised at
  /Users/wcandillon/28msec/zorba/src/runtime/core/sequencetypes.cpp:557
  =
  local:foo#0 
  /Users/wcandillon/tmp/test.xq at line 6 column 1

  This is very ugly und not understandable for someone who is not
  involved in the zorba internals. We need an error msg like this:

  Stopped at line 1, column 17: [XPTY0004] Can't promote type xs:string
  to empty-sequence(): "abc".

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/854506/+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 871061] Re: test/rbkt/zorba/versioning/link1 failing on Windows

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Medium

** Changed in: zorba
 Assignee: (unassigned) => Chris Hillery (ceejatec)

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

Title:
  test/rbkt/zorba/versioning/link1 failing on Windows

Status in Zorba - The XQuery Processor:
  New

Bug description:
  test/rbkt/zorba/versioning/link1 is failing on Windows

  Using Windows 7 32-bit.
  Debug build

  The test is disabled from:
  
http://bazaar.launchpad.net/~zorba-coders/zorba/trunk/view/head:/test/rbkt/Queries/CMakeLists.txt

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/871061/+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 870991] Re: Failing on Windows: test/rbkt/zorba/versioning/external

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

** Changed in: zorba
 Assignee: (unassigned) => 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/870991

Title:
  Failing on Windows: test/rbkt/zorba/versioning/external

Status in Zorba - The XQuery Processor:
  New

Bug description:
  These tests are failing on Windows:

  1881 - test/rbkt/zorba/versioning/external1 (Failed)
  1882 - test/rbkt/zorba/versioning/external2 (Failed)

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/870991/+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 856578] Re: ZED does not check for error correctness

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Low

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

Title:
  ZED does not check for error correctness

Status in Zorba - The XQuery Processor:
  New

Bug description:
  I can write wrong ZED error messages and the error system does not
  complain. So the mistakes can get unnoticed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/856578/+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 855533] Re: parser error messages should contain the actual value of the offending QName

2012-06-12 Thread Dana Florescu
** 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/855533

Title:
  parser error messages should contain the actual value of the offending
  QName

Status in Zorba - The XQuery Processor:
  New

Bug description:
  E.g.

  (no URI):3,13: static error [err:XPST0003]: invalid expression: syntax
  error, unexpected "QName"; raised at
  /home/tryzorba/zorba/src/compiler/api/compiler_api.cpp:190

  The parser should provide the actual value of the unexpected QName.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/855533/+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 868329] Re: URI resolver does not work well on Windows

2012-06-12 Thread Dana Florescu
** Changed in: zorba
 Assignee: (unassigned) => Chris Hillery (ceejatec)

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

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

Title:
  URI resolver does not work well on Windows

Status in Zorba - The XQuery Processor:
  New

Bug description:
  When resolving a Windows absolute path relative to another URI, URI resolver 
cannot see that it is an absolute path (does not check for C:\) and treats it 
as relative path. It only checks for Linux style absolute paths.
  See test zorba/resolving/path_to_uri.xq in branch 
lp:~danielturcanu/zorba/mytrunk

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/868329/+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 868325] Re: fn:analyze-string does not work properly

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

** Changed in: zorba
 Assignee: Daniel Turcanu (danielturcanu) => 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/868325

Title:
  fn:analyze-string does not work properly

Status in Zorba - The XQuery Processor:
  Incomplete

Bug description:
  fn:analyze-string does not work properly when using recursive regex
  subgroups.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/868325/+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 867693] Re: ImageMagick (6.6.9) segfaults on Windows

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

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

Title:
  ImageMagick (6.6.9) segfaults on Windows

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Release mode:

  The following tests FAILED:
     3251 - zorba_image_module/image/basic_svg.xq (SEGFAULT)
  Errors while running CTest

  Debug mode:

  The following tests FAILED:
     3244 - zorba_image_module/image/basic.xq (SEGFAULT)
     3246 - zorba_image_module/image/basic_convert.xq (SEGFAULT)
     3247 - zorba_image_module/image/basic_create.xq (SEGFAULT)
     3251 - zorba_image_module/image/basic_svg.xq (SEGFAULT)
     3291 - zorba_image_module/image/paint_1.xq (SEGFAULT)
     3292 - zorba_image_module/image/paint_2.xq (SEGFAULT)
     3293 - zorba_image_module/image/paint_3.xq (SEGFAULT)
     3294 - zorba_image_module/image/paint_4.xq (SEGFAULT)
     3295 - zorba_image_module/image/paint_5.xq (SEGFAULT)
     3296 - zorba_image_module/image/paint_6.xq (SEGFAULT)
     3297 - zorba_image_module/image/paint_circles.xq (SEGFAULT)
     3298 - zorba_image_module/image/paint_different_lines.xq (SEGFAULT)
     3299 - zorba_image_module/image/paint_polygon.xq (SEGFAULT)
     3300 - zorba_image_module/image/paint_polyline.xq (SEGFAULT)
     3301 - zorba_image_module/image/paint_rectangles.xq (SEGFAULT)
     3302 - zorba_image_module/image/paint_stroked_polyline.xq (SEGFAULT)
     3303 - zorba_image_module/image/paint_text.xq (SEGFAULT)
  Errors while running CTest

  The tests have been disabled in:
  
http://bazaar.launchpad.net/~zorba-coders/zorba/image-module/view/head:/src/com/zorba-xquery/www/modules/image/CMakeLists.txt

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867693/+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 855925] Re: C++ API, DynamicContext is passed as a const argument to the function's evaluate method

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

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

Title:
  C++ API, DynamicContext is passed as a const argument to the
  function's evaluate method

Status in Zorba - The XQuery Processor:
  New

Bug description:
  DynamicContext is passed as a const argument to the function's
  evaluate method. So when trying to invoke functions such as
  addExternalFunctionParam() or setVariable() throws Error: the object
  has type qualifiers that are not compatible with the member function.

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

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


[Zorba-coders] [Bug 903797] Re: XQXQ feature request: custom schema uri resolver

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Medium

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

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

Title:
  XQXQ feature request: custom schema uri resolver

Status in Zorba - The XQuery Processor:
  New

Bug description:
  It should be possible to validate xdm instances against schemas which
  are stored in collections or dynamically created. Therefore, a
  mechanism is needed to tell the resolver before compiling and XQXQ
  module how to find these schemas.

  This could be implemented using HOFs.

  Example:

  declare function schema-uri-resolver($namespace as xs:string, $at-hints as 
xs:string*) as element(xs:schema)? {
  (: create/fetch xml schema :)
  xqddf:collection(...)//xs:schema[@targetNamespace=$namespace]
  };

  let $module := xqxq:prepare-main-module("import schema namespace test = 
'http://test'; validate {  }", schema-uri-resolver#2 )
  return
 xqxq:evaluate($module)

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

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


[Zorba-coders] [Bug 901669] Re: Stack frames on windows have invalid URIs

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Low

** Changed in: zorba
 Assignee: (unassigned) => Matthias Brantner (matthias-brantner)

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

Title:
  Stack frames on windows have invalid URIs

Status in Zorba - The XQuery Processor:
  New

Bug description:
  I get stack frames for debugger purposes and I see in the frames such file 
URIs:
   
file:///C:\Users\Gabriel\Work\28msec\zorba\builds\debug\dist\share\zorba\uris\core\2.1.0\com/zorba-xquery/www/modules/debugger/dbgp-message-handler.xq

  This combination of slashes and backslashes is for sure wrong.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/901669/+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 900688] Re: cyclic dependency of declared variables not detected correctly

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Medium

** Changed in: zorba
 Assignee: (unassigned) => Markos Zaharioudakis (markos-za)

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

Title:
  cyclic dependency of declared variables not detected correctly

Status in Zorba - The XQuery Processor:
  New

Bug description:
  According to the XQuery 3.0 spec (sentence 'The static context for an
  initializing expression includes all functions, variables, and
  namespaces that are declared or imported anywhere in the Prolog, other
  than the variable being declared.' at http://www.w3.org/TR/xquery-30
  /#id-variable-declarations), forward references of variables should
  work. Thus, queries like this should work:

  declare variable $y := $x;
  declare variable $x := ;

  $y

  Currently, this throws the error XPST0008.

  This implies that circular dependencies have to be detected. Like in

  Such forward references can cause circular dependencies like in:

  declare variable $x := 3 + $b;
  declare variable $b := $x;
  $x

  This has to cause error XQST0054.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/900688/+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 897823] Re: Wrong PHP library name on macosx

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Medium

** Changed in: zorba
 Assignee: (unassigned) => Rodolfo Ochoa (rodolfo-ochoa)

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

Title:
  Wrong PHP library name on macosx

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The library prefix of the PHP binding is dynamic. See swig/CMakeLists.txt:
  # on apple and cmake 2.8, the generated swig libraries are prefixed with 
"lib"
 SET (ZORBA_SWIG_LIB_PREFIX)
  IF (APPLE AND CMAKE_MINOR_VERSION GREATER 6)
SET (ZORBA_SWIG_LIB_PREFIX "lib")
  ENDIF (APPLE AND CMAKE_MINOR_VERSION GREATER 6)

  However its reference in the PHP wrapper isn't:
  dl('zorba_api.so')

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/897823/+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 898528] Re: Item materialization should raise a warning/error

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Low

** Changed in: zorba
 Assignee: (unassigned) => Matthias Brantner (matthias-brantner)

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

Title:
  Item materialization should raise a warning/error

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Materialization on streamable items should raise a warning or an error when 
reaching a certain size is reached.
  For instance 30mb.

  This size limit should be configurable with an XQuery option.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/898528/+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 872850] Re: Serialization of Tumbling Window For fails

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

** Changed in: zorba
 Assignee: Daniel Turcanu (danielturcanu) => Markos Zaharioudakis 
(markos-za)

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

Title:
  Serialization of Tumbling Window For fails

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Hello

  The serialization of a tumbling window for is broken. The assertion at
  src/zorbaserialization/class_serializer.h:399 doesn't pass. The
  problem can be reproduced by extending the plan_serialization unit
  test with the following diff:

  
  === modified file 'test/unit/guestbook.xq'
  --- test/unit/guestbook.xq2011-08-12 16:07:57 +
  +++ test/unit/guestbook.xq2011-10-12 13:06:44 +
  @@ -37,6 +37,14 @@
 return  1
   };
   
  +declare function guestbook:window() {
  +  let $x := 1 to 1000
  +  for tumbling window $w in $x  
  +  start at $s when fn:true()
  +  end at $e when $e - $s eq 51
  +  return { $w } 
  +};
  +
   declare %ann:sequential function guestbook:init() {
 ddl:create($guestbook:entries);
   };

  === modified file 'test/unit/guestbook_main.xq'
  --- test/unit/guestbook_main.xq   2011-08-05 02:21:55 +
  +++ test/unit/guestbook_main.xq   2011-10-12 12:58:13 +
  @@ -18,4 +18,4 @@
   
   import module namespace refl = 
"http://www.zorba-xquery.com/modules/reflection";;
   
  -guestbook:init(), refl:eval("guestbook:list()")
  +guestbook:init(), refl:eval("guestbook:list()"), 
refl:eval("guestbook:window()")

  
  the test result is:

  ctest -R plan_seri -V
  UpdateCTestConfiguration  from :/home/dagraf/zorba/build/DartConfiguration.tcl
  Parse Config file:/home/dagraf/zorba/build/DartConfiguration.tcl
   Add coverage exclude regular expressions.
   Add coverage exclude: mapm.*
  UpdateCTestConfiguration  from :/home/dagraf/zorba/build/DartConfiguration.tcl
  Parse Config file:/home/dagraf/zorba/build/DartConfiguration.tcl
  Test project /home/dagraf/zorba/build
  Constructing a list of tests
  Done constructing a list of tests
  Checking test dependency graph...
  test 2041
  Start 2041: test/unit/plan_serializer

  2041: Test command: /home/dagraf/zorba/build/test/unit/UnitTests 
plan_serializer
  2041: Test timeout computed to be: 1500
  2041: :27,25: Zorba static 
warning [zwarn:ZWST0003]: "guestbook:list": function declared sequential, but 
has non-sequential body; raised at 
/home/dagraf/zorba/sandbox/src/compiler/translator/translator.cpp:3399
  2041: UnitTests: /home/dagraf/zorba/sandbox/src/zorbatypes/rchandle.h:111: 
virtual void 
zorba::SimpleRCObject::serialize_internal(zorba::serialization::Archiver&): 
Assertion `strstr(typeid(*this).name(), "SimpleRCObject")' failed.
  1/1 Test #2041: test/unit/plan_serializer ***Exception: SegFault  
0.08 sec

  0% tests passed, 1 tests failed out of 1

  Total Test time (real) =   0.17 sec

  The following tests FAILED:
2041 - test/unit/plan_serializer (SEGFAULT)
  Errors while running CTest

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/872850/+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 894009] Re: Schema validation: can not cast to "02B6E590"

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

** Changed in: zorba
 Assignee: (unassigned) => Cezar Andrei (cezar-andrei)

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

Title:
  Schema validation: can not cast to "02B6E590"

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Query:

  import schema namespace union = "http://my.schema"; at "sch.xsd";

  validate strict { http://my.schema";>+ }

  
  Schema:

  http://www.w3.org/2001/XMLSchema";
xmlns:this="http://my.schema";
targetNamespace="http://my.schema";>


  




  

  
  Result:

  :3,1: dynamic error [err:FORG0001]: "+": invalid value for
  cast/constructor: can not cast to "02B6E590": value '+' is invalid
  QName; raised at zorba\src\types\schema\schema.cpp:1761

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/894009/+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 871481] Re: java test failing on Windows

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Medium

** Changed in: zorba
 Assignee: (unassigned) => Rodolfo Ochoa (rodolfo-ochoa)

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

Title:
  java test failing on Windows

Status in Zorba - The XQuery Processor:
  New

Bug description:
  On Windows 7, java 1.6 jdk:
  ctest -R java

  The CTest output is in the attached file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/871481/+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 919751] Re: New skin for try-zorba

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Medium

** Changed in: zorba
 Assignee: (unassigned) => William Candillon (wcandillon)

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

Title:
  New skin for try-zorba

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The skin of the try zorba needs to fit with the new website design:
  http://zorba.my28msec.com/html/demo

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/919751/+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 919753] Re: Improve HTML code for func signature in website

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Low

** Changed in: zorba
 Assignee: (unassigned) => William Candillon (wcandillon)

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

Title:
  Improve HTML code for func signature in website

Status in Zorba - The XQuery Processor:
  New

Bug description:
  There is room for improvement in the function signature formatting in the 
documentation.
  For instance: 
  http://zorba.my28msec.com/html/documentation/2.1.0/cxx/classzorba_1_1XQuery

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/919753/+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 919749] Re: Styling of the code and download page

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Low

** Changed in: zorba
 Assignee: (unassigned) => William Candillon (wcandillon)

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

Title:
  Styling of the code and download page

Status in Zorba - The XQuery Processor:
  New

Bug description:
  There is room for improvement for the two following pages:
  http://zorba.my28msec.com/html/download
  http://zorba.my28msec.com/html/code

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/919749/+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 919747] Re: HTML Styling lost in doxygen documentation

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Medium

** Changed in: zorba
 Assignee: (unassigned) => William Candillon (wcandillon)

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

Title:
  HTML Styling lost in doxygen documentation

Status in Zorba - The XQuery Processor:
  New

Bug description:
  When using the doxygen XML generation, html styling elements are lost.

  For instance, the following table:
  

  W3C XQuery 1.0 feature
  supported

  

  generates the following XML:
  http://www.w3.org/2001/XMLSchema-instance"; rows="4" 
cols="2">
 
 
 W3C XQuery Update Facility 1.0 feature 
 
 
 supported  
 
 
  

  Therefore the output is pretty ugly:
  http://zorba.my28msec.com/html/documentation/latest/zorba/conformance

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/919747/+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 908062] Re: zorba/versioning/link1 test fails on Windows

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Medium

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

Title:
  zorba/versioning/link1 test fails on Windows

Status in Zorba - The XQuery Processor:
  New

Bug description:
  zorba/versioning/link1 test fails on Windows with the message box
  "ourlib.dll is not found". Then I have to press OK on the message box
  for the testing to continue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/908062/+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 919756] Re: Unify XQuery syntax highlighting in Zorba website

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Low

** Changed in: zorba
 Assignee: (unassigned) => William Candillon (wcandillon)

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

Title:
  Unify XQuery syntax highlighting in Zorba website

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Unify XQuery syntax highlighting in Zorba website

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/919756/+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 922504] Re: Endless Loop in Ordpath generation - Assertion?

2012-06-12 Thread Dana Florescu
** 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/922504

Title:
  Endless Loop in Ordpath generation - Assertion?

Status in Zorba - The XQuery Processor:
  New

Bug description:
  A customer form 28msec was able to produce an endless loop in
  OrdPath::getLocalBitLength. Basically, the variable lastByte was set
  to 0 in line 360 -> the while loop never stops.

  Unfortunately, I was not able to figure out under which circumstances
  this behavior happens. But would it be possible to add an Assertion to
  catch this failure? Moreover, it would be very nice to print some
  information in case of assertions. E.g. the value of the current
  Ordpath. Otherwise, it is almost impossible to reproduce an assertion.

  I already talk to Matthias concerning printing some additional
  information. He thinks it could be added to the stack print. He will
  get in touch with you to discuss if it can be done without performance
  regressions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/922504/+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 917577] Re: Module namespaces inconsistency

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Low

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

Title:
  Module namespaces inconsistency

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Some module namespace have inconsistent naming conventions.
  For instance w3c seems to prefer - over _  in its namespaces and zorba 
namespaces should follow:
  http://www.zorba-xquery.com/modules/store/static/integrity_constraints/ddl
  http://www.zorba-xquery.com/modules/store/static/integrity_constraints/dml
  http://www.zorba-xquery.com/modules/project_xqdoc

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/917577/+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 921638] Re: Access function signatures in XQDoc

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Low

** Changed in: zorba
 Assignee: (unassigned) => William Candillon (wcandillon)

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

Title:
  Access function signatures in XQDoc

Status in Zorba - The XQuery Processor:
  New

Bug description:
   There is no way to access in detail the function signature with XQDoc. For 
instance with fn:QName:
  

  for semantics please check http://www.w3.org/TR/xpath-functions-30/#func-QName";>fn:QName
  

fn:QName
declare function fn:QName($paramURI as xs:string?, 
$paramQName as xs:string) as xs:QName external
  

  It should be something along those lines:
  

  for semantics please check http://www.w3.org/TR/xpath-functions-30/#func-QName";>fn:QName
  

fn:QName

  
paramURI

  
  
paramQName

  




  

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/921638/+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 926290] Re: Wrong list supported link in documentation

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Critical

** Changed in: zorba
 Assignee: (unassigned) => William Candillon (wcandillon)

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

Title:
  Wrong list supported link in documentation

Status in Zorba - The XQuery Processor:
  New

Bug description:
  In http://localhost:8080/html/documentation has a link "List of
  Supported Functions" which doesn't seam to be correct.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/926290/+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 923686] Re: If context item is set, context position and context size need to be set

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

** Changed in: zorba
 Assignee: (unassigned) => Markos Zaharioudakis (markos-za)

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

Title:
  If context item is set, context position and context size need to be
  set

Status in Zorba - The XQuery Processor:
  New

Bug description:
  According to http://www.w3.org/TR/xquery-30/#id-xq-evaluation-context-
  components, context position and context size need to be set if the
  context item is set.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/923686/+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 923672] Re: Impossible to set context-item for rbkt test (externall)

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Medium

** Changed in: zorba
 Assignee: (unassigned) => Chris Hillery (ceejatec)

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

Title:
  Impossible to set context-item for rbkt test (externall)

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Currently, there is no way to set the context item before executing an
  rbkt test. Therefore, many tests of the w3c testsuite are rewritten
  and the context item passed via the variable input-context1, e.g.
  SchemaValidation/ValidateExpression/validateexpr-17.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/923672/+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 925964] Re: HTTP client module throws errors on certain Web sites.

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Low

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

Title:
  HTTP client module throws errors on certain Web sites.

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The following query:

  import module namespace http-client = "http://expath.org/ns/http-client";;
  http-client:send-request(http://www.28msec.com"/>)

  leads to the following error:
  :85,5: user-defined error 
[http://www.zorba-xquery.com/modules/converters/html#InternalError]: Could not 
parse the source

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/925964/+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 924754] Re: support for the xs:dateTimeStamp type

2012-06-12 Thread Dana Florescu
** Changed in: zorba
 Assignee: Sorin Marian Nasoi (sorin.marian.nasoi) => Cezar Andrei 
(cezar-andrei)

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

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

Title:
  support for the xs:dateTimeStamp type

Status in Zorba - The XQuery Processor:
  New

Bug description:
  I bumped into the following issue while trying to run the following XQuery 
3.0 test:
  
exists(fn:timezone-from-dateTime(xs:dateTimeStamp("2011-07-28T12:34:56-08:00")))

  Zorba returned:
  static error [err:XPST0017]: "xs:dateTimeStamp": function with arity 1 not 
declared

  Looking into the latest F&O Spec for XQuery 3.0 I see that a new type,
  xs:dateTimeStamp was added for the implementations that "support XSD
  1.1".

  I have a few questions:
  1) should Zorba support the new type, xs:dateTimeStamp?
  If so, some function signatures need to be changed, for instance:
  Now, in Zorba, 
  fn:current-dateTime() returns a xs:dateTime
  instead of a xs:dateTimeStamp as stated in the 
http://www.w3.org/TR/xpath-functions-30/#func-current-dateTime.

  2) Should Zorba support constructor functions for xsd types ? Meaning should 
we add functions like:
  fn:unsignedInt($arg as xs:anyAtomicType?) as xs:unsignedInt?

  3) There are 2 tests in Zorba( xquery_1_0 and xquery_1_1) that check if all 
the functions from the fn: namespace of the F&O spec 1.0 and 3.0 are 
implemented in Zorba.
  The problem with these tests is that they only check the function names and 
their corresponding arities; they do not check if the types of the parameters 
are correct.
  This is the reason why the change in the signature of the 
fn:current-dateTime() that should now return a xs:dateTimeStamp was not picked 
up by these tests.

  IMO we should update these 2 tests to also check the parameter types:
  one problem I see here is that the introspection module only provides
  function to get the function name and arity, not the types of the
  parameters.

  Thanks for the help,
  Sorin

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/924754/+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 939568] Re: json module not useable if Zorba is installed with apt-get

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

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

Title:
  json module not useable if Zorba is installed with apt-get

Status in Zorba - The XQuery Processor:
  New

Bug description:
  If Zorba is installed via apt-get, there is an additional package
  "zorba-json-module" available.

  This package cannot be installed because it has package dependencies that 
cannot be resolved.
  I could not determine a package source for the additional packages 
libjansson4 and libjansson-dev.

  Message from ubuntu:

  zorba-json-module:
   Hängt ab: libjansson4 (>=2.0) but it is not installable
   Hängt ab: libjansson-dev  but it is not installable

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/939568/+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 938320] Re: Improve XQJ Streaming

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Medium

** Changed in: zorba
 Assignee: (unassigned) => Rodolfo Ochoa (rodolfo-ochoa)

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

Title:
  Improve XQJ Streaming

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Currently, the way XQJ manage streams is very inefficient.
  Use direct streaming to/from C++ to SWIG APIs.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/938320/+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 936886] Re: hint for missing installation packets in error messages

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Medium

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

Title:
  hint for missing installation packets in error messages

Status in Zorba - The XQuery Processor:
  New

Bug description:
  A useability problem:

  If Zorba is installated via apt-get the user may need to install additional 
modules like the http-client.
  If the user forgets to do so he receives error messages like:

  static error [err:XQST0059]: "http://expath.org/ns/http-client":
  target namespace not found for schema/module http://expath.org/ns
  /http-client

  A user who uses the system for the first time like me thinks that the
  internal libraries are not found and tries to correct the library path
  which is the wrong because the solution is to install additional
  packages.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/936886/+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 930132] Re: General Flwor Optimizations

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

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

Title:
  General Flwor Optimizations

Status in Zorba - The XQuery Processor:
  In Progress

Bug description:
  The new kind of FLWOR expressions (Xquery 3.0) are treated diferently
  in Zorba at the moment and do not have any optimizations done to them.
  Since the old Flwor expressions are just a subset, all optimizations
  should be able to be done to general flwor expressions as well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/930132/+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 929351] Re: schema resolution only finds 1 resource

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

** Changed in: zorba
 Assignee: (unassigned) => Chris Hillery (ceejatec)

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

Title:
  schema resolution only finds 1 resource

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The schema for a single target namespace can be distributed across several 
files (or other resources).
  However, it seems (from looking at the URI resolution code) that only 1 
resource can be returned.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/929351/+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 938311] Re: New types for ItemFactory

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Medium

** Changed in: zorba
 Assignee: (unassigned) => Markos Zaharioudakis (markos-za)

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

Title:
  New types for ItemFactory

Status in Zorba - The XQuery Processor:
  New

Bug description:
  ItemFactory must be able to create these types:

  ANYATOMICTYPE
  ANYSIMPLETYPE
  ENTITY
  ENTITIES
  ANYTYPE
  LANGUAGE
  ID
  IDREF
  IDREFS
  NAME
  NMTOKEN
  NMTOKENS
  NORMALIZED_STRING
  NOTATION
  TOKEN
  UNTYPED
  UNTYPEDATOMIC

  (from XQJ standard)

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/938311/+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 935666] Re: Item types need to have their own class

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Low

** Changed in: zorba
 Assignee: (unassigned) => Markos Zaharioudakis (markos-za)

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

Title:
  Item types need to have their own class

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Items need to be extended to have a class that define base types, currently 
we have a class named:
  zorba::TypeIdentifier
  which has some functionality, but is not implemented all along zorba, also 
the class:
  zorba::IdentTypes
  with two sets:
  kind_t
  quantifier_t

  We should have another set for basic types, for example in the Item
  case, when you get the type, you actually get another Item that gives
  you the type in a String, this is not efficient for XQJ API
  implementation trying to identify the type and convert it into a
  constant.

  Here is a link where you can see how XQJ defines all types and node
  kinds: http://www.xqj.net/javadoc/javax/xml/xquery/XQItemType.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/935666/+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 932374] Re: FOTS fn:matches failing tests

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Medium

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

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

Title:
  FOTS fn:matches failing tests

Status in Zorba - The XQuery Processor:
  In Progress

Bug description:
  The following tests fail in the FOTS:

  'fn-matches-41' test:
  fn:matches(concat('Mary', codepoints-to-string(10)), 'Mary$')
  should return 'false' according to the FOTS, Zorba returns 'true'

  'fn-matches-42' test:
  fn:matches(concat('Mary', codepoints-to-string(10)), 'Mary$', 's')
  should return 'false' according to the FOTS, Zorba returns 'true'

  Assigned the bug to Paul because AFAIK he's the last one who worked on
  the fn:matches implementation.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/932374/+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 961309] Re: parameter support in the xslt module

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

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

Title:
  parameter support in the xslt module

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Add  parameter support in the xslt module like Exist, BaseX and
  Marklogic

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/961309/+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 960083] Re: NaN comparison error has no location hint

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Low

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

Title:
  NaN comparison error has no location hint

Status in Zorba - The XQuery Processor:
  In Progress

Bug description:
  The follwing code fails with a NaN comparison error:

  fn:number() lt 100

  The resulting error message
  Zorba store error [zerr:ZSTR0041]: NaN comparison

  has no location information. It may be very hard for a user to find
  the cause of the error in his code.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/960083/+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 956318] Re: Make sure modules (external and internal) are uniform

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

** Changed in: zorba
 Assignee: (unassigned) => Dana Florescu (dflorescu)

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

Title:
  Make sure modules (external and internal) are uniform

Status in Zorba - The XQuery Processor:
  New

Bug description:
  We should make sure the modules (and schemas used in them) are named
  with the SAME pattern.

  See thread: https://groups.google.com/forum/?hl=en&fromgroups#!topic
  /zorba-dev/S10aasc-tnA

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/956318/+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 950815] Re: email with only bcc addresses not receivable

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Low

** Changed in: zorba
 Assignee: (unassigned) => William Candillon (wcandillon)

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

Title:
  email with only bcc addresses not receivable

Status in Zorba - The XQuery Processor:
  New

Bug description:
  In the email schema "http://www.zorba-xquery.com/modules/email/email"; 
  the "envelopeType" has an element "recipient" with minOccurs="1"

  That makes it impossible to receive an email using Zorbas email module if 
that email has only bcc (blind copy) target adresses.
  The bcc receiver addresses are only available if the email is sent, after it 
has been received they are no longer present in the mail envelope.

  Please change schema (any maybe implementation) so that such a mail is
  receivable.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/950815/+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 954167] Re: Strip boundary whitespace option not working correctly in the parse-fragment function

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

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

Title:
  Strip boundary whitespace option not working correctly in the parse-
  fragment function

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The strip-boundary-whitespace option does not work correctly in the
  LibXml2 library, so it should be impelemented in Zorba's code. This is
  an option to the parse-xml:parse() (parse-fragment) function.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/954167/+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 950621] Re: XQuery 3.0 vs Zorba: parse-xml#2 should not be in FN namespace

2012-06-12 Thread Dana Florescu
** 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/950621

Title:
  XQuery 3.0 vs Zorba: parse-xml#2 should not be in FN namespace

Status in Zorba - The XQuery Processor:
  New

Bug description:
  ctest -R xquery_3_0
  on the branch
  lp:~zorba-coders/zorba/fn_envvars
  shows that:

  - the following functions are in the fn namespace and according to the F&O 
3.0 spec they should not be there:
  parse-xml#2

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/950621/+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 950612] Re: XQuery 3.0 vs Zorba: map-pairs#3 not implemented

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

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

Title:
  XQuery 3.0 vs Zorba: map-pairs#3 not implemented

Status in Zorba - The XQuery Processor:
  New

Bug description:
  ctest -R xquery_3_0
  on the trunk, i.e. lp:Zorba
  shows that:

  - the following functions are still not implemented:
  map-pairs#3

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/950612/+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 950610] Re: XQuery 3.0 vs Zorba: map#2 not implemented

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

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

Title:
  XQuery 3.0 vs Zorba: map#2 not implemented

Status in Zorba - The XQuery Processor:
  New

Bug description:
  ctest -R xquery_3_0
  on the trunk, i.e. lp:Zorba
  shows that:

  - the following functions are still not implemented:
  map#2

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/950610/+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 950622] Re: XQuery 3.0 vs Zorba: parse-xml#2 should not be in FN namespace

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

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

Title:
  XQuery 3.0 vs Zorba: parse-xml#2 should not be in FN namespace

Status in Zorba - The XQuery Processor:
  New

Bug description:
  ctest -R xquery_3_0
  on the trunk, i.e. lp:Zorba
  shows that:

  - the following functions are in the fn namespace and according to the F&O 
3.0 spec they should not be there:
  partial-apply#2 partial-apply#3

  According to the
  http://www.w3.org/TR/xpath-functions-30/#substantive-changes-current-draft
  point 8:
  "The function fn:partial-apply has been removed, as this functionality is now 
provided by custom syntax (partial function application, using "?" as a 
placeholder for missing arguments)"

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/950622/+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 950609] Re: XQuery 3.0 vs Zorba: function-lookup#2 not implemented

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

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

Title:
  XQuery 3.0 vs Zorba: function-lookup#2 not implemented

Status in Zorba - The XQuery Processor:
  New

Bug description:
  ctest -R xquery_3_0
  on the trunk, i.e. lp:Zorba
  shows that:

  - the following functions are still not implemented:
  function-lookup#2

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/950609/+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 950613] Re: XQuery 3.0 vs Zorba: parse-xml-fragment#1 not implemented

2012-06-12 Thread Dana Florescu
** 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/950613

Title:
  XQuery 3.0 vs Zorba: parse-xml-fragment#1 not implemented

Status in Zorba - The XQuery Processor:
  In Progress

Bug description:
  ctest -R xquery_3_0
  on the trunk, i.e. lp:Zorba
  shows that:

  - the following functions are still not implemented:
  parse-xml-fragment#1

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/950613/+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 949064] Re: The faulty QName should be printed in the parser error messages

2012-06-12 Thread Dana Florescu
** 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/949064

Title:
  The faulty QName should be printed in the parser error messages

Status in Zorba - The XQuery Processor:
  New

Bug description:
  
  The offending QName should be printed in the parser's error messages, e.g.:

  (no URI):10,1: static error [err:XPST0003]: invalid expression: syntax
  error, unexpected "QName", expecting ...

  
  A query that generates such an error: 

  declare function local:foo() 
  {}

  local:foo()

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/949064/+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 950608] Re: XQuery 3.0 vs Zorba: fold-right#3 not implemented

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

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

Title:
  XQuery 3.0 vs Zorba: fold-right#3 not implemented

Status in Zorba - The XQuery Processor:
  New

Bug description:
  ctest -R xquery_3_0
  on trunk, i.e. lp:Zorba.
  shows that:

  - the following functions are still not implemented:
  fold-right#3

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/950608/+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 950606] Re: XQuery 3.0 vs Zorba: fold-left#3 not implemented

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

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

Title:
  XQuery 3.0 vs Zorba: fold-left#3 not implemented

Status in Zorba - The XQuery Processor:
  New

Bug description:
  ctest -R xquery_3_0
  on the trunk, i.e. lp:Zorba
  shows that:

  - the following functions are still not implemented:
  fold-left#3

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/950606/+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 950605] Re: XQuery 3.0 vs Zorba: filter#2 not implemented

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

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

Title:
  XQuery 3.0 vs Zorba: filter#2 not implemented

Status in Zorba - The XQuery Processor:
  New

Bug description:
  ctest -R xquery_3_0
  on the trunk, i.e. lp:Zorba
  shows that:

  - the following functions are still not implemented:
  filter#2

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/950605/+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 1001598] Re: Zorba store error [zerr:ZSTR0055]: streamable string has already been consumed

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Medium

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

Title:
  Zorba store error [zerr:ZSTR0055]: streamable string has already been
  consumed

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The following query:

  import module namespace http = "http://expath.org/ns/http-client";;

  variable $response := http:send-request(http://28msec-cloud9.s3.amazonaws.com/require.js"; />);
   trace(serialize($response[1], ()), "META");
  trace($response[2], "BODY");
  $response[2]

  Returns:
  Zorba store error [zerr:ZSTR0055]: streamable string has already been consumed

  You can try this example live at http://www.zorba-
  xquery.com/html/demo#MqacK3oJ3iigR3SqxRk3Gcn3i8Y=

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1001598/+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 1002313] Re: Plan Serializer test fails

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

** Changed in: zorba
 Assignee: Matthias Brantner (matthias-brantner) => Markos Zaharioudakis 
(markos-za)

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

Title:
  Plan Serializer test fails

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The following queries:
  declare namespace an = "http://www.zorba-xquery.com/annotations";;
  declare namespace o = "http://www.zorba-xquery.com/options/features";;
  declare option o:enable "hof";

  declare %private variable $handlers := ();

  declare %an:sequential function local:add($handler)
  {
$handlers := ($handlers, $handler);
  };

  declare function local:emit()
  {
for $h in $handlers
return $h()
  }; 
  declare %an:sequential function local:test()
  {
local:add(local:handle#1);
local:emit()
  };

  declare function local:handle($message)
  {
trace($message, "message")
  };

  local:test()

  
  Fails with the plan serializer (segfault)

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1002313/+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 998163] Re: Track w3c bug on declared prefixes in validation

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Status: New => 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/998163

Title:
  Track w3c bug on declared prefixes in validation

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

Bug description:
  Track w3c bug 17040:

  https://www.w3.org/Bugs/Public/show_bug.cgi?id=17040

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/998163/+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 1001474] Re: Need Windows validation queue

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

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

Title:
  Need Windows validation queue

Status in Zorba - The XQuery Processor:
  New

Bug description:
  In order to truly support our goal of having the trunk always be
  releasable, we need the validation queue to build and test all changes
  on Windows as well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1001474/+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 988411] Re: date:current-dateTime daylight saving

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Low

** Changed in: zorba
 Assignee: (unassigned) => William Candillon (wcandillon)

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

Title:
  date:current-dateTime daylight saving

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The following query:

  import module namespace date = "http://www.zorba-
  xquery.com/modules/datetime";

  (fn:current-dateTime(), "
  ",
  date:current-dateTime())

  Returns a different result on some platforms.
  This bug doesn't happen on some platforms such as in try zorba: 
http://www.zorba-xquery.com/html/demo#jXPnSRVW8yN7hr7OJnMzztzY34Q=

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/988411/+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 989490] Re: on ubuntu 12.04, Java and/or JNI not found

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => High

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

Title:
  on ubuntu 12.04, Java and/or JNI not found

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Hey Chris

  Java and/or JNI is not found on ubuntu 12.04. Therefore, fop doesn't
  work. I think the paths to java stuff changed on ubuntu 12.04. Maybe,
  cmake 2.8.8 is handle those changes. cmake 2.8.7 is not.

  David

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/989490/+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 971565] Re: Image module crashes upon MVG image.

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Low

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

Title:
  Image module crashes upon MVG image.

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The following test

  zorba_image_module/image/basic_svg.xq

  leads to a segmentation fault, because the following assertion fails
  when lImage.magick() is set to MVG:

  if (lImage.magick().compare("SVG") != 0) {
ImageFunction::throwErrorWithQName(aDynCtx, "IM002", "The passed 
xs:base64Binary is not an image of type SVG");
  }

  The following fix seems to solve this:

  if (lImage.magick().compare("SVG") != 0 && lImage.magick().compare("MVG") != 
0) {
ImageFunction::throwErrorWithQName(aDynCtx, "IM002", "The passed 
xs:base64Binary is not an image of type SVG");
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/971565/+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 981060] Re: xqdb uses 'wrong' zorba

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Medium

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

Title:
  xqdb uses 'wrong' zorba

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The zorba debugger (xqdb) does somehow start two zorba processes in
  the background. But it doesn't always start those processes with the
  correct executables. Because xqdb seems to search the zorba executable
  first in /usr/bin, and then in the build directory. This is pretty
  annoying for development.

  This is the situation on unix. It could be similar on Windows.

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

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


[Zorba-coders] [Bug 962390] Re: For Clause materialization

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Low

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

Title:
  For Clause materialization

Status in Zorba - The XQuery Processor:
  New

Bug description:
  I have the following query:
  declare %ann:sequential function guestbook:insert($i)
  {
trace($i, "b");
  };

   for $line at $i in (1 to 10)
   let $i := trace($i, "a")
   return guestbook:insert($i);

  Which returns:
  a [0]: xs:integer(1)
  a [0]: xs:integer(2)
  a [0]: xs:integer(3)
  a [0]: xs:integer(4)
  a [0]: xs:integer(5)
  a [0]: xs:integer(6)
  a [0]: xs:integer(7)
  a [0]: xs:integer(8)
  a [0]: xs:integer(9)
  a [0]: xs:integer(10)
  b [0]: xs:integer(1)
  b [0]: xs:integer(2)
  b [0]: xs:integer(3)
  b [0]: xs:integer(4)
  b [0]: xs:integer(5)
  b [0]: xs:integer(6)
  b [0]: xs:integer(7)
  b [0]: xs:integer(8)
  b [0]: xs:integer(9)
  b [0]: xs:integer(10)

  I was expecting:
  a [0]: xs:integer(1)
  b [0]: xs:integer(1)
  a [0]: xs:integer(2)
  b [0]: xs:integer(2)
  a [0]: xs:integer(3)
  b [0]: xs:integer(3)
  a [0]: xs:integer(4)
  b [0]: xs:integer(4)
  a [0]: xs:integer(5)
  b [0]: xs:integer(5)
  a [0]: xs:integer(6)
  b [0]: xs:integer(6)
  a [0]: xs:integer(7)
  b [0]: xs:integer(7)
  a [0]: xs:integer(8)
  b [0]: xs:integer(8)
  a [0]: xs:integer(9)
  b [0]: xs:integer(9)
  a [0]: xs:integer(10)
  b [0]: xs:integer(10)

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

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


[Zorba-coders] [Bug 1005995] Re: fn:path() should support fragments as well as documents

2012-06-12 Thread Dana Florescu
** 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/1005995

Title:
  fn:path() should support fragments as well as documents

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Modify fn:path to add support for fragments

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1005995/+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 1003635] Re: CURL libraries for windows don't have SSL support

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Low

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

Title:
  CURL libraries for windows don't have SSL support

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Any http:request to any https site will fail

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1003635/+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 950621] Re: XQuery 3.0 vs Zorba: parse-xml#2 should not be in FN namespace

2012-06-12 Thread Dana Florescu
** Changed in: zorba
 Assignee: (unassigned) => Juan Zacarias (juan457)

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

Title:
  XQuery 3.0 vs Zorba: parse-xml#2 should not be in FN namespace

Status in Zorba - The XQuery Processor:
  New

Bug description:
  ctest -R xquery_3_0
  on the branch
  lp:~zorba-coders/zorba/fn_envvars
  shows that:

  - the following functions are in the fn namespace and according to the F&O 
3.0 spec they should not be there:
  parse-xml#2

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/950621/+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 867693] Re: ImageMagick (6.6.9) segfaults on Windows

2012-06-12 Thread Dana Florescu
** Changed in: zorba
 Assignee: (unassigned) => Chris Hillery (ceejatec)

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

Title:
  ImageMagick (6.6.9) segfaults on Windows

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Release mode:

  The following tests FAILED:
     3251 - zorba_image_module/image/basic_svg.xq (SEGFAULT)
  Errors while running CTest

  Debug mode:

  The following tests FAILED:
     3244 - zorba_image_module/image/basic.xq (SEGFAULT)
     3246 - zorba_image_module/image/basic_convert.xq (SEGFAULT)
     3247 - zorba_image_module/image/basic_create.xq (SEGFAULT)
     3251 - zorba_image_module/image/basic_svg.xq (SEGFAULT)
     3291 - zorba_image_module/image/paint_1.xq (SEGFAULT)
     3292 - zorba_image_module/image/paint_2.xq (SEGFAULT)
     3293 - zorba_image_module/image/paint_3.xq (SEGFAULT)
     3294 - zorba_image_module/image/paint_4.xq (SEGFAULT)
     3295 - zorba_image_module/image/paint_5.xq (SEGFAULT)
     3296 - zorba_image_module/image/paint_6.xq (SEGFAULT)
     3297 - zorba_image_module/image/paint_circles.xq (SEGFAULT)
     3298 - zorba_image_module/image/paint_different_lines.xq (SEGFAULT)
     3299 - zorba_image_module/image/paint_polygon.xq (SEGFAULT)
     3300 - zorba_image_module/image/paint_polyline.xq (SEGFAULT)
     3301 - zorba_image_module/image/paint_rectangles.xq (SEGFAULT)
     3302 - zorba_image_module/image/paint_stroked_polyline.xq (SEGFAULT)
     3303 - zorba_image_module/image/paint_text.xq (SEGFAULT)
  Errors while running CTest

  The tests have been disabled in:
  
http://bazaar.launchpad.net/~zorba-coders/zorba/image-module/view/head:/src/com/zorba-xquery/www/modules/image/CMakeLists.txt

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867693/+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 898066] Re: Stringstream & fn:trace

2012-06-12 Thread Dana Florescu
** Changed in: zorba
 Assignee: (unassigned) => Matthias Brantner (matthias-brantner)

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

Title:
  Stringstream & fn:trace

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The following query:
  let $string := http:get("blub")
  return trace($string, "res")

  Returns the following error:
  [zerr:ZSTR0055]: streamable string has already been consumed

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/898066/+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 855925] Re: C++ API, DynamicContext is passed as a const argument to the function's evaluate method

2012-06-12 Thread Dana Florescu
** Changed in: zorba
 Assignee: (unassigned) => Chris Hillery (ceejatec)

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

Title:
  C++ API, DynamicContext is passed as a const argument to the
  function's evaluate method

Status in Zorba - The XQuery Processor:
  New

Bug description:
  DynamicContext is passed as a const argument to the function's
  evaluate method. So when trying to invoke functions such as
  addExternalFunctionParam() or setVariable() throws Error: the object
  has type qualifiers that are not compatible with the member function.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/855925/+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 990119] Re: Rename EXPECTED_FAILURE() to KNOWN_BUG()

2012-06-12 Thread Dana Florescu
** Changed in: zorba
 Assignee: (unassigned) => Chris Hillery (ceejatec)

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

Title:
  Rename EXPECTED_FAILURE() to KNOWN_BUG()

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The name "EXPECTED_FAILURE()" is a bit confusing, as it could imply a
  negative test. It should not be used for negative tests, however; it
  is only for those tests that are failing due to a known, filed-but-as-
  yet-unfixed bug.

  I propose renaming this to KNOWN_BUG(). EXPECTED_FAILURE() could be
  kept as a deprecated synonym for the time being.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/990119/+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 966999] Re: "make install" meaningless for non-core modules

2012-06-12 Thread Dana Florescu
** Changed in: zorba
 Assignee: (unassigned) => Chris Hillery (ceejatec)

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

Title:
  "make install" meaningless for non-core modules

Status in Zorba - The XQuery Processor:
  New

Bug description:
  It is intended that it be possible for a non-core module project to be
  build outside of a Zorba build, by setting CMAKE_PREFIX_PATH
  appropriately to find Zorba. Zorba does export a ZorbaConfig.cmake
  file in its install image for this purpose.

  However, it's not at all clear what "make install" should do for such
  a project. Moreover, several things provided by Zorba, such as
  ExternalModuleConfig.cmake.in (*), don't get used in a fashion
  appropriate for using the module anywhere but its own build directory.

  (*) - ExternalModuleConfig.cmake.in is used by Zorba's use file to
  automatically create a fooConfig.cmake for a project foo.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/966999/+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 966962] Re: Disconnect between module versioning and module project versioning?

2012-06-12 Thread Dana Florescu
** Changed in: zorba
 Assignee: (unassigned) => Chris Hillery (ceejatec)

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

Title:
  Disconnect between module versioning and module project versioning?

Status in Zorba - The XQuery Processor:
  New

Bug description:
  A module in Zorba can be versioned. It is possible for a single build
  to contain multiple versions of the same module.

  The unit of non-core modules, however, is a module project. This is a
  single branch in bazaar, equating to a single directory in a build.
  These module projects can be versioned, both in bazaar as well as
  being tagged with release versions. It isn't possible to build Zorba
  with more than one version of a module project (because the PROJECT()
  declaration in CMake won't be unique). It is possible for a single
  module project to contain multiple versions of the same module, not to
  mention multiple different modules.

  Right now the only mechanism for declaring dependency relationships
  between non-core modules is at the module project level. This means
  it's not possible to say "I depend on the email module version 2.2"
  unless the email project author takes care to keep the module version
  and module project version in sync.

  Basically there seems to be no relationship between "module
  versioning" and "module project versioning", which can only be
  confusing. It's not totally clear that both concepts need to exist.
  Perhaps this could be rethought and simplified for Zorba 3.0.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/966962/+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 960715] Re: Test failures when curl not found

2012-06-12 Thread Dana Florescu
** Changed in: zorba
 Assignee: (unassigned) => Chris Hillery (ceejatec)

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

Title:
  Test failures when curl not found

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Zorba builds and runs successfully without libcurl, but a number of
  tests fail. These tests should be skipped or have an expected error
  code. (Probably better to skip them to prevent false positives in the
  test suite, since currently testdriver does not allow different
  results/errors for different build configurations.)

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/960715/+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 918720] Re: Debugger: failing to retrieve the query filename on non-WIN32 platforms

2012-06-12 Thread Dana Florescu
** Changed in: zorba
 Assignee: (unassigned) => Matthias Brantner (matthias-brantner)

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

Title:
  Debugger: failing to retrieve the query filename on non-WIN32
  platforms

Status in Zorba - The XQuery Processor:
  New

Bug description:
  In the DebuggerServer, the query file name is needed to be sent to the
  debugger clients in the DBGP protocol.

  But this call fails under on Unix based systems:
  aQuery->getFileName()

  Therefore there is this comment in the code:

// TODO: under Linux, when trying to get the file name of the query
//   the call fails because getFileName tries to get a lock that
//   is already taken. Therefore the assertion in mutex.cpp:63
//   terminates the execution

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/918720/+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 932314] Re: fn:distinct-values bug

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Medium => Critical

** Changed in: zorba
 Assignee: (unassigned) => Markos Zaharioudakis (markos-za)

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

Title:
  fn:distinct-values bug

Status in Zorba - The XQuery Processor:
  New

Bug description:
  test 'fn-distinct-values-2' from FOTS:

  fn:distinct-values((1 to 300, 100 to 400, 29, 145, 20 to 50, for $x in
  (30 to 40) return xs:string($x), "foo", "bar"))

  is failing with error:
  type error [err:XPTY0004]: "xs:integer": invalid type: can not compare for 
equality to type "xs:string"; raised at 
/home/spungi/work/zorba/repo/feature_fots/src/runtime/booleans/BooleanImpl.cpp:874

  This is wrong behavior according to the
  http://www.w3.org/TR/xpath-functions-30/#func-distinct-values

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/932314/+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 924055] Re: adapt group-by to latest spec

2012-06-12 Thread Dana Florescu
** Changed in: zorba
 Assignee: (unassigned) => Carlos Manuel Lopez (charlie-lobo)

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

Title:
  adapt group-by to latest spec

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The semantics of group-by was changed in the latest working drafts.

  (1) an abbreviated syntax has been introduced
  (2) the values of the post-grouping tuples are atomized.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/924055/+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 905392] Re: CMake: Too long cmake commands on Windows

2012-06-12 Thread Dana Florescu
** Changed in: zorba
 Assignee: (unassigned) => Chris Hillery (ceejatec)

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

Title:
  CMake: Too long cmake commands on Windows

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Because the build directory of my zorba configuration is kind of deep
  in file system tree, I am getting troubles because the zorba specific
  cmd commands that are executed by Zorba are getting too long. I am
  getting the problem when cmake executes the script function-enum.xq.
  The error print is appended to the message.

  The issue needs to be fixed by shorten the amount of parameters that
  are passed to the query. One possibility would be to generate the
  function-enum.xq inclusive all variables inlined.

  
  CMake Error (This error was generated with an old Zorba version <2.0. But I 
checked the code in the trunk. It is should be still the same)
  ==
  NMAKE : fatal error U1095: expanded command line 'echo  && "C:\Program 
Files\CMake 2.8\bin\cmake.exe" 
-Dsource_dir="C:/Users/sausalito/Desktop/builds/sausal
  ito_coresdk/source/sandbox/runtime/zorba" 
-Dbinary_dir="C:/Users/sausalito/Desktop/builds/sausalito_coresdk/releases/zorba"
 -Dzorba_exe="C:\Users\sausalito\Desk
  top\builds\sausalito_coresdk\releases\zorba\scripts\zorba_cmake.bat" 
-Dquery="C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/s
  rc/runtime/spec/function-enum.xq" 
-Dgen_file="C:/Users/sausalito/Desktop/builds/sausalito_coresdk/releases/zorba/src/functions/function_enum.h"
 -Dextvars:STRING
  ="" 
-Dfiles:STRING="C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/accessors/accessors.xml;C:/Users/sausalito
  
/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/any_uri/any_uri.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/s
  
andbox/runtime/zorba/src/runtime/spec/base64/base64.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/boolea
  
ns/booleans.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/collections/collections.xml;C:/Users/sausalito
  
/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/context/context.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/s
  
andbox/runtime/zorba/src/runtime/spec/convertors/convertors.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spe
  
c/core/function_trace_iterator.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/debug/debug.xml;C:/Users/sa
  
usalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/debug/zorba_debug_iterator.xml;C:/Users/sausalito/Desktop/builds/sausalit
  
o_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/durations_dates_times/durations_dates_times.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/sour
  
ce/sandbox/runtime/zorba/src/runtime/spec/eval/eval.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/fnerro
  
r/fnerror.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/fnput/fnput.xml;C:/Users/sausalito/Desktop/build
  
s/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/function_item/function_item_iter.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/sourc
  
e/sandbox/runtime/zorba/src/runtime/spec/indexing/ic_ddl.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/i
  
ntrospection/dctx.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/introspection/sctx.xml;C:/Users/sausalit
  
o/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/maths/maths.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sand
  
box/runtime/zorba/src/runtime/spec/nodes/nodes.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/numerics/nu
  
merics.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/qnames/qnames.xml;C:/Users/sausalito/Desktop/builds
  
/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/random/random.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zo
  
rba/src/runtime/spec/schema/schema.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/scripting/scripting.xml
  
;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/sequences/sequences.xml;C:/Users/sausalito/Desktop/builds/sau
  
salito_coresdk/source/sand

[Zorba-coders] [Bug 867205] Re: Debugger: Add xqdb command line testing

2012-06-12 Thread Dana Florescu
** Changed in: zorba
 Assignee: (unassigned) => Matthias Brantner (matthias-brantner)

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

Title:
  Debugger: Add xqdb command line testing

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Since during an XQDB debugging session, two processes are started in
  parallel and their outputs are intertwined. Moreover, Ctrl-C events
  are captured and directed to special routines that control the logic.

  For all this, it would be nice to have a command line testing
  framework for xqdb. This framework could be used also for debugging
  the Zorba command line tool.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867205/+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 856578] Re: ZED does not check for error correctness

2012-06-12 Thread Dana Florescu
** Changed in: zorba
 Assignee: (unassigned) => 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/856578

Title:
  ZED does not check for error correctness

Status in Zorba - The XQuery Processor:
  New

Bug description:
  I can write wrong ZED error messages and the error system does not
  complain. So the mistakes can get unnoticed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/856578/+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 1008082] Re: Crashing Transform Expression

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Undecided => Critical

** Changed in: zorba
 Assignee: (unassigned) => Markos Zaharioudakis (markos-za)

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

Title:
  Crashing Transform Expression

Status in Zorba - The XQuery Processor:
  New

Bug description:
  copy $x := , $y := 
  modify ()
  return $x

  Hope this helps,
  Christian

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1008082/+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 918723] Re: Debugger: evaluation failure then evaluating the context item

2012-06-12 Thread Dana Florescu
** Changed in: zorba
 Assignee: (unassigned) => David Graf (davidagraf)

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

Title:
  Debugger: evaluation failure then evaluating the context item

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Search in the DebuggerServer for the following comment:

// TODO: currently we don't evaluate the context item because of an 
exception
//   thrown in the dynamic context that messes up the plan wrapper in 
the eval
//   iterator and subsequent evals will fail

  This has to be investigated if debugger users need to evaluate the
  context item during a debugging session.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/918723/+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 901160] Re: Debugger: gdb way of adding breakpoints

2012-06-12 Thread Dana Florescu
** Changed in: zorba
 Assignee: (unassigned) => David Graf (davidagraf)

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

Title:
  Debugger: gdb way of adding breakpoints

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Setting breakpoints in zorba debugger client works very well already.
  But the way the breakpoints need to be set is a little bit circuitous.
  Would it be possible to do it the gdb way?

  For example setting breakpoints in the current file:
  (gdb) b 9
  Breakpoint 2 at 0x400a2b: file test.cpp, line 9.

  (gdb) b test.cpp:10
  Breakpoint 2 at 0x400a2d: file test.cpp, line 10.

  That would be awesome!

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/901160/+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 1006311] Re: jvm.dll not found under Windows when using util-jvm

2012-06-12 Thread Dana Florescu
** 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/1006311

Title:
  jvm.dll not found under Windows when using util-jvm

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Under Windows, launching Zorba with a query that uses the util-jvm
  module (for example through data-formatting) leads to an error message
  (jvm.dll not found).

  This is possibly because %JAVA_HOME%\jre\bin\client is not added to
  the PATH.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1006311/+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 932314] Re: fn:distinct-values bug

2012-06-12 Thread Dana Florescu
** Changed in: zorba
Milestone: None => 3.0

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

Title:
  fn:distinct-values bug

Status in Zorba - The XQuery Processor:
  New

Bug description:
  test 'fn-distinct-values-2' from FOTS:

  fn:distinct-values((1 to 300, 100 to 400, 29, 145, 20 to 50, for $x in
  (30 to 40) return xs:string($x), "foo", "bar"))

  is failing with error:
  type error [err:XPTY0004]: "xs:integer": invalid type: can not compare for 
equality to type "xs:string"; raised at 
/home/spungi/work/zorba/repo/feature_fots/src/runtime/booleans/BooleanImpl.cpp:874

  This is wrong behavior according to the
  http://www.w3.org/TR/xpath-functions-30/#func-distinct-values

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/932314/+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 922504] Re: Endless Loop in Ordpath generation - Assertion?

2012-06-12 Thread Dana Florescu
** Changed in: zorba
Milestone: None => 3.0

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

Title:
  Endless Loop in Ordpath generation - Assertion?

Status in Zorba - The XQuery Processor:
  New

Bug description:
  A customer form 28msec was able to produce an endless loop in
  OrdPath::getLocalBitLength. Basically, the variable lastByte was set
  to 0 in line 360 -> the while loop never stops.

  Unfortunately, I was not able to figure out under which circumstances
  this behavior happens. But would it be possible to add an Assertion to
  catch this failure? Moreover, it would be very nice to print some
  information in case of assertions. E.g. the value of the current
  Ordpath. Otherwise, it is almost impossible to reproduce an assertion.

  I already talk to Matthias concerning printing some additional
  information. He thinks it could be added to the stack print. He will
  get in touch with you to discuss if it can be done without performance
  regressions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/922504/+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 855533] Re: parser error messages should contain the actual value of the offending QName

2012-06-12 Thread Dana Florescu
** Changed in: zorba
Milestone: None => 3.0

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

Title:
  parser error messages should contain the actual value of the offending
  QName

Status in Zorba - The XQuery Processor:
  New

Bug description:
  E.g.

  (no URI):3,13: static error [err:XPST0003]: invalid expression: syntax
  error, unexpected "QName"; raised at
  /home/tryzorba/zorba/src/compiler/api/compiler_api.cpp:190

  The parser should provide the actual value of the unexpected QName.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/855533/+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 926290] Re: Wrong list supported link in documentation

2012-06-12 Thread Dana Florescu
** Changed in: zorba
Milestone: None => 3.0

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

Title:
  Wrong list supported link in documentation

Status in Zorba - The XQuery Processor:
  New

Bug description:
  In http://localhost:8080/html/documentation has a link "List of
  Supported Functions" which doesn't seam to be correct.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/926290/+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 1007301] Re: potential bug in isPossibleSimpleContentRevalImpl?

2012-06-12 Thread Dana Florescu
** Changed in: zorba
Milestone: None => 2.7

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

Title:
  potential bug in isPossibleSimpleContentRevalImpl?

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The following code in method
  SchemaValidatorImpl::isPossibleSimpleContentRevalImpl

if ( schemaTypeCode == store::XS_ID ||
schemaTypeCode == store::XS_IDREF )
  return false;
else
  return false; //true;

  return false always. It should return true in the "else" case, no?

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1007301/+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 925366] Re: Setting a prefixed default value for an attribute typed as xs:QName makes zorba give incorect error.

2012-06-12 Thread Dana Florescu
** Changed in: zorba
   Importance: Medium => High

** Changed in: zorba
Milestone: 2.5 => 2.7

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

Title:
  Setting a prefixed default value for an attribute typed as xs:QName
  makes zorba give incorect error.

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Upon import of the following schema in a query, Zorba crashes.

  schema.xsd
  =
  
  http://www.w3.org/2001/XMLSchema";
xmlns:my="http://ns.example.com/";
targetNamespace="http://www.example.com/";>

  

  

  

  
  Query
  =
  import schema namespace pul = "http://www.example.com/"; at "schema.xsd";
  ()

  
  It seems to be because the prefix binding of "my" (the default value's 
prefix) is forgotten outside of the schema (removing this prefix does not lead 
to a crash).

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/925366/+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 961309] Re: parameter support in the xslt module

2012-06-12 Thread Dana Florescu
** Changed in: zorba
Milestone: None => 2.7

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

Title:
  parameter support in the xslt module

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Add  parameter support in the xslt module like Exist, BaseX and
  Marklogic

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/961309/+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 894009] Re: Schema validation: can not cast to "02B6E590"

2012-06-12 Thread Dana Florescu
** Changed in: zorba
Milestone: None => 2.7

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

Title:
  Schema validation: can not cast to "02B6E590"

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Query:

  import schema namespace union = "http://my.schema"; at "sch.xsd";

  validate strict { http://my.schema";>+ }

  
  Schema:

  http://www.w3.org/2001/XMLSchema";
xmlns:this="http://my.schema";
targetNamespace="http://my.schema";>


  




  

  
  Result:

  :3,1: dynamic error [err:FORG0001]: "+": invalid value for
  cast/constructor: can not cast to "02B6E590": value '+' is invalid
  QName; raised at zorba\src\types\schema\schema.cpp:1761

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/894009/+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 867345] Re: Built-in Atom schema

2012-06-12 Thread Dana Florescu
** Changed in: zorba
Milestone: None => 2.7

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

Title:
  Built-in Atom schema

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Please find enclosed a patch that integrates the Atom schema within
  Zorba + a unit test for it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867345/+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 867349] Re: xsi:schemaLocation is ignored

2012-06-12 Thread Dana Florescu
** Changed in: zorba
Milestone: None => 2.7

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

Title:
  xsi:schemaLocation is ignored

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Some xml files contain the attribute xsi:schemaLocation specifying the 
location of the schemas used in the xml.
  But this attribute is ignored at validate{ } and I have to explicitly specify 
the import schema namespace.
  See the xml examples in Geo stuff schemas.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867349/+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 867117] Re: ZORBA_ERROR_* macros still used

2012-06-12 Thread Dana Florescu
** Changed in: zorba
Milestone: None => 2.7

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

Title:
  ZORBA_ERROR_* macros still used

Status in Zorba - The XQuery Processor:
  New

Bug description:
  These old macros are still being used to report errors, e.g.,
  LoadSchemaErrorHandler.cpp lines 67, 86. Additionally, English-only
  text is being used to construct error messages on-the-fly. All error
  messages need to have text referenced symbolically via diagnostic
  dictionary keys and thus be able to be localized.

  Please replace all uses of these macros with "throw XQUERY_EXCEPTION(
  ..., ERROR_PARAMS( ... ), ERROR_LOC( ... ) );" and move all English-
  only strings to diagnostic_en.xml.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867117/+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 991088] Re: Updating expressions in try/catch

2012-06-12 Thread Dana Florescu
** Changed in: zorba
Milestone: None => 2.7

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

Title:
  Updating expressions in try/catch

Status in Zorba - The XQuery Processor:
  In Progress

Bug description:
  I believe that the following two expressions should raise XUST0001:

  try { 1 } catch * { delete node  },
  try { delete node  } catch * { 1 }

  Source:
http://www.w3.org/TR/xquery-update-30/#id-try-catch

  Hope this helps,
  Christian

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/991088/+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 1008082] Re: Crashing Transform Expression

2012-06-12 Thread Dana Florescu
** Changed in: zorba
Milestone: None => 2.7

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

Title:
  Crashing Transform Expression

Status in Zorba - The XQuery Processor:
  New

Bug description:
  copy $x := , $y := 
  modify ()
  return $x

  Hope this helps,
  Christian

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1008082/+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 922504] Re: Endless Loop in Ordpath generation - Assertion?

2012-06-12 Thread Dana Florescu
** Changed in: zorba
Milestone: 3.0 => 2.7

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

Title:
  Endless Loop in Ordpath generation - Assertion?

Status in Zorba - The XQuery Processor:
  New

Bug description:
  A customer form 28msec was able to produce an endless loop in
  OrdPath::getLocalBitLength. Basically, the variable lastByte was set
  to 0 in line 360 -> the while loop never stops.

  Unfortunately, I was not able to figure out under which circumstances
  this behavior happens. But would it be possible to add an Assertion to
  catch this failure? Moreover, it would be very nice to print some
  information in case of assertions. E.g. the value of the current
  Ordpath. Otherwise, it is almost impossible to reproduce an assertion.

  I already talk to Matthias concerning printing some additional
  information. He thinks it could be added to the stack print. He will
  get in touch with you to discuss if it can be done without performance
  regressions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/922504/+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 932314] Re: fn:distinct-values bug

2012-06-12 Thread Dana Florescu
** Changed in: zorba
Milestone: 3.0 => 2.7

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

Title:
  fn:distinct-values bug

Status in Zorba - The XQuery Processor:
  New

Bug description:
  test 'fn-distinct-values-2' from FOTS:

  fn:distinct-values((1 to 300, 100 to 400, 29, 145, 20 to 50, for $x in
  (30 to 40) return xs:string($x), "foo", "bar"))

  is failing with error:
  type error [err:XPTY0004]: "xs:integer": invalid type: can not compare for 
equality to type "xs:string"; raised at 
/home/spungi/work/zorba/repo/feature_fots/src/runtime/booleans/BooleanImpl.cpp:874

  This is wrong behavior according to the
  http://www.w3.org/TR/xpath-functions-30/#func-distinct-values

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


  1   2   3   4   >