[EMAIL PROTECTED] wrote:
I found the following post but there was no answer. Does anyone know?

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:

Hey David,

please post your error. Anyway, PUBLIC datatypes are intended so one use the same XML at a number of locations with one dtd at a central location. Placing your dtd locally at least sounds strange. You might wanna try

<!DOCTYPE datasheet SYSTEM "c:/dtds/innovtech/datasheet.dtd">

I'm confident that will at least work...

Martin


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to