zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #10739
[Bug 869024] Re: Zorba crashes with getReference
** 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_cast<const 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
References