Project

General

Custom queries

Profile

Actions

Bug #5022

closed

Implement current() into move processor

Added by L'Orphelin Cyril almost 12 years ago. Updated almost 12 years ago.

Status:
Rejected
Priority:
High
Assigned To:
Category:
-
Target version:
-
Start date:
09/12/2013
Due date:
% Done:

0%

Estimated time:

Description

Example :

<move nodes="/e:entries/GLUE2ServiceID[GLUE2ServiceType]/*">
                <to-following  name="GLUE2ServiceID" predicate="@id=current()/@id" as="last_child"></to-following>
</move>

Result :

[fr.in2p3.lavoisier.interfaces.error.ConfigurationException: org.dom4j.XPathException: Exception occurred evaluting XPath: request(). Exception: No request has been sent to view]

Actions #1

Updated by L'Orphelin Cyril almost 12 years ago

  • Assigned To set to L'Orphelin Cyril
  • Priority changed from Low to High
Actions #2

Updated by Reynaud Sylvain almost 12 years ago

  • Status changed from New to Rejected
  • Assigned To changed from L'Orphelin Cyril to Reynaud Sylvain

Indeed it would be nice to have this feature in parameter "predicate" of MoveProcessor, but unfortunately this is technically not possible, because parameter "predicate" is evaluated with the main XPath "nodes", so current() is not yet available at this moment!

Actions

Also available in: Atom PDF