XQDDF access-keys($index) function

Bug #900677 reported by William Candillon on 2011-12-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
High
Matthias Brantner

Bug Description

XQDDF lacks a function for reading index keys from an index.

Related branches

Changed in zorba:
assignee: nobody → Matthias Brantner (matthias-brantner)

I suggest to name the function keys($name)

Also, I suggest to return values of the following structure:

 <key xmlns="index module namespace">
   <attribute value="key1_value"/>
   <attribute value="key2_value"/>
   <attribute value="key3_value"/>
 </key>

This is consistent with the unordered-map module.

Changed in zorba:
milestone: none → 2.2
importance: Undecided → High
William Candillon (wcandillon) wrote :

I'm confused about this following structure.
Where is the type information about the index key?
How to you handle multiple index keys?
Should it be something like:
<index>
  <keys>
     <key value type />
   </keys>
   ...
</index>

We also need to find an expression for a key that evaluates to empty-sequence()

Changed in zorba:
status: New → In Progress
Changed in zorba:
milestone: 2.2 → 2.3
Changed in zorba:
milestone: 2.5 → none
Changed in zorba:
status: In Progress → Fix Committed
Changed in zorba:
milestone: none → 2.9
Chris Hillery (ceejatec) on 2013-05-22
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