You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Heshan Suriyaarachchi (JIRA)" <ji...@apache.org> on 2011/06/28 12:12:22 UTC

[jira] [Created] (AXIOM-367) Improving AXIOMXPath to support XPath 2.0

Improving AXIOMXPath to support XPath 2.0 
------------------------------------------

                 Key: AXIOM-367
                 URL: https://issues.apache.org/jira/browse/AXIOM-367
             Project: Axiom
          Issue Type: Improvement
            Reporter: Heshan Suriyaarachchi


AXIOMXPath is developed by extending org.jaxen.BaseXPath. Since Jaxen is only supporting Xpath 1.0, Axiom XPath will also be only supporting XPath 1.0. It would be really useful if AXIOMXPath is improved to support XPath 2.0. It will be beneficial for the projects which are using AXIOMXPath. eg. Apache Synapse is also extending AXIOMXPath in it's org.apache.synapse.util.xpath.SynapseXPath implementation. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[jira] [Commented] (AXIOM-367) Improving AXIOMXPath to support XPath 2.0

Posted by "Sagara Gunathunga (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIOM-367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201056#comment-13201056 ] 

Sagara Gunathunga  commented on AXIOM-367:
------------------------------------------

PsychoPath can be a good XPath 2.0 processor to integrate with Axiom. This seems a good project idea for GSoC. Some one can study the best approach among above two and implement it using a XPath 2.0 processor.   


[1]  - http://wiki.eclipse.org/PsychoPathXPathProcessor

                
> Improving AXIOMXPath to support XPath 2.0 
> ------------------------------------------
>
>                 Key: AXIOM-367
>                 URL: https://issues.apache.org/jira/browse/AXIOM-367
>             Project: Axiom
>          Issue Type: Improvement
>            Reporter: Heshan Suriyaarachchi
>             Fix For: 1.2.15
>
>
> AXIOMXPath is developed by extending org.jaxen.BaseXPath. Since Jaxen is only supporting Xpath 1.0, Axiom XPath will also be only supporting XPath 1.0. It would be really useful if AXIOMXPath is improved to support XPath 2.0. It will be beneficial for the projects which are using AXIOMXPath. eg. Apache Synapse is also extending AXIOMXPath in it's org.apache.synapse.util.xpath.SynapseXPath implementation. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[jira] [Commented] (AXIOM-367) Improving AXIOMXPath to support XPath 2.0

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIOM-367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070132#comment-13070132 ] 

Andreas Veithen commented on AXIOM-367:
---------------------------------------

There are actually two aspects:

1. Axiom's XPath API is strongly coupled to Jaxen. It would indeed be a good idea to change that and to introduce an abstract API that would eventually allow to replace Jaxen (which doesn't seem to be under active development) by another XPath implementation. Instead of defining a completely new Axiom specific API for this, the best approach is probably to reuse (parts of) the javax.xml.xpath API, which is already designed to be object model independent.

2. Adding XPath 2.0 support. Creating and maintaining an Axiom specific implementation of XPath 2.0 is probably out of scope for this project. Therefore we would have to identify an existing XPath 2.0 implementation that can be integrated with Axiom. For implementations of the Axiom object model that also implement DOM, one could reuse an existing DOM based XPath implementation. For LLOM one would have to find an XPath 2.0 implementation that has an abstraction layer to support multiple object models. I'm not aware of any XPath implementation that offers this, but I didn't do an extensive search.

> Improving AXIOMXPath to support XPath 2.0 
> ------------------------------------------
>
>                 Key: AXIOM-367
>                 URL: https://issues.apache.org/jira/browse/AXIOM-367
>             Project: Axiom
>          Issue Type: Improvement
>            Reporter: Heshan Suriyaarachchi
>
> AXIOMXPath is developed by extending org.jaxen.BaseXPath. Since Jaxen is only supporting Xpath 1.0, Axiom XPath will also be only supporting XPath 1.0. It would be really useful if AXIOMXPath is improved to support XPath 2.0. It will be beneficial for the projects which are using AXIOMXPath. eg. Apache Synapse is also extending AXIOMXPath in it's org.apache.synapse.util.xpath.SynapseXPath implementation. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[jira] [Updated] (AXIOM-367) Improving AXIOMXPath to support XPath 2.0

Posted by "Andreas Veithen (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIOM-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIOM-367:
----------------------------------

    Fix Version/s: 1.2.15
    
> Improving AXIOMXPath to support XPath 2.0 
> ------------------------------------------
>
>                 Key: AXIOM-367
>                 URL: https://issues.apache.org/jira/browse/AXIOM-367
>             Project: Axiom
>          Issue Type: Improvement
>            Reporter: Heshan Suriyaarachchi
>             Fix For: 1.2.15
>
>
> AXIOMXPath is developed by extending org.jaxen.BaseXPath. Since Jaxen is only supporting Xpath 1.0, Axiom XPath will also be only supporting XPath 1.0. It would be really useful if AXIOMXPath is improved to support XPath 2.0. It will be beneficial for the projects which are using AXIOMXPath. eg. Apache Synapse is also extending AXIOMXPath in it's org.apache.synapse.util.xpath.SynapseXPath implementation. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org