Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch 1463026: Support default namespace in XMLGenerator. | Martin v. Löwis | 2007-02-12 | 1 | -16/+19 |
| | | | | Fixes #847665. Will backport. | ||||
* | expunge the xmlcore changes: | Fred Drake | 2006-07-29 | 1 | -0/+299 |
| | | | | | | | | | | | | | | | | | | | 41667, 41668 - initial switch to xmlcore 47044 - mention of xmlcore in What's New 50687 - mention of xmlcore in the library reference re-apply xmlcore changes to xml: 41674 - line ending changes (re-applied manually), directory props 41677 - add cElementTree wrapper 41678 - PSF licensing for etree 41812 - whitespace normalization 42724 - fix svn:eol-style settings 43681, 43682 - remove Python version-compatibility cruft from minidom 46773 - fix encoding of \r\n\t in attr values in saxutils 47269 - added XMLParser alias for cElementTree compatibility additional tests were added in Lib/test/test_sax.py that failed with the xmlcore changes; these relate to SF bugs #1511497, #1513611 | ||||
* | move the xml package implementation to xmlcore, and adjust the tests to | Fred Drake | 2005-12-14 | 1 | -297/+0 |
| | | | | | test that package, not the xmlcore/PyXML switcheroo fiasco in the xml module/package | ||||
* | fix XMLFilterBase.resolveEntity() so the caller gets the result | Fred Drake | 2005-02-03 | 1 | -1/+1 |
| | | | | (PyXML bug #1112052) | ||||
* | when only using half of the return value of os.path.split(), use | Fred Drake | 2004-10-20 | 1 | -1/+1 |
| | | | | os.path.dirname() or os.path.basename() instead | ||||
* | SF bug #902037: relative on-disk SYSTEM id handling is incorrect | Raymond Hettinger | 2004-10-20 | 1 | -4/+5 |
| | | | | | | (Contributed by Bob Ippolito.) backport candidate. | ||||
* | Consider output encoding in XMLGenerator. Fixes #938076. | Martin v. Löwis | 2004-05-06 | 1 | -13/+28 |
| | | | | Backported to 2.3. | ||||
* | Properly delegate startElementNS in saxutils.XMLFilterBase. Fixes #936637. | Martin v. Löwis | 2004-05-06 | 1 | -1/+1 |
| | | | | Backported to 2.3. | ||||
* | Whitespace normalization. | Tim Peters | 2003-04-24 | 1 | -1/+1 |
| | |||||
* | Minor simplification. | Fred Drake | 2002-10-28 | 1 | -2/+1 |
| | |||||
* | Really do replacement of & last to avoid bad interactions between & | Fred Drake | 2002-10-28 | 1 | -2/+2 |
| | | | | replacement and replacements based on the entities parameter. | ||||
* | Avoid calling __dict_replace() if we don't need to -- the call is much | Fred Drake | 2002-10-28 | 1 | -8/+10 |
| | | | | | more expensive than just doing to work needed, and these things seem to always turn into a bottleneck eventually. | ||||
* | Patch #613256: Add nescape method to xml.sax.saxutils. | Martin v. Löwis | 2002-10-26 | 1 | -6/+26 |
| | |||||
* | Make sure XMLGenerator uses quoteattr() instead of escape() to quote | Fred Drake | 2001-08-07 | 1 | -2/+2 |
| | | | | | | | attribute values. Just using escape() can (and always has) led to broken XML being generated. This makes sure it always produces the right thing. This actually closes SF bug #440351. | ||||
* | Added function xml.sax.saxutils.quoteattr(). | Fred Drake | 2001-07-19 | 1 | -0/+21 |
| | | | | This closes SF bug #440351. It should not be moved to Python 2.1.1. | ||||
* | Do not assume that types.UnicodeType exists; we might be running in an old | Fred Drake | 2000-12-16 | 1 | -1/+5 |
| | | | | version of Python. ;-( | ||||
* | Fix bug in prepare_input_source (patched by Paul P., sourceforge.net down | Lars Gustäbel | 2000-10-24 | 1 | -1/+1 |
| | | | | now, so can't find number). | ||||
* | Make reindent.py happy (lots of trailing whitespace removed). | Fred Drake | 2000-10-23 | 1 | -9/+9 |
| | |||||
* | Added parent attribute with getters and setters on XMLFilterBase. | Lars Gustäbel | 2000-10-11 | 1 | -0/+12 |
| | |||||
* | Don't use a file object as system id; try to propagate the file name to | Martin v. Löwis | 2000-10-06 | 1 | -1/+3 |
| | | | | the InputSource. | ||||
* | Support non-namespace elements in *ElementNS of XMLGenerator. | Martin v. Löwis | 2000-10-03 | 1 | -2/+10 |
| | |||||
* | Fix handling of file inputs on Windows; passing them to urllib.urlopen() | Fred Drake | 2000-09-26 | 1 | -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. | ||||
* | [Patch 101634] | Martin v. Löwis | 2000-09-24 | 1 | -2/+8 |
| | | | | | | | 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 | ||||
* | Added back the InputSource class (patch 101630). | Lars Gustäbel | 2000-09-24 | 1 | -0/+22 |
| | |||||
* | Bug fix to namespace handling in XMLGenerator (now adds declarations). | Lars Gustäbel | 2000-09-24 | 1 | -5/+13 |
| | | | | | Bug fixes to XMLFilterBase (wrong ignorableWhitespace signature and did not inherit set*Handler methods from XMLReader.) | ||||
* | Updated XMLGenerator to new DocumentHandler interface (patch 101572). | Lars Gustäbel | 2000-09-21 | 1 | -11/+30 |
| | |||||
* | Reduce the number of imports needed. | Fred Drake | 2000-09-18 | 1 | -20/+23 |
| | | | | Make the code conform better to the Python style guide. | ||||
* | Removed unncessary dependency. | Paul Prescod | 2000-07-01 | 1 | -1/+1 |
| | |||||
* | Paul Prescod <paul@prescod.net>: | Fred Drake | 2000-06-29 | 1 | -0/+153 |
SAX interfaces for Python. |