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 <[EMAIL PROTECTED]> 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: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
