Steve Ebersole <steven.ebers...@gmail.com> wrote on 08/17/2010 05:05:07 PM:

> On Tue, 2010-08-17 at 16:55 -0400, Michael Glavassevich wrote:
> > EntityResolver.resolveEntity() is called for any kind of external
> > resource, not necessarily XML, that the parser is trying to load.
>
> Ok, good to know.  Thanks!
>
> > I am suggesting that you use a different method which is only called
> > in the context of processing an XML document and only if it doesn't
> > already have an external DTD.
>
> Oh, I need this to happen even if there is already a DTD.  It will in
> all likelihood have a DTD declared.  I just need to inject some entities
> into it.

Unless you've written your own XML parser how can you reliably do that?

> --
> Steve Ebersole <st...@hibernate.org>
> http://hibernate.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org
> For additional commands, e-mail: j-users-h...@xerces.apache.org

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrgla...@ca.ibm.com
E-mail: mrgla...@apache.org

Reply via email to