I can't see this happen... but... can you reproduce it again ? Can you
serialize to a file before ?
thanks
paul
Le 21 juil. 05, à 20:10, Michael Altenhofen a écrit I assume your
example is "too easy" because the XML snipplet is already included
verbatim. The problem had to do with the fact that
the <xu:actual> piece was produced by a call to another command.
That's why I had to change the parseBody method.
Regards
Michael
"Paul Libbrecht (JIRA)" <[email protected]> schrieb am
19.07.05 20:51:13:
[
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
_______________________________________________________________________
__
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle
Freunde gleichzeitig schicken:
http://freemail.web.de/features/?mc=021179
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]