summaryrefslogtreecommitdiffstats
path: root/Lib/xml/sax
Commit message (Collapse)AuthorAgeFilesLines
...
* Added function xml.sax.saxutils.quoteattr().Fred Drake2001-07-191-0/+21
| | | | This closes SF bug #440351. It should not be moved to Python 2.1.1.
* 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.
* Previous check-in was by mistake, undo it.Martin v. Löwis2001-06-071-1/+3
|
* Patch #416220: Fix misplaced paren.Martin v. Löwis2001-06-071-3/+1
|
* Synchronize with 1.6 of PyXML:Martin v. Löwis2001-03-221-3/+11
| | | | | Retrieve relevant information at construction time, as it may be lost when the exception is printed.
* Import the exceptions that this module can raise.Fred Drake2001-03-141-0/+3
|
* Re-indent.Martin v. Löwis2001-01-271-4/+4
|
* Synchronize with PyXML 1.5.Martin v. Löwis2001-01-272-1/+2
|
* 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
* Do not assume that types.UnicodeType exists; we might be running in an oldFred Drake2000-12-161-1/+5
| | | | version of Python. ;-(
* When raising KeyError, provide the key value that failed.Fred Drake2000-12-131-4/+4
|
* Fix bug in prepare_input_source (patched by Paul P., sourceforge.net downLars Gustäbel2000-10-241-1/+1
| | | | now, so can't find number).
* Make reindent.py happy (lots of trailing whitespace removed).Fred Drake2000-10-236-82/+82
|
* 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
|
* Added parent attribute with getters and setters on XMLFilterBase.Lars Gustäbel2000-10-111-0/+12
|
* _exceptions: Format a missing system id as <unknown>.Martin v. Löwis2000-10-092-5/+7
| | | | expatreader: Use the error handler instead of raising exception directly.
* In an incremental parser, close the parser after feeding everything.Martin v. Löwis2000-10-061-0/+1
|
* Don't use a file object as system id; try to propagate the file name toMartin v. Löwis2000-10-061-1/+3
| | | | the InputSource.
* 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-063-3/+25
| | | | ImportError, and a missing driver.
* Support non-namespace elements in *ElementNS of XMLGenerator.Martin v. Löwis2000-10-031-2/+10
|
* Use string functions instead of methods to allow sharing this module with PyXMLMartin v. Löwis2000-09-291-3/+5
|
* Remove dependency from saxutils when loading xmlreaderMartin v. Löwis2000-09-291-2/+1
|
* Fix handling of file inputs on Windows; passing them to urllib.urlopen()Fred Drake2000-09-261-3/+5
| | | | | | | | caused the drive letter to cause urlopen() to think it was an unrecognized URL scheme. This only passes system ids to urlopen() if the file does not exist. It works on Windows & Unix. It should work everywhere else as well.
* Fix inconsistent use of space/tabs.Thomas Wouters2000-09-251-4/+4
|
* [Patch 101634]Martin v. Löwis2000-09-242-26/+11
| | | | | | | xml.sax: Fix parse and parseString not to rely on ExpatParser Greatly simplify import logic by using __import__ saxutils: Support Unicode strings and files as parameters to prepare_input_source
* 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-244-14/+27
| | | | 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-243-21/+54
|
* Added back the InputSource class (patch 101630).Lars Gustäbel2000-09-244-31/+138
|
* Updated to final Attributes interface (patch 101632).Lars Gustäbel2000-09-242-13/+72
|
* Updated to new *NS signatures (patch 101573).Lars Gustäbel2000-09-241-25/+25
|
* Added back missing argument to ignorableWhitespace signature.Lars Gustäbel2000-09-241-1/+1
|
* Bug fix to namespace handling in XMLGenerator (now adds declarations).Lars Gustäbel2000-09-241-5/+13
| | | | | Bug fixes to XMLFilterBase (wrong ignorableWhitespace signature and did not inherit set*Handler methods from XMLReader.)
* 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
|
* More whitespace cleanup, to satisfy tabnanny.py. Don't trust -tt!Guido van Rossum2000-09-221-15/+15
|
* White space cleanup, including one item that was an error under -tt.Fred Drake2000-09-221-5/+5
|
* Paul Prescod <paul@prescod.net>:Fred Drake2000-09-211-17/+27
| | | | | | | | | Add support for parsing already-opened files. Make sure the parse() method closes exactly those files that it opens. Modified by FLD for better conformance to the Python style guide. This closes SourceForge patch #101512.
* SAXException.__getitem__(): Raise AttributeError instead of NameError.Fred Drake2000-09-211-1/+1
|
* fix bogus references to imp; makes test_minidom succeedJeremy Hylton2000-09-211-2/+2
|
* Added the make_parser function (patch 101571).Lars Gustäbel2000-09-211-2/+67
|
* Updated XMLGenerator to new DocumentHandler interface (patch 101572).Lars Gustäbel2000-09-211-11/+30
|
* Updated to correct DocumentHandler signatures. (patch 101570)Lars Gustäbel2000-09-211-6/+23
|
* Reduce the number of imports needed.Fred Drake2000-09-181-20/+23
| | | | Make the code conform better to the Python style guide.
* Remove two unnecessary imports.Fred Drake2000-09-181-26/+26
| | | | | | | Update the module docstring to reflect the actual list of modules in the xml.sax package. Make the code better conform to the Python style guide.
* Once we're done with the sys module, remove it from the namespace soFred Drake2000-09-181-13/+11
| | | | this module is "import *" safe.