Which leaves open the question whether the parser ought to use the EntityResolver in these circumstances. Personally I think it should or if not the documentation should be latered to make it clear that it will not.
Mark Thornton > -----Original Message----- > From: Andy Clark [mailto:[EMAIL PROTECTED] > Sent: 02 May 2002 16:19 > To: [EMAIL PROTECTED] > Subject: Re: resolveEntity does not get called > > > Robert Ritler wrote: > > I use for example parser.parse("MyFile"). The file does not > exist, so > > the parser calls my EntityResolver to resolve "MyFile". I > guess that's > > not the way it works. Can someone give me a hint on how to achieve > > this? > > Even though the parser doesn't call the entity resolver for > the document entity, there's nothing preventing you from > calling it. For example, instead of the following: (I'm > using the SAX XMLReader as an example...) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
