Re: Throwing exceptions from EntityResolver

2004-07-15 Thread Simon Kitching
On Fri, 2004-07-16 at 13:44, Simon Kitching wrote: > Hi, > > I've created a class which implements the EntityResolver interface. > > In the resolveEntity method, I just throw SAXParseException; because I > don't have a local catalog and don't want to allow network lookups, I > want to treat any a

Throwing exceptions from EntityResolver

2004-07-15 Thread Simon Kitching
Hi, I've created a class which implements the EntityResolver interface. In the resolveEntity method, I just throw SAXParseException; because I don't have a local catalog and don't want to allow network lookups, I want to treat any attempt to reference an external entity from the parsed xml as an