[Zorba-coders] [Bug 866969] Re: FileAPI does not like seekable streamable strings

2012-07-26 Thread Dana Florescu
** Changed in: zorba
Milestone: 2.7 = 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/866969

Title:
  FileAPI does not like seekable streamable strings

Status in Zorba - The XQuery Processor:
  New

Bug description:
  I have disabled make_xqdoc test since it fails:

  2098: 
zorba/modules/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq:116,9: Zorba 
error [zerr:XQP0012]: FxCharHeap I/O error; thrown at 
zorba\src\util\file.cpp:543 =
  2098: xqdoc2html:clear-folder#2 ( 
http://www.zorba-xquery.com/modules/xqdoc2xhtml/ )
  2098: zorba/modules/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq at line 
240 column 7
  2098: =
  2098: xqdoc2html:copy-xhtml-requisites#3 ( 
http://www.zorba-xquery.com/modules/xqdoc2xhtml/ )
  2098: zorba\doc\zorba\xqdoc\src\xqdoc-main.xq at line 9 column 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/866969/+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 1018186] Re: Markdown for XQDoc

2012-07-24 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/1018186

Title:
  Markdown for XQDoc

Status in Zorba - The XQuery Processor:
  New

Bug description:
  xqdoc:xqdoc() shouldn't try to parse tags within a comment.
  Markups used in the comments should maybe leverage an easier syntax such as 
markdown.

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

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


Re: [Zorba-coders] [Bug 1014984] Re: Website needs front-page news section

2012-06-26 Thread Dana Florescu
Really cool, thanks.

Dana


On Jun 26, 2012, at 3:16 PM, William Candillon wrote:

 Please mark it as fixed released if you are happy with the current
 status at http://www.zorba-xquery.com
 
 ** Changed in: zorba
   Status: Confirmed = Fix Committed
 
 ** Changed in: zorba
 Assignee: William Candillon (wcandillon) = Dana Florescu (dflorescu)
 
 ** Changed in: zorba
   Status: Fix Committed = In Progress
 
 -- 
 You received this bug notification because you are subscribed to the bug
 report.
 https://bugs.launchpad.net/bugs/1014984
 
 Title:
  Website needs front-page news section
 
 Status in Zorba - The XQuery Processor:
  In Progress
 
 Bug description:
  http://www.zorba-xquery.com/ needs a separate News section where we
  can link to release announcements, blog entries, and so on.
 
 To manage notifications about this bug go to:
 https://bugs.launchpad.net/zorba/+bug/1014984/+subscriptions

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

Title:
  Website needs front-page news section

Status in Zorba - The XQuery Processor:
  In Progress

Bug description:
  http://www.zorba-xquery.com/ needs a separate News section where we
  can link to release announcements, blog entries, and so on.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1014984/+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-26 Thread Dana Florescu
** Changed in: zorba
 Assignee: Markos Zaharioudakis (markos-za) = (unassigned)

** 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/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 867118] Re: detect inconsistencies in the ItemFactory

2012-06-26 Thread Dana Florescu
** Changed in: zorba
 Assignee: Markos Zaharioudakis (markos-za) = (unassigned)

** Changed in: zorba
 Assignee: (unassigned) = Till Westmann (tillw)

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

Title:
  detect inconsistencies in the ItemFactory

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The ItemFactory currently allows inconsistent parameters when creating
  elements. For example

  theFactory-createQName(theNamespace, header), theUntypedQName,
  false, ...)

  Here the type is untyped but false specifies that the element doesn't
  have a typed value. This inconsistency might cause FOTY0012 to be
  reported in ElementNode::getTypedValue (but should have been detected
  much earlier).

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867118/+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 898792] Re: xs:QName fails for non-literal input

2012-06-26 Thread Dana Florescu
** Changed in: zorba
 Assignee: Markos Zaharioudakis (markos-za) = (unassigned)

** Changed in: zorba
 Assignee: (unassigned) = Nicolae Brinza (nbrinza)

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

Title:
  xs:QName fails for non-literal input

Status in Zorba - The XQuery Processor:
  New

Bug description:
  xs:QName(concat('local:', 'list')) fails with

  1,1: type error [err:XPTY0004]: Cannot treat xs:string as xs:QName

  but xs:QName(local:list) works

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/898792/+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 1014984] Re: Website needs front-page news section

2012-06-26 Thread Dana Florescu
** Changed in: zorba
   Status: In Progress = Fix Released

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

Title:
  Website needs front-page news section

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  http://www.zorba-xquery.com/ needs a separate News section where we
  can link to release announcements, blog entries, and so on.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1014984/+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-13 Thread Dana Florescu
** Changed in: zorba
   Importance: Critical = 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/1008082

Title:
  Crashing Transform Expression

Status in Zorba - The XQuery Processor:
  New

Bug description:
  copy $x := a/, $y := b/
  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 932314] Re: fn:distinct-values bug

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Importance: Critical = 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/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 1010748] Re: libsasl.dll missing from Windows installer

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

** Changed in: zorba
Milestone: 2.7 = 2.5

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

Title:
  libsasl.dll missing from Windows installer

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  1. Install Zorba from:

http://www.2shared.com/file/2ksHal6V/zorba-250-win32-x86.html

  2. Run any query that uses curl, including just trying to import an
  unknown module:

zorba -q import module namespace f='http://www.google.com/foo'; 1

  The application has failed to start because libsasl.doo was not
  found. popup dialog.

  I believe that fixing cmake_modules/Windows/FindCURL.cmake to
  FIND_PACKAGE_DLL_WIN32(libsasl) might do the trick here, but I'm not
  sure.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1010748/+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 972855] Re: Simplestore is not compiling on windows

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Simplestore is not compiling on windows

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Currently, simplestore is not compiling on windows with error:
  zorba::simplestore::Store' : base class undefined

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/972855/+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 963091] Re: Zorba 2.2.0 fails to build with gcc 4.7 (missing includes)

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Zorba 2.2.0 fails to build with gcc 4.7 (missing includes)

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  The sources of Zorba 2.2.0 fail to build with gcc 4.7.0 due to missing
  includes of unistd.h:

  /builddir/build/BUILD/zorba-2.2.0/bin/debugger/main.cpp:175:20: error: 'fork' 
was not declared in this scope
  /builddir/build/BUILD/zorba-2.2.0/bin/debugger/process_listener.cpp:91:10: 
error: 'sleep' was not declared in this scope

  The attached patch should fix this issue.

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

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


