You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by "Karr, David" <da...@wamu.net> on 2005/05/24 23:07:12 UTC

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?

Re: Stop Transformer from trying to read DTD referenced in XML

Posted by Mi...@Bull.com.



David,
Can you use xmlcatalog?  Take a look at the standard Ant XSLT task for more
details.

Michael Giroux




                                                                           
             "Karr, David"                                                 
             <david.karr@wamu.                                             
             net>                                                       To 
                                       <xa...@xml.apache.org>      
             05/24/2005 02:07                                           cc 
             PM                                                            
                                                                   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?