I think the reference to a doctype has to be on the format www.somesite.com/dtd/data.dtd or similar
Besides i don't thinkt it will actually validate against that DTD anyway .... -----Original Message----- From: Brian Menke [mailto:[EMAIL PROTECTED] Sent: 10. juli 2003 07:21 To: Tomcat Users List Subject: XML DOCTYPE problem Hi everyone, I have created a JSP page that use the jstl xml tag library, specifically using xpath. Everything works perfectly fine as long as I don't have a doctype declaration like the following in my XML instance: <!DOCTYPE datasheet PUBLIC "-//Innovtech//DTD datasheet//EN" "c:/dtds/innovtech/datasheet.dtd"> If I remove it, everything works 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?? I did post this to the taglib email list, but it doesn't seem to get near the traffic as this group. Thanks! -Brian --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