[Zorba-coders] [Bug 962216] Re: stack queue module

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  stack  queue module

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Implement two new modules:

  - stack for node items, using collections
  - queue for node items, using collections

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

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


[Zorba-coders] [Bug 967284] Re: XQDoc doesn't support invalid XML entities

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  XQDoc doesn't support invalid XML entities

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Given the following HTML as part of an XQDoc comment:

  table
trtdfoonbsp;bar/td/tr
  /table

  one gets the error:

  can not parse as XML for xqdoc: loader parsing error: Entity 'nbsp'
  not defined; raised at /Users/pjl/src/flwor/zorba/repo/feature-
  ft_module/zorba/src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp:433

  The parser needs to accept nbsp; so a non-breaking space can be
  included in the HTML.

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

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


[Zorba-coders] [Bug 928629] Re: XMLBeans module

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  XMLBeans module

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  We should have a new module that allows the user to invoke XMLBeans.
  Specifically, the module should provide functions to generate a schema
  given a sequence of nodes and generate a node given a schema.

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

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


[Zorba-coders] [Bug 962220] Re: full-text module

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  full-text module

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Implement a new module that provides basic full-text related
  functions.

  - accessing thesaurus
  - stemming
  - tokenization
  - accessing stop-words

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/962220/+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 942011] Re: translator should flatten a tree of StringConcatExprs

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  translator should flatten a tree of StringConcatExprs

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  For example, a query like:

  foo || boo || ga || ga

  should generate a single fo_expr instead of three (and correspondigly,
  a sinlge ConcatStrIterator iterator).

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/942011/+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 946986] Re: Unbalanced ')' in regex seg faults

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Unbalanced ')' in regex seg faults

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  The following tests from the fn/matches.re.xml test-set result in a 
Segmentation Fault :
  - re00038
  Query:
  xquery version '3.0';
  declare namespace o = 'http://www.zorba-xquery.com/options/features';
  declare option o:enable 'hof';  
  matches('qwerty','(a))')

  
  - re00039
  Query:
  xquery version '3.0';
  declare namespace o = 'http://www.zorba-xquery.com/options/features';
  declare option o:enable 'hof';  
  matches('qwerty','ab|(d))')

  I have set the importance to HIGH because Zorba Seg Faults: please
  change if you think it's appropriate.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/946986/+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 948879] Re: --uri-path doesn't work with fetch:content()

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  --uri-path doesn't work with fetch:content()

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  The zorbacmd command-line arguments --uri-path, --lib-path, and
  --module-path modify the StaticContext that runs the query. However,
  if this query invokes the fetch module, the invocation of
  fetch:content() is in a separate StaticContext that does not inherit
  those paths. The upshot is that you can't fetch content from any
  custom paths, only the built-in Zorba paths.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/948879/+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 944795] Re: XQDoc doesn't handle in URLs

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  XQDoc doesn't handle  in URLs

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  If one has a URL within XQDoc documentation that contains a , e.g.:

  : When using the WordNet implementation,
  : Zorba supports all of the relationships (and their abbreviations)
  : specified by
  : a 
href=http://www.niso.org/kst/reports/standards?step=2gid=project_key=7cc9b583cb5a62e8c15d3099e0bb46bbae9cf38a;ANSI/NISO
 Z39.19-2005/a.

  the parser complains:

  can not parse as XML for xqdoc: loader parsing error: EntityRef: expecting ';'
  ; raised at 
/Users/pjl/src/flwor/zorba/repo/feature-ft_module/zorba/src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp:417

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

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


[Zorba-coders] [Bug 928626] Re: no setting classpath in xsl-fo module

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  no setting classpath in xsl-fo module

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  The xsl-fo module shouldn't provide any function that allows the user
  to configure the classpath. Instead, the classpath should be
  configured once for the entire Zorba process and all Java-based
  modules should use this classpath.

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

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


[Zorba-coders] [Bug 1000478] Re: Build errors using Xcode 4.3.2

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Build errors using Xcode 4.3.2

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  src/util/string/rstring.h:1956:12: error: 'append_safe' is a private member 
of 'zorba::rstringzorba::rstring_classes::repzorba::atomic_int, 
std::char_traitschar, std::allocatorchar  '
  result.append_safe( s1.data(), s1.size(), s2.data(), s2.size() );
 ^

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1000478/+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 996084] Re: crash in Streamable*Item with file module

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  crash in Streamable*Item with file module

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  I was trying to

  1. read a data file
  2. get the md5 of the file content
  3. return both the md5 and content in one XML node:
    filemd5.../md5data.../data/file

  Executing the complete example (see attachment) with any data.txt file
  leads to a crash. It seems that the streamreleaser in
  ~StreamableBase64BinaryItem() and ~StreamableStringItem() tries to
  delete the same ifstream.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/996084/+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 986377] Re: do not apply any updates on collection if it is to be truncated

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  do not apply any updates on collection if it is to be truncated

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  If a truncate-collection primitive is in a PUL, no other primitives
  for the same collection should be applied or undone, because the
  truncation primitive itself is not undoable

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/986377/+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 988417] Re: block internal modules

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  block internal modules

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  If one wants to limit the choice of of available modules for a user,
  this is very easy for external modules. One simply registers an
  URIMapper that disallows access to certain modules. However, this does
  not work for Zorba's internal modules as those are not resolved via
  the usual resolution mechanism.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/988417/+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 980463] Re: Using type_info::name() wrong

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Using type_info::name() wrong

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  In class_serializer.h,  the definition of the CHECK_CLASS_NAME macro:

#define CHECK_CLASS_NAME(class_name) \
if (ar.is_serializing_out()  !ar.is_serialize_base_class()) \
{ \
  assert(strstr(typeid(*this).name(), #class_name)); \
}

  The string returned by type_info::name() is implementation-dependent
  and has no guarantees about its content or format. In this case, you
  can not legitimately test to see, for some class type C, if
  typeid(C).name() contains the string literal C.

  However, you can legitimately compare two name() strings for equality.
  The above should be rewritten as:

  assert(::strcmp(typeid(*this).name(), typeid(class_name).name())
  == 0);

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/980463/+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 872958] Re: Need way to detect non-core modules in build

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Need way to detect non-core modules in build

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  We have a few test cases in core Zorba which depend on non-core
  modules. We would like to add some more, including integration tests
  and utility scripts.

  What we need is some CMake flag which is set by the existence of a
  given non-core module, so the core CMakeLists.txt files can do things
  like

  IF (PROCESS_MODULE_EXISTS)
ADD_TEST(depends_on_process )
  ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/872958/+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 867234] Re: Zorba 2.0.1 fails to build

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Zorba 2.0.1 fails to build

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  I'm trying to build Zorba for Fedora but it currently fails because of
  some missing includes (see attached patch).

  Also, there's a compilation error complaining about a missing default
  constructor in zorba::ICU_TokenizerProvider:

  
