Author: markt Date: Fri Feb 20 18:17:29 2009 New Revision: 746321 URL: http://svn.apache.org/viewvc?rev=746321&view=rev Log: Fix spelling
Modified: tomcat/trunk/java/javax/servlet/resources/web-app_2_4.xsd tomcat/trunk/java/org/apache/catalina/startup/WebRuleSet.java Modified: tomcat/trunk/java/javax/servlet/resources/web-app_2_4.xsd URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/resources/web-app_2_4.xsd?rev=746321&r1=746320&r2=746321&view=diff ============================================================================== --- tomcat/trunk/java/javax/servlet/resources/web-app_2_4.xsd (original) +++ tomcat/trunk/java/javax/servlet/resources/web-app_2_4.xsd Fri Feb 20 18:17:29 2009 @@ -99,7 +99,7 @@ file must not contain multiple elements of session-config, jsp-config, and login-config. When there are multiple elements of welcome-file-list or locale-encoding-mapping-list, the container - must concatinate the element contents. The multiple occurance + must concatinate the element contents. The multiple occurrence of the element distributable is redundant and the container treats that case exactly in the same way when there is only one distributable. Modified: tomcat/trunk/java/org/apache/catalina/startup/WebRuleSet.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/startup/WebRuleSet.java?rev=746321&r1=746320&r2=746321&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/startup/WebRuleSet.java (original) +++ tomcat/trunk/java/org/apache/catalina/startup/WebRuleSet.java Fri Feb 20 18:17:29 2009 @@ -539,7 +539,7 @@ throws Exception { if (isLoginConfigSet){ throw new IllegalArgumentException( - "<login-config> element is limited to 1 occurance"); + "<login-config> element is limited to 1 occurrence"); } isLoginConfigSet = true; } @@ -560,7 +560,7 @@ throws Exception { if (isJspConfigSet){ throw new IllegalArgumentException( - "<jsp-config> element is limited to 1 occurance"); + "<jsp-config> element is limited to 1 occurrence"); } isJspConfigSet = true; } @@ -581,7 +581,7 @@ throws Exception { if (isSessionConfigSet){ throw new IllegalArgumentException( - "<session-config> element is limited to 1 occurance"); + "<session-config> element is limited to 1 occurrence"); } isSessionConfigSet = true; } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org