cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stevend...@apache.org
Subject svn commit: r743669 - in /cocoon/cocoon3/trunk: cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/ObjectModelTest.java cocoon-servlet/src/main/java/org/apache/cocoon/servlet/component/RequestParametersGenerator.java
Date Thu, 12 Feb 2009 09:37:30 GMT
Author: stevendolg
Date: Thu Feb 12 09:37:30 2009
New Revision: 743669

URL: http://svn.apache.org/viewvc?rev=743669&view=rev
Log:
COCOON3-31

Modified:
    cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/ObjectModelTest.java
    cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/component/RequestParametersGenerator.java

Modified: cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/ObjectModelTest.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/ObjectModelTest.java?rev=743669&r1=743668&r2=743669&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/ObjectModelTest.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-sample-webapp/src/test/java/org/apache/cocoon/it/ObjectModelTest.java
Thu Feb 12 09:37:30 2009
@@ -30,7 +30,7 @@
         this.loadResponse("object-model/request-parameters?a=1&b=2&c=3");
         assertEquals(200, this.response.getStatusCode());
         String content = this.response.getContentAsString();
-        String expectedContent = "<?xml version=\"1.0\"?><request-paramters><a>1</a><c>3</c><b>2</b></request-paramters>";
+        String expectedContent = "<?xml version=\"1.0\"?><request-parameters><a>1</a><c>3</c><b>2</b></request-parameters>";
         assertTrue(new Diff(expectedContent, content).similar());
     }
 

Modified: cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/component/RequestParametersGenerator.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/component/RequestParametersGenerator.java?rev=743669&r1=743668&r2=743669&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/component/RequestParametersGenerator.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/component/RequestParametersGenerator.java
Thu Feb 12 09:37:30 2009
@@ -46,7 +46,7 @@
 
         try {
             this.getSAXConsumer().startDocument();
-            this.getSAXConsumer().startElement("", "request-paramters", "request-paramters",
new AttributesImpl());
+            this.getSAXConsumer().startElement("", "request-parameters", "request-parameters",
new AttributesImpl());
 
             while (parameterNames.hasMoreElements()) {
                 String name = parameterNames.nextElement();
@@ -56,7 +56,7 @@
                 this.getSAXConsumer().endElement("", name, name);
             }
 
-            this.getSAXConsumer().endElement("", "request-paramters", "request-paramters");
+            this.getSAXConsumer().endElement("", "request-parameters", "request-parameters");
             this.getSAXConsumer().endDocument();
         } catch (SAXException e) {
             throw new InvocationException(e);



Mime
View raw message