/home/martin/rpmbuild/BUILD/zorba-2.0.1/src/runtime/full_text/default_tokenizer.cpp:
 In static member function 'static const zorba::TokenizerProvider 
zorba::DefaultTokenizerProvider::instance()':
  
/home/martin/rpmbuild/BUILD/zorba-2.0.1/src/runtime/full_text/default_tokenizer.cpp:29:38:
 error: uninitialized const 'instance' [-fpermissive]
  
/home/martin/rpmbuild/BUILD/zorba-2.0.1/src/runtime/full_text/icu_tokenizer.h:64:7:
 note: 'const class zorba::ICU_TokenizerProvider' has no user-provided default 
constructor
  make[2]: *** 
[src/CMakeFiles/zorba_simplestore.dir/runtime/full_text/default_tokenizer.cpp.o]
 Error 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867234/+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 869024] Re: Zorba crashes with getReference

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Zorba crashes with getReference

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  The following query sometimes causes Zorba to crash:

  import module namespace ddl = 
http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl;;
  import module namespace dml = 
http://www.zorba-xquery.com/modules/store/dynamic/collections/dml;;
  import module namespace ref = 
http://www.zorba-xquery.com/modules/node-reference;;

  ddl:create(xs:QName(ddl:coll));
  dml:insert-nodes-last(xs:QName(ddl:coll),element {bb}{text {aa}});
  ref:node-reference(dml:collection(xs:QName(ddl:coll)))

  This is caused by the following cast: 
  const OrdPathNode* n = static_castconst OrdPathNode*(node); 
  which is not correct when node is a TextNode

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/869024/+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 867215] Re: --lib-module doesn't work with import with location hints

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  --lib-module doesn't work with import with location hints

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  My query runs fine but --compile-only is not able to compile one of
  library module properly.

  $ ~/bin/zorba -q rest.xq -f --compile-only -l
  rest.xq:5,1: static error [err:XQST0059]: 
http://www.28msec.com/modules/http: target namespace not found for 
schema/module http://www.28msec.com/modules/collections/http.xq 
  $ ~/bin/zorba -q main.xq -f
  ?xml version=1.0 encoding=UTF-8?

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867215/+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 867229] Re: Undo of Create Collection doesn't work

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Undo of Create Collection doesn't work

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  In the following query an error is raised during the PUL application.
  As a consequence the m:aaa collection should be destroyed.
  However in UpdCreateCollection::undo() when 
GET_STORE().deleteCollection(theName) is invoked, theName contains a NULL 
pointer, thus no collection is deleted.
  The following query thus returns m:aaa as being available.

  import module namespace m = 'xqueryzorba.org/test/xqddf/ic' at 
'/zorba/pulsrc/test/rbkt/Queries/zorba/xqddf/ic.xqlib';
  import module namespace ddl = 
http://www.zorba-xquery.com/modules/store/static/collections/ddl;;
  import module namespace dml = 
http://www.zorba-xquery.com/modules/store/static/collections/dml;;
  import module namespace dddl = 
http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl;;
  import module namespace ic_ddl = 
http://www.zorba-xquery.com/modules/store/static/integrity_constraints/ddl;;

  ddl:create($m:empc);

  ic_ddl:activate(xs:QName(m:ic_simple));
  try
  {
  (
  dddl:create(xs:QName(m:aaa))
  ,
  dml:insert-nodes($m:empc,
  emp
  salary600/salary
  /emp
  )
  );
  }
  catch * {}
  dddl:available-collections()

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867229/+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 867144] Re: Python bindings not building on Windows in Debug mode

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Python bindings not building on Windows in Debug mode

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  In debug mode linking the python language bindings fails. This is
  because pythond doesn't distribute python27_d.lib (does only
  distribute python27.lib)

  Maybe this is a bug in CMake. If that is true FindPythoncmake
  modules have to be brought in Zorba and corrected.

  Linking CXX shared module _zorba_api.pyd
  LINK : fatal error LNK1104: cannot open file 'python27_d.lib'
  LINK Pass 1 failed. with 1104
  NMAKE : fatal error U1077: 'C:\Program Files\CMake 2.8\bin\cmake.exe' : 
return code '0x'
  Stop.
  NMAKE : fatal error U1077: 'c:\Program Files\Microsoft Visual Studio 
10.0\VC\BIN\nmake.exe' : return code '0x2'
  Stop.
  NMAKE : fatal error U1077: 'c:\Program Files\Microsoft Visual Studio 
10.0\VC\BIN\nmake.exe' : return code '0x2'
  Stop.

  C:\Users\Gabriel\Work\28msec\zorba\builds\debug10cm

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867144/+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 867130] Re: Need ASCII regex

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Need ASCII regex

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  As discussed on the zorba-coders mailing list, in order to build Zorba
  without ICU, there needs to be a ASCII regular expression library to
  take the place of ICU.  The existing code in
  zorbatypes/regex_ascii.h/.cpp needs to be wrapped by the existing
  regex class for an alternate implementation when ZORBA_NO_UNICODE=ON,
  e.g.:

  #ifndef ZORBA_NO_UNICODE
  // existing regex class
  #else
  // new regex class backed by regex_ascii
  #endif

  You probably also need to provide an alternate implementation of
  convert_xquery_re() (in regex.h/.cpp) that currently converts an
  XQuery regular expression into an ICU regular expression.  If the
  existing regex_ascii regular expressions exactly match XQuery regular
  expressions, then the alternate implementation of convert_xquery_re()
  can simply copy xq_re to lib_re as-is.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867130/+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 867214] Re: Incorrect XQueryX error message

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Incorrect XQueryX error message

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Running: ctest -V test/rbkt/zorba/xqueryx/err2
  one gets the error:
  http://www.zorba-xquery.com/errors:ZXQP0031: 
http://www.zorba-xquery.com/errors:ZXQP0031malformed XQueryX XML input: ^

  the '^' is wrong

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867214/+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 859968] Re: Using put on an attribute produces an invalid Xdm instance and a segmentation fault

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Zorba
Coders, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/859968

