You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2008/12/09 22:18:44 UTC

[jira] Commented: (WSCOMMONS-389) Extend AXIOMXPath with a method that will return a node that does not exist for the given xpath

    [ https://issues.apache.org/jira/browse/WSCOMMONS-389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654969#action_12654969 ] 

Andreas Veithen commented on WSCOMMONS-389:
-------------------------------------------

Thorsten,

Can you provide some unit tests for this? Also, I would prefer code that avoids parsing the expression twice (not so much for performance reasons but to make sure that the implementation strictly adheres to XPath and is sufficiently general). Did you investigate whether it is possible to reuse the result of the XPath parsing done by Jaxen?


> Extend AXIOMXPath with a method that will return a node that does not exist for the given xpath
> -----------------------------------------------------------------------------------------------
>
>                 Key: WSCOMMONS-389
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-389
>             Project: WS-Commons
>          Issue Type: New Feature
>          Components: AXIOM
>            Reporter: Thorsten Scherler
>         Attachments: AXIOMXPathPatched.java, WSCOMMONS-389.txt
>
>
> http://markmail.org/message/qv7ksjgqa6j6je4c
> I needed a method that will create the underlying OM structure for a xpath that does not yet exists.
> Well much like: http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/xml/dom/DOMUtil.html#selectSingleNode(org.w3c.dom.Node,
> java.lang.String, org.apache.excalibur.xml.xpath.XPathProcessor) but only for Axiom. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.