Ticket #31 (closed Defect: Fixed)

Opened 11 months ago

Last modified 10 months ago

Can't fetch element that beneath multiple-folded elements

Reported by: SYTDeath Owned by: Mircea Amarascu
Priority: Major Milestone: OpenXCAP 1.0 stable release
Component: Performance Version:
Severity: Non-critical Keywords: fetch element attribute
Cc:

Description

Another problem is about fetching element that within multiple-folded elements, for example:

<list name="friend">

<entry uri="sip:alice@example.com">

<display-name>Alice</display-name>

</entry> <entry uri="sip:bob@example.com">

<display-name>Bob</display-name>

</entry>

</list> <list name="closefriends">

<entry uri="sip:tom@example.com">

<display-name>Tom</display-name>

</entry> <entry uri="sip:mike@example.com">

<display-name>Mike</display-name>

</entry>

</list>

If fetching the element of "mike", the responsed to the following URI is "404 Not found".

http://xcap-root/resource-lists/users/sip:alice@example.com/index/~~/resource-lists/list%5b@name=%22closefriends%22%5d\entry%5b@uri=%22sip:mike@example.com%22%5d

However, an alternative way of uing element sequence number works.

http://xcap-root/resource-lists/users/sip:alice@example.com/index/~~/resource-lists/list[2]\entry[2]

Change History

Changed 10 months ago by ruud

  • status changed from new to closed
  • resolution changed from To be investigated to Fixed

This should be fixed in the latest version (0.9.9). Could you please update and test it again?

Note: See TracTickets for help on using tickets.