fn:has-children segfaults on comment nodes

Bug #949910 reported by Ghislain Fourny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
Undecided
Ghislain Fourny

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.

Related branches

Changed in zorba:
status: New → In Progress
Changed in zorba:
status: In Progress → Fix Committed
Changed in zorba:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.