Title:
  Using put on an attribute produces an invalid Xdm instance and a
  segmentation fault

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  The following query creates an element node with a single children
  (not attribute). The attribute is then retrievable using child::node()
  but not attribute::*

  import module namespace doc = http://www.zorba-
  xquery.com/modules/store/dynamic/documents;

  declare function local:dump-types($nodes as node()*) as element()*
  {
  for $node in $nodes
  return
   if ($node instance of text()) then ()
   else
   (
   element
   {
   if ($node instance of element()) then node-name($node)
   else if ($node instance of attribute()) then 
concat(attr-,string(node-name($node)))
   else if ($node instance of text()) then 'text'
   else if ($node instance of document-node()) then 'document-node'
   else if ($node instance of comment()) then 'comment'
   else if ($node instance of processing-instruction()) then 
'processing-instruction'
   else 'unknown'
   }
   {
    for $attr in $node/@*
     return attributes{local:dump-types($attr)}/attributes,
    for $elem in $node/node()
     return children{local:dump-types($elem)}/children
   }
   )
  };

  put(attribute {test}{test},http://www.zorba-xquery.com/b;);
  count(doc:document(http://www.zorba-xquery.com/b;)/child::node()),
  local:dump-types(doc:document(http://www.zorba-xquery.com/b;))

  Returns:

  ?xml version=1.0 encoding=UTF-8?
  1document-nodechildrenattr-test//children/document-node

  Segmentation faults then are easy:

  import module namespace doc = http://www.zorba-
  xquery.com/modules/store/dynamic/documents;

  declare function local:dump-types($nodes as node()*) as element()*
  {
  for $node in $nodes
  return
if ($node instance of text()) then ()
else
(
element 
{
if ($node instance of element()) then node-name($node)
else if ($node instance of attribute()) then 
concat(attr-,string(node-name($node)))
else if ($node instance of text()) then 'text'
else if ($node instance of document-node()) then 'document-node'
else if ($node instance of comment()) then 'comment'
else if ($node instance of processing-instruction()) then 
'processing-instruction'
else 'unknown'   
}   
{
for $attr in $node/@*
return 
attributes{local:dump-types($attr)}/attributes,
for $elem in $node/node()
return children{local:dump-types($elem)}/children   

}
)
  };

  put(attribute {test}{test},http://www.zorba-xquery.com/b;);
  replace node doc:document(http://www.zorba-xquery.com/b;)/child::node() with 
attribute{aaa}{xxx};

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/859968/+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 859522] Re: Assertion failed with document delete

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Zorba
Coders, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/859522

Title:
  Assertion failed with document delete

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  The following query causes an assertion failure.
  import module namespace doc = 
http://www.zorba-xquery.com/modules/store/dynamic/documents;;

  doc:put(foo, document { foobar/foo });

  (
  doc:remove(foo),
  doc:remove(foo)
  );

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/859522/+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 859465] Re: Zorba fatal with two deactivate IC

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Zorba
Coders, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/859465

Title:
  Zorba fatal with two deactivate IC

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  This query causes a ZORBA_FATAL.

  import module namespace m = 'xqueryzorba.org/test/xqddf/ic' at 'ic.xqlib';
  import module namespace ddl = 
http://www.zorba-xquery.com/modules/store/static/collections/ddl;;
  import module namespace dml = 
http://www.zorba-xquery.com/modules/store/static/collections/dml;;
  import module namespace ic_ddl = 
http://www.zorba-xquery.com/modules/store/static/integrity_constraints/ddl;;

  ddl:create($m:empc);
  ic_ddl:activate(xs:QName(m:ic_simple));

  (
  ic_ddl:deactivate(xs:QName(m:ic_simple)),
  ic_ddl:deactivate(xs:QName(m:ic_simple)) 
  );

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/859465/+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 866987] Re: Error for XTDE1310 should contain picture string

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Error for XTDE1310 should contain picture string

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  In runtime/numerics/numerics_impl.cpp, the error messages for XTDE1310
  should contain the picture string but currently don't.  It's not clear
  to me where to get the entire picture string from; hence this bug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/866987/+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 859468] Re: Zorba fatal with two activate simple IC

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Zorba
Coders, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/859468

Title:
  Zorba fatal with two activate simple IC

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  This query causes a ZORBA_FATAL
  import module namespace m = 'xqueryzorba.org/test/xqddf/ic' at 'ic.xqlib';
  import module namespace ddl = 
http://www.zorba-xquery.com/modules/store/static/collections/ddl;;
  import module namespace dml = 
http://www.zorba-xquery.com/modules/store/static/collections/dml;;
  import module namespace ic_ddl = 
http://www.zorba-xquery.com/modules/store/static/integrity_constraints/ddl;;

  ddl:create($m:empc);
  (
  ic_ddl:activate(xs:QName(m:ic_simple)),
  ic_ddl:activate(xs:QName(m:ic_simple)) 
  );

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/859468/+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 859467] Re: Zorba fatal with two activate Foreign Key

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Zorba
Coders, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/859467

Title:
  Zorba fatal with two activate Foreign Key

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  This query causes a ZORBA_FATAL
  import module namespace m = 'xqueryzorba.org/test/xqddf/ic' at 'ic.xqlib';
  import module namespace ddl = 
http://www.zorba-xquery.com/modules/store/static/collections/ddl;;
  import module namespace dml = 
http://www.zorba-xquery.com/modules/store/static/collections/dml;;
  import module namespace ic_ddl = 
http://www.zorba-xquery.com/modules/store/static/integrity_constraints/ddl;;

  ddl:create($m:empc);  
  ddl:create($m:trnc);  

  (
  ic_ddl:activate(xs:QName(m:ic_foreignKey)),
  ic_ddl:activate(xs:QName(m:ic_foreignKey))
  );

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/859467/+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 867221] Re: Nested element constructors cause loss of namespace bindings

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Nested element constructors cause loss of namespace bindings

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Consider this query:
  element {QName(http://outer,bind;)}
  {
  element {QName(,b)}
  {
  inner
  }
  }
  In zorba and all other libraries it creates as expected:
  ?xml version=1.0 encoding=UTF-8?
  bind xmlns=http://outer;b xmlns=inner/b/bind
  Notice that b contains xmlns=

  
  Consider this query now:
  element {QName(http://outer,bind;)}
  {
element {QName(http://named,named:middle;)}
{
  element {QName(,b)}
  {
inner
  }
}
  }

  This one in zorba creates:
  ?xml version=1.0 encoding=UTF-8?
  bind xmlns=http://outer;named:middle 
xmlns:named=http://named;binner/b/named:middle/bind
  Notice that b inherits xmlns=http://outer;

  I would expect the result that is given by Saxon and BaseX:
  ?xml version=1.0 encoding=UTF-8?
  bind xmlns=http://outer;
 named:middle xmlns:named=http://named;
b xmlns=inner/b
 /named:middle
  /bind
  Notice that b contains xmlns=

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867221/+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 925133] Re: replace string restriction with xs:boolean in csv-options.xsd

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  replace string restriction with xs:boolean in csv-options.xsd

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  csv-options.xsd contains these attribute definitions:

  attribute name=ignore-foreign-input default=false
simpleType
  restriction base=string
pattern value=true|false/
  /restriction
/simpleType
  /attribute
  attribute name=accept-all-lines default=false
simpleType
  restriction base=string
pattern value=true|false/
  /restriction
/simpleType
  /attribute

  What is the reason it was defined using a string restriction and not
  xs:boolean?

  Like this:

  attribute name=ignore-foreign-input type=xs:boolean default=false/
  attribute name=accept-all-lines type=xs:boolean default=false/

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/925133/+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 918159] Re: Add XQJ to validation queue

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Add XQJ to validation queue

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Need JRE/JDK (at least) to get it to build, and then need to download
  XQJ and run it.

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

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Wrong PHP library name on macosx

Status in Zorba - The XQuery Processor:
  Fix Released

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/897825/+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 987830] Re: dismiss adding of the functions that do not have a return type

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  dismiss adding of the functions that do not have a return type

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
   Even if a sequential function returns (), we should mark it as such.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/987830/+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 978722] Re: change annotation prefix from ann to an

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  change annotation prefix from ann to an

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  For consistency with fn, we should change the annotation prefix
  ann to an in all of our modules.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/978722/+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 955574] Re: http-client hangs if following a POST request

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  http-client hangs if following a POST request

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Making the following request to a resource that sends a 301 or 302
  redirect doesn't terminate.

http:send-request(
 http:request href=http://some-ressource; method=POST 
follow-redirect=true
http:header name=Content-Length value=4/
http:body media-type=text/plaintest/http:body
 /http:request
)

  The reason is that the http-client tells curl to follow the redirect.
  In turn, curl issues a GET request with the Content-Length header set
  to the size of the payload of the original POST request. However, the
  response doesn't come back because no data is sent with the redirected
  GET request.

  A suggested solution is to raise an error if one tries to follow POST,
  PUT, or DELETE requests. The semantic of doing this is not clear and
  it's up to the user what to do. For example, the user might want to
  follow-up using a GET request or with another POST containing the same
  data. Raising an error allows the user of the http-client to do
  whatever is required.

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

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


[Zorba-coders] [Bug 962255] Re: integrate into XQDoc the module dependency graph generation

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  integrate into XQDoc the module dependency graph generation

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  The module dependency graph (modules.svg) if out of date.

  We should generate it on every make XQDoc *if* the Graphviz module
  is present.

  The modules.svg needs to be created after the XQDoc XML's are created
  and before xqdoc2xhtml processing.

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

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


[Zorba-coders] [Bug 955170] Re: Catch clause with URILiteral-based wilcard NameTest

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Catch clause with URILiteral-based wilcard NameTest

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  The following query raises an error (static error [err:XPST0081]:
  http://www.w3.org/2005/xqt-errors: can not expand namespace prefix
  to URI).

  try { 1 div 0 } catch http://www.w3.org/2005/xqt-errors:* {
  Message}

  Could it be that NameTests à la (URILiteral : *) are not supported
  here?

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/955170/+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 955040] Re: XSL-FO module test added even if module is not built

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  XSL-FO module test added even if module is not built

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Here is a CMake output:

  -- Looking for Java
  -- Looking for JNI
  -- Variable XSL_FOP_HOME not defined, trying defaults:  /usr/share/java/ 
