summaryrefslogtreecommitdiffstats
path: root/Lib/xml
Commit message (Collapse)AuthorAgeFilesLines
* #4147: minidom's toprettyxml no longer adds whitespace around a text node ↵Ezio Melotti2011-11-181-5/+9
| | | | when it is the only child of an element. Initial patch by Dan Kenigsberg.
* Issue #2892: preserve iterparse events in case of SyntaxErrorFlorent Xicluna2011-11-011-15/+23
|
* Closes #7334: close source files on ElementTree.parse and iterparse (partial ↵Florent Xicluna2011-10-291-11/+22
| | | | backport of issue #10093 from 3.2).
* #4147: minidom's toprettyxml no longer adds whitespace to text nodes.R David Murray2011-10-011-2/+4
| | | | Patch by Dan Kenigsberg.
* Fix closes Issue11439 - Handle the SVN Keywords in 2.7 by replacing them ↵Senthil Kumaran2011-07-281-1/+1
| | | | with a high number so that code relying on them does not break.
* #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-162-2/+2
|
* #11515: fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-151-1/+1
|
* Merged revisions 85546-85547 via svnmerge fromGeorg Brandl2010-11-261-5/+4
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85546 | georg.brandl | 2010-10-15 19:58:45 +0200 (Fr, 15 Okt 2010) | 1 line #5762: fix handling of empty namespace in minidom, which would result in AttributeError on toxml(). ........ r85547 | georg.brandl | 2010-10-15 20:00:35 +0200 (Fr, 15 Okt 2010) | 1 line #6098: Refrain from claiming DOM level 3 conformance in minidom. ........
* Merged revisions 86348 via svnmerge fromSenthil Kumaran2010-11-091-2/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86348 | senthil.kumaran | 2010-11-09 10:36:59 +0800 (Tue, 09 Nov 2010) | 3 lines Fix Issue10205 - XML QName error when different tags have same QName. ........
* Merged revisions 85858 via svnmerge fromAntoine Pitrou2010-10-271-0/+6
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85858 | antoine.pitrou | 2010-10-27 20:33:30 +0200 (mer., 27 oct. 2010) | 5 lines Issue #5027: The standard `xml` namespace is now understood by xml.sax.saxutils.XMLGenerator as being bound to http://www.w3.org/XML/1998/namespace. Patch by Troy J. Farrell. ........
* Merged revisions 82757-82758,82760-82764 via svnmerge fromGeorg Brandl2010-10-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82757 | georg.brandl | 2010-07-10 10:58:37 +0200 (Sa, 10 Jul 2010) | 1 line Fix markup. ........ r82758 | georg.brandl | 2010-07-10 12:23:40 +0200 (Sa, 10 Jul 2010) | 1 line Emphasize role of count for Pascal string. ........ r82760 | georg.brandl | 2010-07-10 12:39:57 +0200 (Sa, 10 Jul 2010) | 1 line #3214: improve description of duck-typing in glossary. ........ r82761 | georg.brandl | 2010-07-10 13:40:13 +0200 (Sa, 10 Jul 2010) | 1 line #1434090: properly append child in expatbuilder doctype handler. ........ r82762 | georg.brandl | 2010-07-10 13:51:06 +0200 (Sa, 10 Jul 2010) | 1 line #8338: fix outdated class name. ........ r82763 | georg.brandl | 2010-07-10 14:01:34 +0200 (Sa, 10 Jul 2010) | 1 line #8456: fix signature of sqlite3.connect(). ........ r82764 | georg.brandl | 2010-07-10 14:20:38 +0200 (Sa, 10 Jul 2010) | 1 line #8564: update docs on integrating doctest/unittest with unittest(2) test discovery. ........
* Merged revisions 83864 via svnmerge fromFlorent Xicluna2010-08-091-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83864 | florent.xicluna | 2010-08-09 01:08:41 +0200 (lun., 09 août 2010) | 2 lines Fix xml.etree.ElementInclude to include the tail of the current node. Issue #6231 ........
* Merged revisions 83152 via svnmerge fromAndrew M. Kuchling2010-07-251-0/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83152 | andrew.kuchling | 2010-07-25 19:38:47 -0400 (Sun, 25 Jul 2010) | 1 line #777884: make .normalize() do nothing for childless nodes, instead of raising an exception ........
* Issue #6472: The xml.etree package is updated to ElementTree 1.3. The ↵Florent Xicluna2010-03-114-545/+1038
| | | | cElementTree module is updated too.
* issue#6442 use in operator instead of has_keyJack Diederich2010-02-231-1/+1
|
* Issue #2746: Don't escape ampersands and angle brackets ("&", "<", ">")Antoine Pitrou2010-02-091-2/+2
| | | | | | in XML processing instructions and comments. These raw characters are allowed by the XML specification, and are necessary when outputting e.g. PHP code in a processing instruction. Patch by Neil Muller.
* replace has_key with 'in' operatorBenjamin Peterson2009-10-094-8/+8
|
* death to old CVS keywordBenjamin Peterson2009-10-091-6/+0
|
* #4490 Fix sample code run by "python -m xml.sax.xmlreader"Amaury Forgeot d'Arc2009-06-221-3/+3
|
* Issue #2170: refactored xml.dom.minidom.normalize, increasing bothR. David Murray2009-04-091-18/+11
| | | | its clarity and its speed.
* Issue 2235: Py3k warnings are now emitted for classes that will no longer ↵Nick Coghlan2008-08-111-0/+1
| | | | inherit a__hash__ implementation from a parent class in Python 3.x. The standard library and test suite have been updated to not emit these warnings.
* Remove dict.has_key() usage in xml.sax to silence warnings under -3.Brett Cannon2008-08-042-4/+4
|
* Remove dict.has_key() usage in xml.dom.minidom to silence warnings whileBrett Cannon2008-08-041-4/+4
| | | | running under -3.
* Issue #1390: Raise ValueError in toxml when an invalid comment wouldMartin v. Löwis2008-05-231-0/+2
| | | | otherwise be produced.
* #2503 make singletons compared with "is" not == or !=Benjamin Peterson2008-03-291-1/+1
| | | | Thanks to Wummel for the patch
* #1433694: minidom's .normalize() failed to set .nextSibling for last element.Andrew M. Kuchling2008-02-231-0/+2
| | | | Fix by Malte Helmert
* Issue 1290. CharacterData.__repr__ was constructing a stringFacundo Batista2007-10-241-1/+1
| | | | in response that keeped having a non-ascii character.
* Patch 1463026: Support default namespace in XMLGenerator.Martin v. Löwis2007-02-121-16/+19
| | | | Fixes #847665. Will backport.
* expunge the xmlcore changes:Fred Drake2006-07-2922-0/+7402
| | | | | | | | | | | | | | | | | | | 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 toFred Drake2005-12-1421-7462/+0
| | | | | test that package, not the xmlcore/PyXML switcheroo fiasco in the xml module/package
* r1077@spiff: Fredrik | 2005-12-12 22:58:44 +0100Fredrik Lundh2005-12-121-0/+1
| | | | | make sure xml.etree can be used even if PyXML is present (solution proposed by Philip J. Eby)
* r1068@spiff: Fredrik | 2005-12-12 19:50:30 +0100Fredrik Lundh2005-12-121-2/+6
| | | | assorted xml.etree tweaks
* added ElementTree core components to xml.etreeFredrik Lundh2005-12-124-0/+1621
|
* [Bug #1281032] Pass encoding from the input source to pyexpat's ParserCreate()Andrew M. Kuchling2005-12-041-2/+3
|
* [Patch #1094164] replaceChild(x,x) ends up removing x of the tree. Add fix ↵Andrew M. Kuchling2005-11-221-2/+2
| | | | from Felix Rabe and a test case
* bug [ 1262320 ] minidom.py alternate newl support is brokenGeorg Brandl2005-08-251-6/+6
|
* fix XMLFilterBase.resolveEntity() so the caller gets the resultFred Drake2005-02-031-1/+1
| | | | (PyXML bug #1112052)
* Fix typo in comment.Walter Dörwald2004-11-251-1/+1
|
* when only using half of the return value of os.path.split(), useFred Drake2004-10-201-1/+1
| | | | os.path.dirname() or os.path.basename() instead
* SF bug #902037: relative on-disk SYSTEM id handling is incorrectRaymond Hettinger2004-10-201-4/+5
| | | | | | (Contributed by Bob Ippolito.) backport candidate.
* Require minimally PyXML 0.8.4.Martin v. Löwis2004-10-131-1/+1
|
* Whitespace normalization, via reindent.py.Tim Peters2004-07-181-2/+2
|
* fix documentation for ContentHandler.ignorableWhitespace()Fred Drake2004-05-061-4/+1
| | | | (closes SF bug #881707)
* Consider output encoding in XMLGenerator. Fixes #938076.Martin v. Löwis2004-05-061-13/+28
| | | | Backported to 2.3.
* Properly delegate startElementNS in saxutils.XMLFilterBase. Fixes #936637.Martin v. Löwis2004-05-061-1/+1
| | | | Backported to 2.3.
* Swap public and system ID in start_doctype_decl. Fixes #780300.Martin v. Löwis2004-05-061-1/+1
|
* commit the portion of PyXML patch #919008 that is relevant to theFred Drake2004-03-201-2/+7
| | | | | | | standard library: str() of xml.sax.SAXParseException should not fail if the line and/or column number returned by the locator are None (tests added)
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-123-4/+4
| | | | From SF patch #852334.
* Add missing self. before curNode. This may need to be committedNeal Norwitz2003-06-291-1/+1
| | | | to PyXML, I'm not sure of the procedure.
* Whitespace normalization.Tim Peters2003-04-244-5/+5
|