|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Telling parser to ignore DTD
You can't tell Xerces to ignore the DTD, but you can install an
EntityResolver and simply return an empty stream. This is standard SAX:
http://www.saxproject.org/apidoc/org/xml/sax/EntityResolver.html
Dave
Joerg Heinicke
<joerg.heinicke@xxxxxx> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Sent by: cc: (bcc: David N Bertoni/Cambridge/IBM)
owner-xsl-list@xxxxxxxxxxx Subject: Re: Telling parser to ignore DTD
rrytech.com
05/02/2002 12:38 PM
Please respond to xsl-list
Hello Manny,
we don't have a solution for this, we have the same problem. With a
doctype-system, which Xalan can't find, Xalan throws an exception. It
doesn't validate the XML against the DTD, but it MUST find it. Until now
we solved the problem with an empty DTD-file at the place, where the
file is searched. If you found a solution or anybody knows one, we would
appreciate to get to know it.
Regards,
Joerg
Manny Parasirakis schrieb:
> Is there a way to tell xalan to ignore the DTD defined in the XML file
> and just process the transformation without using the DTD?
>
>
> Emmanuel Parasirakis (Manny)
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








