summaryrefslogtreecommitdiffstats
path: root/Lib/xml/sax/expatreader.py
Commit message (Collapse)AuthorAgeFilesLines
* Get the whitespace right!Fred Drake2001-07-301-3/+3
|
* Ugly fix used when pyexpat is not available.Jeremy Hylton2001-07-301-0/+3
| | | | | | | | | | If pyexpat is not available and more than one attempt is made to load an expat-based xml parser, an empty xml.parser.expat module will be created. This empty module will confuse xml.sax.expatreader into thinking that pyexpat is available. The ugly fix is to verify that the expat module actually defines the names that are imported from pyexpat.
* Synchronize with 1.13 of PyXML:Martin v. Löwis2001-06-171-6/+28
| | | | | | Allow application to set a new content handler and lex_prop handler during parsing. Closes bug #433761. Small hack to make expat be ignored in Jython.
* Re-indent.Martin v. Löwis2001-01-271-4/+4
|
* Synchronize with PyXML 1.10Martin v. Löwis2001-01-271-7/+25
| | | | | Break cycle involving expat parser in close(). Add lex handler support to SAX2 pyexpat
* Make reindent.py happy (lots of trailing whitespace removed).Fred Drake2000-10-231-19/+19
|
* Fixed a bug that caused namespace names to be reported as lists ratherLars Gustäbel2000-10-191-0/+2
| | | | than tuples.
* Fixed minor problem with reset().Lars Gustäbel2000-10-141-1/+2
|
* _exceptions: Format a missing system id as <unknown>.Martin v. Löwis2000-10-091-1/+2
| | | | expatreader: Use the error handler instead of raising exception directly.
* Don't report a final chunk for an external entity parser.Martin v. Löwis2000-10-061-1/+0
|
* Move translation from expat.error to SAXParseException into feed, so thatMartin v. Löwis2000-10-061-17/+19
| | | | | | | | | | callers of feed will get a SAXException. In close, feed the last chunk first before calling endDocument, so that the parser may report errors before the end of the document. Don't do anything in a nested parser. Don't call endDocument in parse; that will be called in close. Use self._source for finding the SystemID; XML_GetBase will be cleared in case of an error.
* Add SAXReaderNotAvailable, and use it to distinguish between anMartin v. Löwis2000-10-061-1/+4
| | | | ImportError, and a missing driver.
* Use string functions instead of methods to allow sharing this module with PyXMLMartin v. Löwis2000-09-291-3/+5
|
* Find feature names in handler.Martin v. Löwis2000-09-241-3/+3
|
* Fixed another bug.Lars Gustäbel2000-09-241-1/+0
|
* Improvements to doco strings.Lars Gustäbel2000-09-241-4/+7
| | | | Tiny bug fix to expatreader.py (endDocument was only called after errors).
* Added EntityResolver and DTDHandler (patch 101631) with test cases.Lars Gustäbel2000-09-241-16/+18
|
* Added back the InputSource class (patch 101630).Lars Gustäbel2000-09-241-13/+9
|
* Updated to final Attributes interface (patch 101632).Lars Gustäbel2000-09-241-4/+17
|
* Updated to new *NS signatures (patch 101573).Lars Gustäbel2000-09-241-25/+25
|
* Conform more closely with the Python style guide.Fred Drake2000-09-231-11/+11
|
* Use the public name for the Expat parser; "pyexpat" is deprecated.Fred Drake2000-09-231-11/+7
|
* fix indentation in one docstringSkip Montanaro2000-07-061-1/+1
|
* Used original SAX handling form.Paul Prescod2000-07-041-11/+10
|
* Paul Prescod <paul@prescod.net>:Fred Drake2000-06-291-0/+204
SAX interfaces for Python.