XQDDF access-keys($index) function

Bug #900677 reported by William Candillon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
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)
Revision history for this message
Matthias Brantner (matthias-brantner) wrote :

I suggest to name the function keys($name)

Revision history for this message
Matthias Brantner (matthias-brantner) wrote :

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
Revision history for this message
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)
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.