Per Jonsson wrote:
>
> I run java 6 on linux and is testing the tomcat 6.0.9 and discovered
> that the schema declarations for the examples/managers etc and (maybe)
> the default web.xml does not point to :
> http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd. The most of them
> point to http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd (and the
> default to version 2.4 iirc).
>
> Maybe this is known, or reason for it?
Not known so thanks for spotting and reporting it. The only reason is
that when I did the update, I didn't check the new definition
carefully enough. This is now fixed in svn and will be in 6.0.11 onwards.
> I tried to turn on the xml-validation in server.xml and there was some
> strange errors like not finding the <web-app> element. I didn't managed
> to fix them in tomcat either. If I validate them in eclipse they work fine.
This is due to a problem in the parser that ships with the JDK. If you
use the latest version of Xerces then it should work correctly.
Mark
---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)