Bug 43175 - typo of web-app_2_4.xsd and web-app_2_5.xsd
Summary: typo of web-app_2_4.xsd and web-app_2_5.xsd
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 6
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 6.0.14
Hardware: All All
: P2 minor (vote)
Target Milestone: default
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-21 06:50 UTC by Takayuki Kaneko
Modified: 2007-08-29 17:41 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Takayuki Kaneko 2007-08-21 06:50:10 UTC
Hi,

I noticed that some xml schema files have some typos.

Regards,

Index: /tc6.0.x/trunk/java/javax/servlet/resources/web-app_2_4.xsd
===================================================================
--- /tc6.0.x/trunk/java/javax/servlet/resources/web-app_2_4.xsd	(revision 566663)
+++ /tc6.0.x/trunk/java/javax/servlet/resources/web-app_2_4.xsd	(working copy)
@@ -15,7 +15,6 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<?xml version="1.0" encoding="UTF-8"?>
 <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
 	    targetNamespace="http://java.sun.com/xml/ns/j2ee"
 	    xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
Index:
C:/eclipse_workspaces/tomcat_trunk/tomcat6/java/javax/servlet/resources/web-app_2_5.xsd
===================================================================
--- /tc6.0.x/trunk/java/javax/servlet/resources/web-app_2_5.xsd	(revision 566663)
+++ /tc6.0.x/trunk/java/javax/servlet/resources/web-app_2_5.xsd	(working copy)
@@ -15,7 +15,6 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<?xml version="1.0" encoding="UTF-8"?>
 <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
     targetNamespace="http://java.sun.com/xml/ns/javaee"
     xmlns:javaee="http://java.sun.com/xml/ns/javaee"
@@ -474,14 +473,14 @@
         <xsd:attribute name="id" type="xsd:ID" />
     </xsd:complexType>
     <!-- **************************************************** -->
-    <xsd:simpleType name="&#31414;?http-methodType&#31414;?">
+    <xsd:simpleType name="http-methodType">
         <xsd:annotation>
             <xsd:documentation>
                 A HTTP method type as defined in HTTP 1.1 section 2.2.
             </xsd:documentation>
         </xsd:annotation>
-        <xsd:restriction base="&#31414;?xsd:token&#31414;?">
-            <xsd:pattern value="&#31414;?[\p{L}-[\p{Cc}\p{Z}]]+&#31414;?" />
+        <xsd:restriction base="xsd:token">
+            <xsd:pattern value="[\p{L}-[\p{Cc}\p{Z}]]+" />
         </xsd:restriction>
 
     </xsd:simpleType>
Comment 1 Mark Thomas 2007-08-29 17:41:01 UTC
Patch applied to svn. Many thanks.