[XML-SIG] disabling catalog support

Martin v. Löwis martin at v.loewis.de
Tue Jul 29 05:45:12 EDT 2003


Martin Blais <blais at iro.umontreal.ca> writes:

> is there a quick way to disable the catalog parsing in PyXML?
> 
> i've got code that doesn't need catalogs for parsing but since
> updating to the new version of PyXML it doesn't work anymore (code
> trying to fetch DTD file from the internet, machine not connected to
> internet, don't want to setup catalog from python code...)
> thanks.

It depends on the XML parser that you are using in the first place
whether PyXML tries to parse the catalog. For example, sgmlop will
never try that.

Regards,
Martin




More information about the XML-SIG mailing list