You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2011/05/12 09:15:47 UTC

[jira] [Created] (CAMEL-3966) allow xpath to use stax more easily

allow xpath to use stax more easily
-----------------------------------

                 Key: CAMEL-3966
                 URL: https://issues.apache.org/jira/browse/CAMEL-3966
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Romain Manni-Bucau


It could be nice to be able to use stax when we are filetring messages by xpath.

A boolean parameter is probably the easier way to configure it.

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

[jira] [Commented] (CAMEL-3966) allow xpath to use stax more easily

Posted by "Romain Manni-Bucau (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133672#comment-13133672 ] 

Romain Manni-Bucau commented on CAMEL-3966:
-------------------------------------------

generally some xpath commands are not available using stax or sax. i think everything is in this thread stackoverflow.com/questions/1863250/is-it-there-any-xpath-processor-for-sax-model
                
> allow xpath to use stax more easily
> -----------------------------------
>
>                 Key: CAMEL-3966
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3966
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Romain Manni-Bucau
>             Fix For: 2.9.0
>
>
> It could be nice to be able to use stax when we are filetring messages by xpath.
> A boolean parameter is probably the easier way to configure it.

--
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

        

[jira] [Commented] (CAMEL-3966) allow xpath to use stax more easily

Posted by "Romain Manni-Bucau (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133714#comment-13133714 ] 

Romain Manni-Bucau commented on CAMEL-3966:
-------------------------------------------

i think it is important to provide StAX support. Maybe just a SAXHandler to manage events could be a good starting point then any "language" over it can be added (XPath for instance). The need is the streaming, XPath is a (very nice and common)  enhancement.
                
> allow xpath to use stax more easily
> -----------------------------------
>
>                 Key: CAMEL-3966
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3966
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Romain Manni-Bucau
>             Fix For: 2.9.0
>
>
> It could be nice to be able to use stax when we are filetring messages by xpath.
> A boolean parameter is probably the easier way to configure it.

--
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

        

[jira] [Updated] (CAMEL-3966) allow xpath to use stax more easily

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-3966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-3966:
-------------------------------

    Fix Version/s: 2.9.0
       Issue Type: New Feature  (was: Improvement)

> allow xpath to use stax more easily
> -----------------------------------
>
>                 Key: CAMEL-3966
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3966
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Romain Manni-Bucau
>             Fix For: 2.9.0
>
>
> It could be nice to be able to use stax when we are filetring messages by xpath.
> A boolean parameter is probably the easier way to configure it.

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

        

[jira] [Commented] (CAMEL-3966) allow xpath to use stax more easily

Posted by "Christian Müller (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133711#comment-13133711 ] 

Christian Müller commented on CAMEL-3966:
-----------------------------------------

I think we have a few cases where using StAX is a better approach than using XPath.

- Filtering/Choice: You can stop parsing the remaining XML document after you get the needed node to make the decision.
- Splitting: You can split very large XML documents because we do not have to load the entire XML document into memory.

In my opinion, we can use the same expression to define the splitting/choice/filtering rule - XPath. But under the hut, we may use other techniques.
What do you think?
                
> allow xpath to use stax more easily
> -----------------------------------
>
>                 Key: CAMEL-3966
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3966
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Romain Manni-Bucau
>             Fix For: 2.9.0
>
>
> It could be nice to be able to use stax when we are filetring messages by xpath.
> A boolean parameter is probably the easier way to configure it.

--
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

       

[jira] [Commented] (CAMEL-3966) allow xpath to use stax more easily

Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133656#comment-13133656 ] 

Claus Ibsen commented on CAMEL-3966:
------------------------------------

How would you have XPath being able to evaluate using a STaX stream ?
                
> allow xpath to use stax more easily
> -----------------------------------
>
>                 Key: CAMEL-3966
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3966
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Romain Manni-Bucau
>             Fix For: 2.9.0
>
>
> It could be nice to be able to use stax when we are filetring messages by xpath.
> A boolean parameter is probably the easier way to configure it.

--
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