tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian K. Bonner" <brian.bon...@paraware.com>
Subject Schema in jsp:root cannot be resolved by Tomcat 4.1.29
Date Wed, 21 Jul 2004 17:00:05 GMT
Tomcat 4.1.29 does not seem to handle schema's in the jsp:root tag.  It 
throws the following error:

----- Root Cause -----
org.apache.jasper.JasperException: This absolute uri 
(http://www.w3.org/2001/XMLSchema-instance) cannot be resolved in either 
web.xml or the jar files deployed with this application
        at 
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:105)
        at 
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:430)
        at 
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:154)
        at 
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:159)
        at 
org.apache.jasper.compiler.JspDocumentParser.addCustomTagLibraries(JspDocumentParser.java:459)
        at 
org.apache.jasper.compiler.JspDocumentParser.startElement(JspDocumentParser.java:189)
        at 
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
        at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown 
Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown 
Source)
        at 
org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown

Source)
...

Is this something that it is expected to support?

Thanks,

Brian


P.S.  Here is my JSP file


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<jsp:root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/JSP/Page 
file:/d:/eclipse/plugins/com.oxygenxml.editor_4.2_E3/samples/jsp/jspxsd.xsd"
        xmlns="http://www.w3.org/1999/xhtml" xmlns:jsp=
"http://java.sun.com/JSP/Page"
        xmlns:html="urn:jsptld:/WEB-INF/struts-bean-el.tld"
        xmlns:c="urn:jsptld:/WEB-INF/c.tld" version="1.2">
        <html>
                <body>
                        <jsp:text>testing</jsp:text>
                        <c:out value="${3+5}"/>
                </body>
        </html>
</jsp:root>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message