summaryrefslogtreecommitdiffstats
path: root/Lib/xmllib.py
Commit message (Collapse)AuthorAgeFilesLines
* Actually, the previous batch's comment should have been different;Guido van Rossum2000-02-041-1/+2
| | | | | | | | | | *this* set of patches is Ka-Ping's final sweep: The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
* Sjoerd Mullender writes:Guido van Rossum1999-08-261-30/+48
| | | | | | | | | | | """ Added some optional arguments to the XMLParser __init__ method to specify that selected non-standard constructs are to be accepted. Also removed the documentation for handle_entityrefs since it isn't used. """ The version is incremented to 0.3.
* Fix (sanctioned by Sjoerd) for a problem reported by Andreas Faerber:Guido van Rossum1999-06-081-1/+1
| | | | | | all processing instruction target names containing 'xml' were rejected, instead (as the standard rejects) only the name 'xml' itself (or case variants thereof).
* Fredrik Lundh fixes Sjoerd's patch...Guido van Rossum1999-02-021-7/+7
| | | | | """Sjoerd's version stores unbound methods. that's not good enough ;-) Here's an alternative implementation of fixdict."""
* Patch by Sjoerd Mullender to placate /F:Guido van Rossum1999-02-021-4/+12
| | | | | | | | | Fix leaking of instances by removing the elements variable that we created on closing the parser. The elements variable is now created in the reset() method, so that the sequence close(); reset(); ... works. Also, add the name of the entity reference that wasn't found to the error message.
* Patch by Sjoerd Mullender for better compatibility with the versionGuido van Rossum1999-02-011-0/+25
| | | | | | | | | from Python 1.5.1: If after __init__ finishes no new elements variable was created, this patch will search the instance's namespace for all attributes whose name start with start_ or end_ and put their value in a new elements instance variable.
* New test function by Sjoerd, adding -t option.Guido van Rossum1998-12-221-9/+24
|
* Sjoerd Mullender:Guido van Rossum1998-12-211-24/+34
| | | | | | | | - Fixed a bug where a syntax error was reported when a document started with white space. (White space at the start of a document is valid if there is no XML declaration.) - Improved the speed quite a bit for documents that don't make use of namespaces.
* Sjoerd Mullender writes:Guido van Rossum1998-12-181-62/+121
| | | | | | | Here is my current version of xmllib.py and the documentation. This version has some API changes with respect to the version currently in Python (also the one in 1.5.2a). This version supports XML namespaces.
* Sjoerd patches the previous patch:Guido van Rossum1998-12-081-0/+10
| | | | | In literal mode, also don't do anything about entity and character references, or about closing CDATA elements.
* Sjoerd writes:Guido van Rossum1998-12-071-1/+8
| | | | | | When literal mode is entered it should exit automatically when the matching close tag of the last unclosed open tag is encountered. This patch fixes this.
* Fixed a problem where xmllib didn't handle the tagGuido van Rossum1998-10-191-55/+60
| | | | | | | | <sometag attrib=">"> correctly. Also changed comparisons of re matches and searches into explicit comparisons with None. (Sjoerd Mullender)
* Sjoerd's latest.Guido van Rossum1998-04-031-117/+195
|
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-456/+456
|
* New version of xmllib from Sjoerd.Guido van Rossum1998-01-291-57/+162
| | | | | | | | | | | | | The main incompatibility is that the error reporting method is now called as parser.syntax_error(msg) instead of parser.syntax_error(lineno, msg) This new version also has some code to deal with the <?xml?> and <!DOCTYPE> tags at the start of an XML document. The documentation has been updated, and a small test module has been created.
* Fixed case sensitivity of attributes (they are case *sensitive*).Guido van Rossum1997-11-181-12/+8
|
* Sjoerd Mullender's xml parser (based on sgmllib, somewhat).Guido van Rossum1997-11-181-0/+568