[XML-SIG] Using xmlproc to validate

Martin v. L÷wis martin@v.loewis.de
25 Mar 2003 00:36:34 +0100


Albert Chin <xml-sig@thewrittenword.com> writes:

> I'd like to install a custom handler to set the path or open file
> handle of the external DTD specified in my XML file using xmlproc. How
> do I do this?

If you use SAX, installing an EntityResolver should be sufficient.

> EntityResolver is in the Todo list for drv_xmlproc.py so I guess the
> setEntityResolver method is not an option (and, looking at SF, bug
> #609590).

You could, of course, investigate the problem and propose a patch. It
is extremely unlikely that anybody else does in the near future.

Regards,
Martin