index domain expression containing self-axis not automatically maintainable

Bug #978647 reported by Matthias Brantner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Committed
Medium
Markos Zaharioudakis

Bug Description

A index domain expression that contains a self-axis prevents the index from being automatically maintainable.

For example,

declare collection auctions:auctions as node()*;

declare %ann:unique %ann:automatic index auctions:PersonId
on nodes dml:collection(xs:QName("auctions:auctions"))/self::person
by xs:string(./@id) as xs:string;

doesn't work but

declare collection auctions:auctions as node()*;

declare %ann:unique %ann:automatic index auctions:PersonId
on nodes dml:collection(xs:QName("auctions:auctions"))
by xs:string(./@id) as xs:string;

Changed in zorba:
status: New → Fix Committed
milestone: none → 3.0
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.