You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Mi...@student.unisg.ch on 2000/08/22 15:53:55 UTC

JasperException caused by schema validation via JSP/Servlet

Environment: Xerces-J 1.1.3 with JDK 1.2.2, JSWDK 1.0 or Jakarta Tomcat 3.1

I am invoking DOMParser.parse() via java server pages. This causes if and only
if schema validation is performed the following exception in both JSWDK and
Tomcat:
org.apache.jasper.JasperException at
org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeLibrary.java,

Compiled Code)at
org.apache.jasper.runtime.JspRuntimeLibrary.introspect(JspRuntimeLibrary.java,
Compiled Code)

The exception does not occur if DOMParser.parse() is called for this
schema-based XML doc via the standard JVM.
It does also not occur if parsing is invoked by the JSP, but the XML doc is
based on a DTD.

Kind regards,
Michael



Re: JasperException caused by schema validation via JSP/Servlet

Posted by Eric Ye <er...@locus.apache.org>.
If the stack trace you gave is the complete stack trace, then the exception
presented is definitely not emitted from Xerces-J Parser. Certainly the
jasper package can mask the Exception thrown from the Xerces-J parser,  in
that case, we need more information on this.

Eric Ye
IBM JTC-Silicon Valley.

----- Original Message -----
From: <Mi...@student.unisg.ch>
To: <xe...@xml.apache.org>
Sent: Tuesday, August 22, 2000 6:53 AM
Subject: JasperException caused by schema validation via JSP/Servlet


> Environment: Xerces-J 1.1.3 with JDK 1.2.2, JSWDK 1.0 or Jakarta Tomcat
3.1
>
> I am invoking DOMParser.parse() via java server pages. This causes if and
only
> if schema validation is performed the following exception in both JSWDK
and
> Tomcat:
> org.apache.jasper.JasperException at
>
org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeLibra
ry.java,
>
> Compiled Code)at
>
org.apache.jasper.runtime.JspRuntimeLibrary.introspect(JspRuntimeLibrary.jav
a,
> Compiled Code)
>
> The exception does not occur if DOMParser.parse() is called for this
> schema-based XML doc via the standard JVM.
> It does also not occur if parsing is invoked by the JSP, but the XML doc
is
> based on a DTD.
>
> Kind regards,
> Michael
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
>
>