You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Paul Libbrecht (JIRA)" <co...@jakarta.apache.org> on 2005/07/19 20:50:48 UTC
[jira] Commented: (JELLY-156) tags.xmlunit: body not correctly parsed
[ http://issues.apache.org/jira/browse/JELLY-156?page=comments#action_12316147 ]
Paul Libbrecht commented on JELLY-156:
--------------------------------------
Can you reproduce this with the current svn snapshot ?
I have tried the following which is working:
<xu:assertDocumentsEqual expected="blop.xml">
<xu:actual><blop/></xu:actual>
</xu:assertDocumentsEqual>
(with blop.xml containing exactly <blop/>)
I am suspecting that something happened with the soap one...
Maybe outputting the soap output to a file first than re-outputting it using x:copyOf would help in order to see the soap response ?
thanks
paul
> tags.xmlunit: body not correctly parsed
> ---------------------------------------
>
> Key: JELLY-156
> URL: http://issues.apache.org/jira/browse/JELLY-156
> Project: jelly
> Type: Bug
> Reporter: Michael Altenhofen
>
> Remark: I'm assigning this to "Unknown" component since I cannot select tags.xmlunit.
> Similar to the probelm described for the xml tag lib, the xmlunit tag lib doesn't correctly parse bodies.
> E.g., with the current version (1.6) of ParseTagSupport I can't do the following:
> [...]
> <xu:assertDocumentsEqual expected="result.xml">
> <xu:actual>
> <soap:invoke endpoint="${endpoint}" namespace="${namespace}" method="${method}">${params}</soap:invoke>
> </xu:actual>
> </xu:assertDocumentsEqual>
> [...]
> The result produced by the soap invoke call will be transformed into an empty document.
> Changing the method body of parseBody to
> return parseText(getBodyText(false));
> does the trick.
> This issue has also been posted via bugzilla (BUG #31544), but I've been adviced to post it here again.
--
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org