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 raise a SAX exception. Applications may request a locale chan
(self, locale)
| 64 | self._err_handler = handler |
| 65 | |
| 66 | def setLocale(self, locale): |
| 67 | """Allow an application to set the locale for errors and warnings. |
| 68 | |
| 69 | SAX parsers are not required to provide localization for errors |
| 70 | and warnings; if they cannot support the requested locale, |
| 71 | however, they must raise a SAX exception. Applications may |
| 72 | request a locale change in the middle of a parse.""" |
| 73 | raise SAXNotSupportedException("Locale support not implemented") |
| 74 | |
| 75 | def getFeature(self, name): |
| 76 | "Looks up and returns the state of a SAX2 feature." |
nothing calls this directly
no test coverage detected