tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Kiel <alexanderk...@gmx.net>
Subject XSD file problems in servlet-api.jar and jsp-api.jar
Date Tue, 06 Nov 2007 11:48:15 GMT
Hello List,

this is my first post to this list. 

I decided to write to the dev list, because it is half a bug report - half a 
suggestion to solve the problem.

My motivation is to get XML Validation working in Tomcat 6 with SUN JDK 6. So 
I followed the error output at startup and saw the problems in the jars. But 
at the end I give up. There are so much other problems with XML Validation. I 
do not know if its a problem with correct entity resolution or if its a 
Xerces Problem. The only web app in the Tomcat 6 instance is a 2.4 one which 
is fully valid.

----------------------------------------

Please have a look into the servlet-jsp.jar from the binary distribution of 
tomcat-6.0.14.

Problems in web-app_2_4.xsd:
 - Apache 2.0 License comment block before the XML declaration
 - Missing jsp_2_0.xsd
 
Problems in web-app_2_5.xsd:
 - Apache 2.0 License comment block before the XML declaration
 - Missing javaee_5.xsd
 - Missing jsp_2_1.xsd
 - Encoding problems in line 476, 482, 483, ...
 - Missing javaee_web_services_client_1_2.xsd (needed by javaee_5.xsd)

Solution:
 - Remove Apace 2.0 License block from web-app_2_4.xsd
 - Add jsp_2_0.xsd from jsp-api.jar
 - Take web-app_2_5.xsd from http://java.sun.com/xml/ns/javaee/
 - Add javaee_5.xsd from http://java.sun.com/xml/ns/javaee/ 
 - Add jsp_2_1.xsd from jsp-api.jar 
 - Add javaee_web_services_client_1_2.xsd from 
http://java.sun.com/xml/ns/javaee/ 

Remaining Problems:
 - Missing symbols in j2ee_web_services_client_1_1.xsd and 
javaee_web_services_client_1_2.xsd

XSD Problems in jsp-api.jar from the binary distribution of tomcat-6.0.14.

Problems in jsp_2_0.xsd:
 - Missing j2ee_1_4.xsd

Problems in jsp_2_1.xsd:
 - Missing javaee_5.xsd
 - Missing javaee_web_services_client_1_2.xsd (needed by javaee_5.xsd)

Solution:
 - Add j2ee_1_4.xsd from servlet-api.jar
 - Add javaee_5.xsd from http://java.sun.com/xml/ns/javaee/ 
 - Add javaee_web_services_client_1_2.xsd from 
http://java.sun.com/xml/ns/javaee/ 

Remaining Problems:
 - Missing symbols in javaee_web_services_client_1_2.xsd

-----------------------------------

Alexander Kiel


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message