tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Duffy <duff...@yahoo.com>
Subject Re: XML Doc type problem
Date Thu, 10 Jul 2003 11:33:19 GMT

Sounds like you need an EntityResolver, like the one
in the org.xml.sax package.  But I don't know know how
to register such a thing with the SAX parser inside
the JSTL tag library.  I'll have to leave that to my
betters. - MOD


--- Brian Menke <brian.menke@lspeed.com> wrote:
> Hi everyone,
> 
> I have created a JSP page that use the xml tag
> library, specifically using
> xpath. Everything works perfectly fine as long as I
> don't have a doctype
> definition like the following in my XML instance:
> 
> <!DOCTYPE datasheet PUBLIC "-//Innovtech//DTD
> datasheet//EN"
> "c:/dtds/innovtech/datasheet.dtd">
> 
> If I remove it, life is great, but if I don't, I get
> a java error like this:
> 
> org.apache.jasper.JasperException: Could not resolve
> entity reference:
> "///c:/dtds/innovtech/datasheet.dtd"
> 
> I have to have the doctype in the xml. Does anyone
> know how I can fix this??
> 
> Thanks!
> 
> -Brian
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> taglibs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> taglibs-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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


Mime
View raw message