[ http://issues.apache.org/jira/browse/WSCOMMONS-41?page=all ]
Chamikara Jayalath updated WSCOMMONS-41:
----------------------------------------
Attachment: XPathTest2.java
Out of the two test methods.
testRelativePath () is passing.
testAbsolutePath () is failing.
But the subject is the same OMElement.
The failure only happens when the subject element is within a SOAP envelope.
I.e. if it is not added to a SOAP envelope the test case passes.
> XPath lookup using a relative path string fails, when done to the Payload of
> a SOAP envelope
> --------------------------------------------------------------------------------------------
>
> Key: WSCOMMONS-41
> URL: http://issues.apache.org/jira/browse/WSCOMMONS-41
> Project: WS-Commons
> Type: Bug
> Components: AXIOM
> Reporter: Chamikara Jayalath
> Attachments: XPathTest2.java
>
> Will add a test case to explain this more.
> Basically a relative XPath search does not find any results when the subject
> is the payload of a SOAP envelope.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]