[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Stopping Saxon searching for an external DTD

Subject: RE: Stopping Saxon searching for an external DTD
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 15 Feb 2001 09:57:53 -0000
dtd xml dns saxon
> Answering my own question:
>
> I've read through the relevant bits of the Saxon and SAX source (not
> something someone with &lt; 2 months Java experience should do - i've
> got a funny pain in my right eye now) and it turns out it's the way
> the SAX interface is implemented. SAX demands that Public/System IDs
> are resolved (but not downloaded) which obviosuly doesn't happen
> without a TCP/IP connection to DNS server. All I have to do is find
> out where it's called in Saxon and turn it off...

Your best bet is to supply the SAX parser with an EntityResolver that
returns a dummy local DTD in place of the remote one.

Note that DTD resolution is entirely the job of the XML parser, it has
nothing to do with the XSLT processor.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.