[XML-SIG] xmlproc, SAX and EntityResolver
uche.ogbuji@fourthought.com
uche.ogbuji@fourthought.com
Sun, 24 Jan 1999 14:06:36 -0700
According to the (Java) SAX docs,
"""
public interface EntityResolver
Basic interface for resolving entities.
If a SAX application needs to implement customized handling for external
entities, it must implement this interface and register
an instance with the SAX parser using the parser's setEntityResolver method.
The parser will then allow the application to intercept any external entities
(including the external DTD subset and external
parameter entities, if any) before including them.
"""
And this is how the xmlproc in xml-0.4 used to work. If I implemented
entityResolver in a handler, and registered it, I'd get the entity events for
the external DTD declaration as well as any other entities declared.
This no longer appears to work in xml-0.5. Unfortunately, my current code it
pretty complex, and I first of all want to make sure this wasn't an
intentional change. I'm pretty sure I've narrowed it to xmlproc, but if I'm
told this should _not_ be so, I'll work on a stripped-down test-case.
Thanks.
--
Uche Ogbuji
FourThought LLC, IT Consultants
uche.ogbuji@fourthought.com (970)481-0805
Software engineering, project management, Intranets and Extranets
http://FourThought.com http://OpenTechnology.org