Hi, I found some strange behavior while using Tomcat 5.5.7. In my web.xml Schema declaration, I have this:
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd" version="2.4"> (I enabled xmlValidation="true" for Host element in server.xml) I found it odd that under schemaLocation, a relative URL is given to the XSD file. Yet, there is no "web-app_2_4.xsd" file in WEB-INF directory. How does it validate web.xml then? So, I substituted "web-app_2_4.xsd" with the word "whatever". To my surprise it worked again without any problems. What is going on? How does Tomcat validate web.xml of an application? And what's WAY more important: what does the servlet spec say about how a server should validate web.xml? I didn't see anything there at all about this, so I assumed that regular XML rules apply. Could someone straighten me out on this issue? Thanks, NG. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]