error message missing invalid type of the key

Bug #1061222 reported by Matthias Brantner on 2012-10-03
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Markos Zaharioudakis

Bug Description

The following index declaration results in an error message that is missing the invalid type of the key.


declare %an:automatic %an:value-equality index foo:index
  on nodes dml:collection(xs:QName("foo:coll"))
  by string(@id);

Error message:

[zerr:ZDST0027]: "foo:index": index bad key type

It would be nice to get something as follows:

"foo:index": index bad key type (xs:untypedAtomic)

or maybe even that the type declaration cannot be omitted for value indices.

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  Edit
Everyone can see this information.

Other bug subscribers