/usr/share/java/fop/
  -- XSL-FOP HOME :/usr/share/java//usr/share/java/fop/
  -- fop.jar and all its dependecies not found skiping data-formating module
  -- 
  -- End modules
  -- Added 1 tests in 
/home/spungi/work/zorba/tmp/zorba_modules/data-formatting/test

  
  As you see the test for XSL-FO module is added even if the module is not 
built because not all dependencies were found.

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

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


[Zorba-coders] [Bug 928987] Re: XQJ integration with JavaAPI

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  XQJ integration with JavaAPI

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Users that are using XQJ need access to CollectionManager and
  DocumentManager.

  This can be done by adding our own interface, and make our
  XQPreparedExpression implementation class also implement this new
  interface. But the user would have to up cast it to this new interface
  to get access to these new methods. This will need to be well
  documented.

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

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


[Zorba-coders] [Bug 955135] Re: err:XQDY0044 not caught by try-catch expressions.

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  err:XQDY0044 not caught by try-catch expressions.

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  In the following query, the error err:XQDY0044 is raised. If I am
  correct, as a dynamic error, it should be caught.

  try { attribute xmlns {} } catch *:XQDY0044 { Invalid attribute. }

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/955135/+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 925816] Re: URI resolver doesn't support Java URI format

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  URI resolver doesn't support Java URI format

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  URI resolver doesn't support Java URI format, 
  Java URI format is valid without Authority for files:
  file:/C:/file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/925816/+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 951016] Re: integer comparison warning in integer.h

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  integer comparison warning in integer.h

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  In file included from 
/home/mbrantner/zorba/sandbox/src/zorbatypes/integer.cpp:25:0:
  /home/mbrantner/zorba/sandbox/src/zorbatypes/integer.h: In member function 
‘bool zorba::IntegerImplT::is_long() const [with IntType = long long unsigned 
int]’:
  /home/mbrantner/zorba/sandbox/src/zorbatypes/integer.cpp:300:16:   
instantiated from here
  /home/mbrantner/zorba/sandbox/src/zorbatypes/integer.h:570:52: warning: 
comparison between signed and unsigned integer expressions
  /home/mbrantner/zorba/sandbox/src/zorbatypes/integer.h:570:52: warning: 
comparison between signed and unsigned integer expressions

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/951016/+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 931501] Re: improve error message for fn:format-number

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  improve error message for fn:format-number

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  The error messages raised by format-number when analyzing the picture
  strings should give more details about the error.

  For example,

  format-number(12345.6, '#.###,00')

  currently returns

  [err:XTDE1310]: : picture string does not satisfy format-number()
  function rules

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/931501/+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 921258] Re: URIs for files should be valid with one slash

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  URIs for files should be valid with one slash

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  URIs for files should be valid with only one slash.
  This examples should be valid:
  file:///C:/file.xq
  file:/C:/file.xq

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/921258/+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-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  HTML Styling lost in doxygen documentation

