You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/09/28 19:09:36 UTC

DO NOT REPLY [Bug 3870] New: - Warning: validation was turned on but an org.xml.sax.ErrorHandler was not

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3870>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3870

Warning: validation was turned on but an org.xml.sax.ErrorHandler was not

           Summary: Warning: validation was turned on but an
                    org.xml.sax.ErrorHandler was not
           Product: Tomcat 3
           Version: 3.3 Release Candidate 1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: dhay@lexmark.com


Have just upgraded to 3.3 rc1, and get the following occasional message:

2001-09-27 16:31:00 - Ctx(/gwp) : Compiling: /serialNos.jsp to serialNos_19
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=42: Element "web-app" does not allow "servlet" here.
Error: URI=null Line=51: Element "web-app" does not allow "servlet" here.
Error: URI=null Line=60: Element "web-app" does not allow "servlet" here.
Error: URI=null Line=71: Element "web-app" does not allow "servlet-mapping" here
.
Error: URI=null Line=77: Element "web-app" does not allow "servlet-mapping" here
.
Error: URI=null Line=86: Element "web-app" does not allow "servlet-mapping" here
.
Error: URI=null Line=95: Element "web-app" does not allow "servlet-mapping" here
.
Error: URI=null Line=105: Element "web-app" does not allow "welcome-file-list" h
ere.
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=42: Element "web-app" does not allow "servlet" here.
Error: URI=null Line=51: Element "web-app" does not allow "servlet" here.
Error: URI=null Line=60: Element "web-app" does not allow "servlet" here.
Error: URI=null Line=71: Element "web-app" does not allow "servlet-mapping" here
.
Error: URI=null Line=77: Element "web-app" does not allow "servlet-mapping" here
.
Error: URI=null Line=86: Element "web-app" does not allow "servlet-mapping" here
.
Error: URI=null Line=95: Element "web-app" does not allow "servlet-mapping" here
.
Error: URI=null Line=105: Element "web-app" does not allow "welcome-file-list" h
ere.
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=42: Element "web-app" does not allow "servlet" here.
Error: URI=null Line=51: Element "web-app" does not allow "servlet" here.
Error: URI=null Line=60: Element "web-app" does not allow "servlet" here.
Error: URI=null Line=71: Element "web-app" does not allow "servlet-mapping" here
.
Error: URI=null Line=77: Element "web-app" does not allow "servlet-mapping" here
.
Error: URI=null Line=86: Element "web-app" does not allow "servlet-mapping" here
.
Error: URI=null Line=95: Element "web-app" does not allow "servlet-mapping" here
.
Error: URI=null Line=105: Element "web-app" does not allow "welcome-file-list" h
ere.
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=42: Element "web-app" does not allow "servlet" here.
Error: URI=null Line=51: Element "web-app" does not allow "servlet" here.
Error: URI=null Line=60: Element "web-app" does not allow "servlet" here.
Error: URI=null Line=71: Element "web-app" does not allow "servlet-mapping" here
.
Error: URI=null Line=77: Element "web-app" does not allow "servlet-mapping" here
.
Error: URI=null Line=86: Element "web-app" does not allow "servlet-mapping" here
.
Error: URI=null Line=95: Element "web-app" does not allow "servlet-mapping" here
.
Error: URI=null Line=105: Element "web-app" does not allow "welcome-file-list" h
ere.

Haven't done anything different, so presume this is a bug!

Cheers,

David