You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2014/06/24 14:47:25 UTC

[jira] [Created] (CXF-5820) Update Transform feature to support simple structured paths

Sergey Beryozkin created CXF-5820:
-------------------------------------

             Summary: Update Transform feature to support simple structured paths
                 Key: CXF-5820
                 URL: https://issues.apache.org/jira/browse/CXF-5820
             Project: CXF
          Issue Type: Improvement
          Components: Core
            Reporter: Sergey Beryozkin
            Priority: Minor


Transform feature should support simple paths such as 'a/b/c' where 'c' represents a target element name to minimize possible conflicts.
For example, given:
{code:xml}
<a xmlns="http://somens">
  <c>1</c>
  <b>
    <c>2</c>
  </b>
</a>
{code}

'a/b/c' will only target a 'c' element with the value 2.
I propose that we do not worry about supporting a case where a/b/c may target a 'c' element in some other namespace different from a current namespace. 

This will let us keep a simple current path based on the simple names and current namespaces,  if the current element matches the path then the transformation is applied






--
This message was sent by Atlassian JIRA
(v6.2#6252)