Public bug reported:

The following query causes a segmentation fault:
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"),text {"aa"});
ref:node-reference(dml:collection(xs:QName("ddl:coll")))

** Affects: zorba
     Importance: High
     Assignee: Federico Cavalieri (fcavalieri)
         Status: New

** Description changed:

  The following query causes a segmentation fault:
  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"}});
+ dml:insert-nodes-last(xs:QName("ddl:coll"),text {"aa"});
  ref:node-reference(dml:collection(xs:QName("ddl:coll")))

** Changed in: zorba
     Assignee: (unassigned) => Federico Cavalieri (fcavalieri)

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

Title:
  Segmentation fault with getReference

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The following query causes a segmentation fault:
  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"),text {"aa"});
  ref:node-reference(dml:collection(xs:QName("ddl:coll")))

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

Reply via email to