You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by br...@jibe.ws on 2001/06/28 23:17:23 UTC

Problems with xerces and JspC

Hello,

I've upgraded from xerces version 1.3.0 to 1.4.1 and with this library 
on the front of my classpath (per SOAP instructions), I get the 
following messages for all .jsp's that are pre-compiled.

Warning: validation was turned on but an org.xml.sax.ErrorHandler was 
not
set, which is probably not what is desired.  Parser will use a default
ErrorHandler to print the first 10 errors.  Please call
the 'setErrorHandler' method to fix this.
Error: URI=null Line=283: The content of element type "servlet-mapping" 
must match "(servlet-name,url-pattern)".
Error: URI=null Line=288: The content of element type "servlet-mapping" 
must match "(servlet-name,url-pattern)".
etc.

These messages didn't occur under 1.3.0.  Everything still seems to 
work, so this is probably just an FYI.

Also, using -webinc under windows, all the servlet-mappings were 
created with backslashes in the url-pattern.  I had to change these to 
forward slashes to get it to work.

Brad