Status in Zorba - The XQuery Processor:
  Fix Released

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

  For instance, the following table:
  table bgcolor=lightcyan
tr
  tdW3C XQuery 1.0 feature/td
  tdsupported/td
/tr
  /table

  generates the following XML:
  table xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; rows=4 
cols=2
 row
 entry thead=no
 paraW3C XQuery Update Facility 1.0 feature /para
 /entry
 entry thead=no
 parasupported  /para
 /entry
 /row
  /table

  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 994919] Re: Typos in full-text module documentation and other places

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Typos in full-text module documentation and other places

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  In full-text.xq: langauage.
  In json/common.h: supporess.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/994919/+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 986580] Re: fs::lsdir() improvements

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  fs::lsdir() improvements

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  I noticed that this function was added.  There are a few of problems
  with its implementation:

  1. It forces the user to use a vector.  What if I want to use a list?
  Or something else?

  2. It uses std::string.  The majority of the Zorba code base uses
  zstring.

  3. It always reads the entire directory whether you want it or not.
  (WHat if there are 10,000 files in a directory?)  Instead, it ought to
  provide an iterator that you can stop any time you please.

  4. After the initial check for an error from opendir(), the code
  doesn't check for any subsequent errors, e.g., it does not check
  closedir() for error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/986580/+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 996593] Re: http client throws error with no content-type header in http response

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  http client throws error with no content-type header in http response

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  in modules/com/zorba-xquery/www/modules/http-
  client.xq.src/http_response_parser.cpp the function
  HttpResponseParser::parse() throws an error if the response doesn't
  contain a content-type. In this case theCurrentCharset is .

  the surprising part is that in the following code
  transcode::is_necessary() returns true and an icu_streambuf is
  created internally with an empty charset:

  if ( transcode::is_necessary( theCurrentCharset.c_str() ) ) {
lStream.reset(
  new transcode::streamstd::istream(
theCurrentCharset.c_str(), theStreamBuffer
  )
);
  }

  in the constructor of the icu_streambuf (src/util/icu_streambuf.cpp)
  the following code throws the error:

  external_conv_( no_conv_ ? nullptr : create_conv( charset ) )

  the correct behavior would be if the http-client would not throw an
  error if the content-type header is missing.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/996593/+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 1001477] Re: Error on xqdoc test for windows

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Error on xqdoc test for windows

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  CTest is not passing the xqdoc test,
  seems that there is an error creating the path:
  C:\zorba\trunk\build\test\rbkt\QueryResults\zorba\xqdoc\xhtml\images 
  from directory:
  C:\zorba\trunk\build\test\rbkt\QueryResults\zorba\xqdoc\xhtml
  which is correct, because the subdirectory xhtml doesn't exist

  1: Test command: C:\zorba\trunk\build\bin\zorba.bat --omit-xml-declaration 
-f -q C:/zorba/trunk/test/rbkt/Queries/zorba/xqdoc/make_xqdoc.xqi -e 
zorbaManifestPath:=C:/zorba/trunk/build/ZorbaManifest.xml -e 
xhtmlRequisitesPath:=C:/zorba/trunk/doc/zorba/xqdoc -e 
xqdocBuildPath:=C:/zorba/trunk/build/test/rbkt/QueryResults/zorba/xqdoc -e 
zorbaVersion:=2.2
  1: Test timeout computed to be: 1500
  1: zorbaManifestPath[0]: xs:string(C:/zorba/trunk/build/ZorbaManifest.xml)
  1: xhtmlRequisitesPath  [0]: xs:string(C:/zorba/trunk/doc/zorba/xqdoc)
  1: xqdocBuildPath   [0]: 
xs:string(C:/zorba/trunk/build/test/rbkt/QueryResults/zorba/xqdoc)
  1: 
C:\zorba\trunk\build\URI_PATH\com\zorba-xquery\www\modules\xqdoc2xhtml\index.xq:247,3:
 user-defined error [file:FOFL]: An unknown error occured: 
C:\zorba\trunk\build\test\rbkt\QueryResults\zorba\xqdoc\xhtml: I/O error: 5 
failed (error Access is denied.
  1: ): Can not create directory: 
C:\zorba\trunk\build\test\rbkt\QueryResults\zorba\xqdoc\xhtml\images 
  1: =
  1: xqdoc2html:copy-files#3 http://www.zorba-xquery.com/modules/xqdoc2xhtml/ 
  1: 
C:\zorba\trunk\build\URI_PATH\com\zorba-xquery\www\modules\xqdoc2xhtml\index.xq 
at line 293 column 7
  1: =
  1: xqdoc2html:copy-xhtml-requisites#2 
http://www.zorba-xquery.com/modules/xqdoc2xhtml/ 
  1: C:\zorba\trunk\test\rbkt\Queries\zorba\xqdoc\make_xqdoc.xqi at line 33 
column 1
1/3154 Test   #1: test/xqdoc/make_xqdoc 
..***Failed
  Required regular expression not found.Regex=[XQDoc generated successfully!
  ]  4.81 sec

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1001477/+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 994610] Re: Regex tests fail using latest ICU version

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Regex tests fail using latest ICU version

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  The regex tests:

22356 - test/rbkt/zorba/string/Regex/regex_err10 (Failed)
22361 - test/rbkt/zorba/string/Regex/regex_err15 (Failed)
22362 - test/rbkt/zorba/string/Regex/regex_err16 (Failed)
22413 - test/rbkt/zorba/string/Regex/regex_m40 (Failed)
22414 - test/rbkt/zorba/string/Regex/regex_m41 (Failed)

  fail when using ICU 4.8.1 but not 3.8.1.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/994610/+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 992037] Re: Miscellaneous warnings on Windows

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Miscellaneous warnings on Windows

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  First warning:

  include\zorba\transcode_stream.h(275) : warning C4355: 'this' : used
  in base member initializer list

  Second warning:

  src\runtime\json\jsonml_array.cpp(201) : warning C4800:
  'zorba::whitespace::type' : forcing value to bool 'true' or 'false'
  (performance warning)

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

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  date:current-dateTime daylight saving

