Пример #1
0
    def setLocale(self, locale):
        """Allow an application to set the locale for errors and warnings.

        SAX parsers are not required to provide localization for errors
        and warnings; if they cannot support the requested locale,
        however, they must throw a SAX exception. Applications may
        request a locale change in the middle of a parse."""
        raise SAXNotSupportedException("Locale support not implemented")
Пример #2
0
 def setLocale(self, locale):
     raise SAXNotSupportedException('Locale support not implemented')
Пример #3
0
"""An XML Reader is the SAX 2 name for an XML parser. XML Parsers