Public bug reported: 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; ** Affects: zorba Importance: Medium Assignee: Markos Zaharioudakis (markos-za) Status: New -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/978647 Title: index domain expression containing self-axis not automatically maintainable Status in Zorba - The XQuery Processor: New 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; To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/978647/+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