Status in Zorba - The XQuery Processor:
  Fix Released

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/988412/+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 906494] Re: default compile with D_FILE_OFFSET_BITS=64

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  default compile with D_FILE_OFFSET_BITS=64

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  By default, Zorba should be compiled with the D_FILE_OFFSET_BITS flag
  set to 64. Otherwise, ::stat doesn't work on files  2gb.

  For example,

  file:read-text(myfile.txt)

  currently fails if the file is bigger than 2gb.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/906494/+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 905050] Re: Crash on getKind() from TypeIdentifier()

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Crash on getKind() from TypeIdentifier()

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  crash generated with this code:

  StaticContext_t staticContext = zorba-createStaticContext();
  TypeIdentifier_t typeIdent = staticContext-getContextItemStaticType()
  typeIdent-getKind();

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/905050/+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 907624] Re: misleading error message on URIMapper::DENY_ACCESS

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  misleading error message on URIMapper::DENY_ACCESS

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  This error message if a URIMapper returns DENY_ACCESS is always:
  module import not allowed even if the entity is not a module (e.g. a
  schema).

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/907624/+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 905039] Re: can't redefine Default Element And Type Namespace

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  can't redefine Default Element And Type Namespace

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  using setDefaultElementAndTypeNamespace from the StaticContext instead of 
redefining I get the error:
  static error [err:XQST0066]: multiple element/type/function namespace 
declarations

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/905039/+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 905028] Re: Base URI can't be set to undefined

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Base URI can't be set to undefined

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  We need a way to set the Base URI to undefined, like sending an empty
  string.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/905028/+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 889478] Re: doc('') and xml: prefix

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  doc('') and xml: prefix

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  With Zorba 2.0.3 and Win7, I get an exception when running the
  following query..

doc('id.xml')

  ..which is supposed to open the following document:

id xml:base='http://wow' xml:id='id0'/

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/889478/+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 863730] Re: static delete-node* functions don't raise ZDDY0012

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  static delete-node* functions don't raise ZDDY0012

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  The static delete-node(s)-first and delete-node(s)-last functions
  don't raise zerr::ZDDY0012 (invalid operation on unordered collection)
  as written in the documentation.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/863730/+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 897004] Re: collection()

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  collection()

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Zorba 2.0.3 returns an application error if fn:collection() is called
  without arguments (same on try.zorba-xquery.com). – Hth, C.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/897004/+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 905041] Re: can't redefine Default Function Namespace

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  can't redefine Default Function Namespace

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Instead I get the error:
  static error [err:XQST0066]: multiple element/type/function namespace 
declarations

  when using StaticContext method: setDefaultFunctionNamespace

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/905041/+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 904650] Re: some tests crash with plan serializer ON

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  some tests crash with plan serializer ON

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Some tests in zorba testsuite crash with ZORBA_TEST_PLAN_SERIALIZATION.
  The bug probably affects 2.1 release as well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/904650/+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 866627] Re: xquery 1.1 conformance: failing schema import tests

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  xquery 1.1 conformance: failing schema import tests

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  1588:test/rbkt/w3c_testsuite/XQuery/SchemaImport/PathExprSI/step-expr-si-1
  1589:test/rbkt/w3c_testsuite/XQuery/SchemaImport/PathExprSI/step-expr-si-2
  1590:test/rbkt/w3c_testsuite/XQuery/SchemaImport/PathExprSI/step-expr-si-3
  1629:test/rbkt/w3c_testsuite/XQuery/SchemaImport/SeqExprCastSI/notation-cast-3

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/866627/+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 936688] Re: Precompiled Headers on Windows

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Precompiled Headers on Windows

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Windows is not compiling with precompiled headers feature, some files are 
missing to include:
  #include stdafx.h

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

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


[Zorba-coders] [Bug 950616] Re: XQuery 3.0 vs Zorba: has-children#0 not implemented

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  XQuery 3.0 vs Zorba: has-children#0 not implemented

Status in Zorba - The XQuery Processor:
  Fix Released

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

  - the following functions are still not implemented:
  has-children#0

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

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


[Zorba-coders] [Bug 954724] Re: Resolve PHP bug for Windows on Release 2.2

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Resolve PHP bug for Windows on Release 2.2

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  We are just about to release 2.2.
  Resolve PHP bug for Windows on Release 2.2:
  [install dir]\share\php\zorba_api_wrapper.php:7
if(!dl('php_zorba_api.dll')) {
  should be:
if(!dl('zorba_api.dll')) {

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

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


[Zorba-coders] [Bug 950615] Re: XQuery 3.0 vs Zorba: unparsed-text-lines not implemented

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  XQuery 3.0 vs Zorba: unparsed-text-lines not implemented

Status in Zorba - The XQuery Processor:
  Fix Released

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

  The following functions are still not implemented:
  - unparsed-text-lines#1
  - unparsed-text-lines#2

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

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


[Zorba-coders] [Bug 950618] Re: XQuery 3.0 vs Zorba: path not implemented

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  XQuery 3.0 vs Zorba: path not implemented

Status in Zorba - The XQuery Processor:
  Fix Released

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

  - the following functions are still not implemented:
  path#0 path#1

  See http://www.w3.org/TR/xpath-functions-30/#func-path

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/950618/+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 949910] Re: fn:has-children segfaults on comment nodes

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  fn:has-children segfaults on comment nodes

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  When fn:has-children is called (for example) on a comment node, the
  C++ function zorba::store::Item::getChildren() is called on the
  parameter item, which leads to an error because this method is not
  implemented for nodes other than document nodes or element nodes.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/949910/+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 934607] Re: eval + plan serializer + optimizer bug

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  eval + plan serializer + optimizer bug

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Using eval + plan serializer + optimizer in a query that contains a
  materialize clause causes a segmentation fault when the deserialized
  query is executed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/934607/+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 947627] Re: setting the static type of the context item is ignored

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  setting the static type of the context item is ignored

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  In test2 in test/unit/context_item.cpp, the static type of the context
  item is set to xs:integer via the C++ API. In the query in
  test/unit/context_item2.xq - which is used to create the static
  context - the context item is declared to be of type xs:string.

  Currently the setting of the type via the C++ API is silently ignored. It 
seems that it should be reported as a error (similarly to the error that is 
reported if 2 declarations of the context item are given:
  http://www.w3.org/TR/xquery-30/#id-context-item-declarations
  http://www.w3.org/TR/xquery-30/#ERRXQST0099

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/947627/+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 937120] Re: Improve error message for ||

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Improve error message for ||

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  (1, 2) || 3
  Returns
  [err:XPTY0004]: sequence of more than one item can not be operand for
  function fn:concat()

  The error message should not reference fn:concat()

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/937120/+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 935639] Re: Closing without releasing objects

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Closing without releasing objects

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Provide a better solution for any use case where Zorba is closed without 
releasing in-memory objects.
  This is very notorious on managed memory languages where you never expect a 
