commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From commons-...@jakarta.apache.org
Subject [jira] Created: (JELLY-156) tags.xmlunit: body not correctly parsed
Date Fri, 08 Oct 2004 07:57:51 GMT
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JELLY-156

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JELLY-156
    Summary: tags.xmlunit: body not correctly parsed
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: jelly

   Assignee: 
   Reporter: Michael Altenhofen

    Created: Fri, 8 Oct 2004 12:57 AM
    Updated: Fri, 8 Oct 2004 12:57 AM

Description:
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.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report 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


Mime
View raw message