So basically the problem at the moment is that xerces-2.1.0 will throw exceptions trying to parse the taglibs, and xerces-2.5.0 will throw exceptions trying to parse the server.xml.

As far as I can tell this issue should be cleared up by the next release of JAXP, if the people on the tomcat-dev list are correct.

Please correct me if I'm wrong.

Regards
Adam

On 10/03/2003 01:39 PM Kris Schneider wrote:
re xml parsing issue, in the server.xml somebody left the useful comment:

<!-- Note: XML Schema validationn will works with Xerces 2.0.1 or
     Xerces 2.1. Xerces 2.0.2 and Xerces 2.2 have bugs that prevent
     their use with Tomcat-->

On 10/03/2003 09:30 AM Hans Bergsten wrote:

Re: the tomcat start-up exceptions

preRegister with Catalina:type=Logger,path=/blacksail,host=localhost
org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content starting with element 'jsp-version'. The content must match
'((("http://java.sun.com/xml/ns/j2ee":description){0-UNBOUNDED},("http://java.sun.com/xml/ns/j2ee":display-name){0-UNBOUNDED},("http://java.sun.com/xml/ns/j2ee":icon){0-UNBOUNDED}),("http://java.sun.com/xml/ns/j2ee":tlib-version),("http://java.sun.com/xml/ns/j2ee":short-name),("http://java.sun.com/xml/ns/j2ee":uri){0-1},("http://java.sun.com/xml/ns/j2ee":validator){0-1},("http://java.sun.com/xml/ns/j2ee":listener){0-UNBOUNDED},("http://java.sun.com/xml/ns/j2ee":tag){0-UNBOUNDED},("http://java.sun.com/xml/ns/j2ee":tag-file){0-UNBOUNDED},("http://java.sun.com/xml/ns/j2ee":function){0-UNBOUNDED},("http://java.sun.com/xml/ns/j2ee":taglib-extension){0-UNBOUNDED})'.

The following recent mail on tomcat-dev explains the issue.

http://www.mail-archive.com/[EMAIL PROTECTED]/msg47251.html

I'll see whether I can find the old version of xerces and install that, which should make the issue disappear. Or crimson.


--
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to