memory leak, like Java.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/935639/+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 933490] Re: Error ItemFactoryImpl::createBase64Binary with istream

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Error ItemFactoryImpl::createBase64Binary with istream

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  creating a base64Binary from an ifstream results in the following
  error caused by the eof bit:

   type error: #xFF: invalid value for cast/constructor: invalid
  Base64 character

  the attached patch fixes the problem by adding an additional check for
  the eof_bit using good().

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/933490/+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 930924] Re: Modifying Namespaces

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Modifying Namespaces

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  There is no way to re-define or delete namespaces,
  a possible approach could be adding an already defined namespace to re-define 
one, and re-defining to a blank URI to delete it...

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/930924/+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 931580] Re: Upgrade SWIG API

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Upgrade SWIG API

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Upgrade SWIG API in order to get enough functionality that XQJ could
  be supported.

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

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


[Zorba-coders] [Bug 930162] Re: fn:unparsed-text-available Implementation

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  fn:unparsed-text-available Implementation

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Implementation of XQuery 3.0 function

  fn:unparsed-text-available

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

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


[Zorba-coders] [Bug 930160] Re: fn:uri-collection Implementation

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  fn:uri-collection Implementation

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Implementation of XQuery 3.0 function

  fn:uri-collection

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

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


[Zorba-coders] [Bug 930161] Re: fn:unparsed-text Implementation

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  fn:unparsed-text Implementation

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Implementation of XQuery 3.0 function

  fn:unparsed-text

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

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


[Zorba-coders] [Bug 930158] Re: fn:environment-variables Implementation

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  fn:environment-variables Implementation

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Implementation of XQuery 3.0 function

  fn:environment-variables

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

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


[Zorba-coders] [Bug 928135] Re: Segmentation fault while using Item or ItemFactory class in python

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

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

Status in Zorba - The XQuery Processor:
  Fix Released

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

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


  Zorba Version: 2.1.0

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

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


[Zorba-coders] [Bug 930157] Re: fn:available-environment-variables Implementation

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  fn:available-environment-variables Implementation

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Implementation of XQuery 3.0 function

  fn:available-environment-variables

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

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


[Zorba-coders] [Bug 921628] Re: Text serialization with XQJ

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Text serialization with XQJ

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  With the XQJ branch, the following program:

XQDataSource xqds = new XQDataSource();
XQConnection xqc = xqds.getConnection();
Properties serializationProps = new java.util.Properties();
serializationProps.setProperty(method, text);
XQExpression xqe;
XQSequence xqs;
xqe = xqc.createExpression();
xqs = xqe.executeQuery((foo /, bar /));
int i = 1;
while (xqs.next()) {
  FileOutputStream file;
  
  xqs.writeItem(System.out, serializationProps);
}

  Outputs:

  foo/bar/i = 0 String file:/// is still in the pool
  Zorba Internal Fatal Error in 
/Users/wcandillon/tmp/xqj/src/store/naive/string_pool.cpp:42:
  count == 0: condition failed: 1 strings remain in the string pool

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/921628/+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 911956] Re: Zorba fails to build with gcc 4.7.0

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Zorba fails to build with gcc 4.7.0

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  In order to build the Zorba 2.1.0 packages for Fedora 17 (with gcc
  4.7.x) I have to apply the attached patch which adds a missing
  include. Maybe you can apply it to the trunk as well.

  The compilation error is related to
  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49745 (iostream no longer
  includes unistd.h indirectly).

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/911956/+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 998757] Re: Object form of JsonML causes crash

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed = Fix Released

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

Title:
  Object form of JsonML causes crash

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  The following query:

  import module namespace json = http://www.zorba-
  xquery.com/modules/converters/json;

  let $opt := options 
xmlns=http://www.zorba-xquery.com/modules/converters/json-options;json-format
 value=JsonML-array//options
  let $json := '{name: msg, args: [divspan@wcandillon:/span 
parse/div]}'
  return
json:parse($json, $opt)

  Returns:
  ?xml version=1.0 encoding=UTF-8?
  Zorba Internal Fatal Error in 
/Users/wcandillon/tmp/zorba/src/store/naive/node_items.cpp:2908:
  !ns.empty() || prefix.empty(): condition failed: prefix = 
divspan@wcandillon ns =
  Abort trap: 6

  Example:
  http://www.zorba-xquery.com/html/demo#qCL4/2QZzsmiSyPv6SjmdZH025s=

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/998757/+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 1011126] Re: subsequence and streaming

2012-06-13 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/1011126

Title:
  subsequence and streaming

Status in Zorba - The XQuery Processor:
  New

Bug description:
  I'm writing the following query which streams fine:
   let $raw-data as xs:string := http:send-request(http:request
  href=http://cf.zorba-xquery.com.s3.amazonaws.com/forecasts.xml;
  method=GET override-media-type=text/plain /)[2]
   let $data := p:parse($raw-data,
  opt:optionsopt:parse-external-parsed-entity
  opt:skip-root-nodes=1//opt:options)
   for $node in $data
   where $node/@site-id = 3
   return
 $node

  However if I write:
  let $result :=
   let $raw-data as xs:string := http:send-request(http:request
  href=http://cf.zorba-xquery.com.s3.amazonaws.com/forecasts.xml;
  method=GET override-media-type=text/plain /)[2]
   let $data := p:parse($raw-data,
  opt:optionsopt:parse-external-parsed-entity
  opt:skip-root-nodes=1//opt:options)
   for $node in $data
   where $node/@site-id = 3
   return
 $node
  return subsequence($result, 1, 1)
  The query result is extremely long to compute.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1011126/+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 1006166] Re: cannot disable two functions with the same name

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

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

Title:
  cannot disable two functions with the same name

Status in Zorba - The XQuery Processor:
  In Progress

Bug description:
  Disabling two functions (using StaticContext::disableFunction) with
  the same name but different arities is currently not possible. Only
  the first version of the function is actually disabled.

  The problem seems to be in static_context::unbind_fn where only the
  FunctionInfo for the first function is inserted into the vector.

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

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


[Zorba-coders] [Bug 867289] Re: string comparisons with approximate match

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: New = Fix Released

** Changed in: zorba
Milestone: None = 2.5

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

Title:
  string comparisons with approximate match

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  string comparisons with approximate match

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

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


  1   2   3   4   >