Commits

tm_jee  committed 060b8b0

XW-412

- Some XMLParsers parse the xwork config file differently, resulting in broken action results
- added more test cases for this issue

git-svn-id: http://svn.opensymphony.com/svn/xwork/branches/xwork_1-2@1319e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits c81c6e8
  • Branches xwork_1-2

Comments (0)

Files changed (2)

File src/test/com/opensymphony/xwork/config/providers/XmlConfigurationProviderActionsTest.java

         // bar action is very simple, just two params
         params.put("foo", "17");
         params.put("bar", "23");
+        params.put("testXW412", "foo.jspa?fooID=${fooID}&something=bar");
+        params.put("testXW412Again", "something");
 
         ActionConfig barAction = new ActionConfig(null, SimpleAction.class, params, new HashMap(), new ArrayList());
 

File src/test/com/opensymphony/xwork/config/providers/xwork-test-actions.xml

         <action name="Bar" class="com.opensymphony.xwork.SimpleAction">
             <param name="foo">17</param>
             <param name="bar">23</param>
+            <param name="testXW412">foo.jspa?fooID=${fooID}&amp;something=bar</param>
+            <param name="testXW412Again">
+            		something
+            </param>
             <param name="testForXW171"></param>
         </action>