summaryrefslogtreecommitdiffstats
path: root/Lib/xml/dom/pulldom.py
Commit message (Collapse)AuthorAgeFilesLines
* Synchronize with pulldom from PyXML (revision 1.18).Fred Drake2001-11-301-2/+24
|
* Patch #432117: Record namespaces in the DOM tree using the DOM xmlns prefix.Martin v. Löwis2001-07-181-1/+18
|
* When creating an attribute node using createAttribute() orFred Drake2001-03-231-1/+2
| | | | | | createAttributeNS(), use the parallel setAttributeNode() or setAttributeNodeNS() to add the node to the document -- do not assume that setAttributeNode() will operate properly for both.
* Patch #407965: Improve Level 2 conformance of minidomMartin v. Löwis2001-03-131-7/+29
| | | | | | | | | | | | | | - addition of a DocumentFragment implementation and createDocumentFragment method - proper setting of ownerDocument for all nodes - setting of namespaceURI to None in Element as a class attribute - addition of setAttributeNodeNS and removeAttributeNodeNS as aliases for setAttributeNode and removeAttributeNode - support for inheriting from DOMImplementation to extend it with additional features (to override the Document class) in pulldom: - support for nodes (comment and PI) that occur before he document element; that became necessary as pulldom now delays creation of the document until it has the document element.
* Do not allow empty qualifiedName in createDocument.Martin v. Löwis2001-02-061-8/+29
| | | | | | Rearrange pulldom to create documents with root element. Provide clear methods so that the ContentHandler releases its hold on the document.
* Don't get fooled by an empty prefix with a valid namespaceURI -- inGuido van Rossum2001-02-051-2/+10
| | | | | this case, the code used to generate invalid tags and attribute names with a leading colon, e.g. <:tag> or <tag :attr="foo">.
* Re-indent.Martin v. Löwis2001-01-271-1/+1
|
* Synchronize with 1.10 of PyXML: Close parser when done.Martin v. Löwis2001-01-271-2/+1
|
* Patch #103052: Restore non-cyclic operation of pulldom.PullDOMMartin v. Löwis2001-01-261-49/+38
|
* Merge with 1.8 of pulldom.py:Martin v. Löwis2000-12-281-1/+7
| | | | Use types.UnicodeType if available, not type(u"").
* Patch #102492, fixing bug #116677:Andrew M. Kuchling2000-12-201-10/+17
| | | | | | | | | | give minidom.py behaviour that complies with the DOM Level 1 REC, which says that when a node newChild is added to the tree, "if the newChild is already in the tree, it is first removed." pulldom.py is patched to use the public minidom interface instead of setting .parentNode itself. Possibly this reduces pulldom's efficiency; someone else will have to pronounce on that.
* Adjust PullDOM to use a DOMImplementation instance to create new DocumentFred Drake2000-12-141-26/+37
| | | | | | | | | objects; uses minidom if one is not provided to the constructor. parse(): Pick up the default_bufsize default value dynamically so that the value in the module may be (meaningfully) changed at runtime. This (partially) closes patch #102477.
* Make reindent.py happy (lots of trailing whitespace removed).Fred Drake2000-10-231-12/+12
|
* Moved appendChild calls back to DOMEventStream.Lars Gustäbel2000-10-131-7/+27
| | | | Added SAX2DOM class.
* Added non-ns start and end element methods.Lars Gustäbel2000-10-111-16/+31
| | | | | Moved appendChild calls from DOMEventStream to PullDOM (parser indep). Removed duplicated sibling pointer setting (duplicated in appendChild).
* minidom: access attribute value before printing itMartin v. Löwis2000-10-061-10/+12
| | | | | | correct order of constructor args in createAttributeNS pulldom: use symbolic names for uri and localnames correct usage of createAttribute and setAttributeNode signatures.
* Use SAX2 namespace support.Martin v. Löwis2000-09-241-28/+39
|
* Updated to new SAX method signatures (*NS, patch 101573).Lars Gustäbel2000-09-241-6/+6
|
* Conform to the Python style guide.Fred Drake2000-09-241-125/+121
|
* Now uses make_parser to create its parser (patch 101573).Lars Gustäbel2000-09-211-2/+2
|
* Used original SAX handling form.Paul Prescod2000-07-041-2/+2
|
* Reference cycle fixesPaul Prescod2000-07-011-75/+2
|
* Paul Prescod <paul@prescod.net>:Fred Drake2000-06-291-0/+267
W3C DOM implementation for Python.