2005-04-07 19:59:10

Classes and functions that help implement OASIS XML and TR9401 Catalogs. Resolution with Catalogs is handled via the Ft.Xml.InputSource module.

Based on a contribution to PyXML from Tarn Weisner Burton <twburton@users.sf.net>. See http://sourceforge.net/tracker/index.php?func=detail&aid=490069&group_id=6473&atid=306473

Copyright 2005 Fourthought, Inc. (USA). Detailed license and copyright information: http://4suite.org/COPYRIGHT Project home, documentation, distributions: http://4suite.org/

Reads and provides access to a catalog, providing mappings of public and system IDs to URIs, etc.

It is implemented as a SAX ContentHandler and is able to read OASIS TR 9401 Catalogs <http://www.oasis-open.org/specs/a401.htm> and OASIS XML Catalogs <http://www.oasis-open.org/committees/entity/spec.html>

Handle an element end event for the XML parser. This is a SAX ContentHandler method.

Handle an element start event for the XML parser. This is a SAX ContentHandler method.

Load the default catalog file(s).

Compiled regular expression objects

<_sre.SRE_Pattern object>
u'http://www.w3.org/XML/1998/namespace'
['Catalog', 'GetDefaultCatalog']
{("Catalog resource (file:///usr/local/share/4Suite... directory: '/usr/local/share/4Suite/default.cat'", <class Ft.FtWarning>, 331): 1, ("Catalog resource (file:///usr/local/share/4Suite...ctory: '/usr/local/share/4Suite/ftss-default.cat'", <class Ft.FtWarning>, 331): 1}