David,
Check http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JAXPDOM8.html
Michael
"Karr, David"
<[EMAIL PROTECTED]
net> To
<[EMAIL PROTECTED]>
05/24/2005 02:44 cc
PM <[email protected]>
Subject
RE: Stop Transformer from trying to
read DTD referenced in XML
That worked perfectly, thanks. What is the analogue of this in raw
JAXP? I couldn't see a way to do this with the base Transformer or
TransformerFactory. I need to get this working in Ant, but I'd like to
know how this works in JAXP.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>
> David,
> Can you use xmlcatalog? Take a look at the standard Ant XSLT
> task for more details.
>
> Michael Giroux
>
> "Karr, David"
>
> <[EMAIL PROTECTED]
>
> net>
>
> Subject
> Stop Transformer from
> trying to
> read DTD referenced in
> XML
>
> I have a little standalone test case that I'm developing
> prior to building an "xslt" task in Ant. My main problem
> right now is that my sample XML has a DOCTYPE with a systemid
> specifying a URL to a DTD. When I try to do the transform, it
> complains it can't get to the DTD (it can't get through the
> firewall). How do I make it not try to read the DTD?