synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <>
Subject [jira] [Commented] (SYNAPSE-955) XPath1.0 Implementation On Top Of XMLStream
Date Wed, 16 Oct 2013 21:46:55 GMT


Andreas Veithen commented on SYNAPSE-955:

I applied xmlstreamingxpathv_6.patch, but the tests fail to execute:

{noformat} /Users/veithen/dev/maven/synapse/modules/core/modules/core/src/test/resources/reader.xml
(No such file or directory)
    at Method)
    at org.apache.synapse.util.xmlstreaming.xpathevaluationtest.XPathAxisTestCase.getInputStream(
    at org.apache.synapse.util.xmlstreaming.xpathevaluationtest.XPathAxisTestCase.absoluteandnamespaceTestCaseOne(

That is because XPathAxisTestCase#getInputStream incorrectly computes the location of the
test file. You should use Class#getResourceAsStream instead of creating a FileInputStream

> XPath1.0 Implementation On Top Of XMLStream
> -------------------------------------------
>                 Key: SYNAPSE-955
>                 URL:
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: FUTURE
>            Reporter: isuru janith ranawaka
>            Assignee: Andreas Veithen
>            Priority: Minor
>              Labels: 2013, gsoc
>         Attachments: xmlstreamingxpath.patch, xmlstreamingxpathv_2.patch, xmlstreamingxpathv_3.patch,
xmlstreamingxpathv_4.patch, xmlstreamingxpathv_5.patch, xmlstreamingxpathv_6.patch
> Current SynapseXPath is operates on top of the Axiom Object Model and this project is
for evaluate XPath On top of the XMLStream. XMLStreamReader is given as input and the resulting
output is given as OMElements. 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message