Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | New entries to track the DOM API growth. These match names exposed in | Fred Drake | 2002-08-09 | 1 | -0/+5 |
| | | | | PyXML 0.8. | ||||
* | Remove bogus assignment to self.length in NamedNodeMap.__delitem__(). | Fred Drake | 2002-07-02 | 1 | -1/+0 |
| | |||||
* | Bump required PyXML version to 0.6.5. | Martin v. Löwis | 2002-06-30 | 1 | -1/+1 |
| | |||||
* | Implement the encoding argument for toxml and toprettyxml. | Martin v. Löwis | 2002-06-30 | 1 | -8/+18 |
| | | | | Document toprettyxml. | ||||
* | Merge from PyXML: | Martin v. Löwis | 2002-06-30 | 1 | -2/+26 |
| | | | | | | [1.3] Added documentation of the namespace URI for elements with no namespace. [1.4] New property http://www.python.org/sax/properties/encoding. [1.5] Support optional string interning in pyexpat. | ||||
* | Add xml namespace initially (PyXML 1.19). | Martin v. Löwis | 2002-06-30 | 1 | -1/+2 |
| | |||||
* | Fix spacing. | Martin v. Löwis | 2002-06-30 | 1 | -1/+1 |
| | |||||
* | Merge changes from PyXML: | Martin v. Löwis | 2002-06-30 | 1 | -13/+76 |
| | | | | | | | | | | | | | | | | | | | | [1.15] Added understanding of the feature_validation, feature_external_pes, and feature_string_interning features. Added support for the feature_external_ges feature. Added support for the property_xml_string property. [1.16] Made it recognize the namespace prefixes feature. [1.17] removed erroneous first line [1.19] Support optional string interning in pyexpat. [1.21] Restore compatibility with versions of Python that did not support weak references. These do not get the cyclic reference fix, but they will continue to work as they did before. [1.22] Activate entity processing unless standalone. | ||||
* | Use more string methods, remove import string | Neal Norwitz | 2002-05-31 | 3 | -18/+12 |
| | |||||
* | Not sure why the regression test missed this, but the PyXML tests caught it. | Fred Drake | 2002-04-04 | 1 | -1/+1 |
| | | | | We should get attributes from the right object. | ||||
* | Avoid creating circular references between the ExpatParser and the | Fred Drake | 2002-04-04 | 1 | -1/+38 |
| | | | | | | | ContentHandler. While GC will eventually clean up, it can take longer than normal for applications that create a lot of strings (or other immutables) rather without creating many containers. This closes SF bug #535474. | ||||
* | [Apply patch #500457 from the PyXML tracker] | Andrew M. Kuchling | 2002-03-20 | 1 | -0/+9 |
| | | | | | | Add iterator support to pulldom.DOMEventStream New feature, so not a bugfix candidate (though it should be safe for inclusion) | ||||
* | Wrap a couple of long lines. | Fred Drake | 2002-03-15 | 1 | -2/+4 |
| | |||||
* | Patch #527427: minidom fails to use NodeList sometimes. | Martin v. Löwis | 2002-03-15 | 1 | -5/+5 |
| | |||||
* | Attribute nodes did not always get their ownerDocument and ownerElement | Fred Drake | 2001-12-06 | 1 | -4/+11 |
| | | | | properly set. This fixes that. | ||||
* | Fix appendChild() and insertBefore() (and replaceChild() indirectly) when | Fred Drake | 2001-12-06 | 1 | -2/+2 |
| | | | | | the node being added is a fragment node. This closes SF bug #487929. | ||||
* | Synchronize with pulldom from PyXML (revision 1.18). | Fred Drake | 2001-11-30 | 1 | -2/+24 |
| | |||||
* | Synchronize with minidom from PyXML (revision 1.35). | Fred Drake | 2001-11-30 | 1 | -5/+5 |
| | |||||
* | Added the convenience constants that are present in PyXML to make these | Fred Drake | 2001-11-30 | 1 | -0/+6 |
| | | | | more similar. | ||||
* | Remove obsolete __dynamic__ distinction. | Tim Peters | 2001-10-15 | 1 | -2/+0 |
| | |||||
* | For Python 2.2, do not use __getattr__(), only use computed properties. | Fred Drake | 2001-09-29 | 1 | -31/+61 |
| | | | | | | This is probably a little bit faster, but mostly is just cleaner code. The old-style support is still used for Python versions < 2.2 so this source file can be shared with PyXML. | ||||
* | Tighten up the new NodeList implementation. | Fred Drake | 2001-09-28 | 1 | -7/+7 |
| | | | | | Clean up a little; do not create an alias that is only used once, or store attributes with constant values in an instance. | ||||
* | For Python 2.2 and newer, actually support the full NodeList interface by | Fred Drake | 2001-09-28 | 1 | -2/+19 |
| | | | | subclassing list to add the length and item() attributes. | ||||
* | Keep tabnanny happy. | Guido van Rossum | 2001-09-19 | 1 | -1/+1 |
| | |||||
* | Patch to bug #461754: CDATA should not undergo entity subst. | Martin v. Löwis | 2001-09-19 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | Add dead imports of modules that are "magically" imported. | Martin v. Löwis | 2001-07-31 | 1 | -0/+5 |
| | |||||
* | Get the whitespace right! | Fred Drake | 2001-07-30 | 1 | -3/+3 |
| | |||||
* | Ugly fix used when pyexpat is not available. | Jeremy Hylton | 2001-07-30 | 1 | -0/+3 |
| | | | | | | | | | | If pyexpat is not available and more than one attempt is made to load an expat-based xml parser, an empty xml.parser.expat module will be created. This empty module will confuse xml.sax.expatreader into thinking that pyexpat is available. The ugly fix is to verify that the expat module actually defines the names that are imported from pyexpat. | ||||
* | 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. | ||||
* | Patch #432117: Record namespaces in the DOM tree using the DOM xmlns prefix. | Martin v. Löwis | 2001-07-18 | 1 | -1/+18 |
| | |||||
* | Make the implementations of getElementsByTagName() and | Fred Drake | 2001-07-04 | 1 | -11/+5 |
| | | | | | getElementsByTagNameNS() consistent in form as well as functionality (cosmetic). | ||||
* | Synchronize with 1.13 of PyXML: | Martin v. Löwis | 2001-06-17 | 1 | -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öwis | 2001-06-07 | 1 | -1/+3 |
| | |||||
* | Patch #416220: Fix misplaced paren. | Martin v. Löwis | 2001-06-07 | 1 | -3/+1 |
| | |||||
* | Fix getElementsByTagNameNS: | Martin v. Löwis | 2001-06-03 | 1 | -3/+7 |
| | | | | | - actually return a result - Compare with tag.localName in getElementsByTagNameNSHelper | ||||
* | Corrected default value of the DocumentType.internalSubset attribute based | Fred Drake | 2001-04-05 | 1 | -1/+1 |
| | | | | on a clarification sent to the www-dom list. | ||||
* | CharacterData methods: Update self.length on changes instead of extended | Fred Drake | 2001-04-04 | 1 | -4/+7 |
| | | | | | | the __getattr__() handler. Text.splitText(): Update the length and nodeValue attributes. | ||||
* | Add support for the CharacterData methods, CDATASection. | Fred Drake | 2001-04-04 | 1 | -7/+73 |
| | |||||
* | Initialize Attr.value with empty string in createAttribute*, as per DOM | Martin v. Löwis | 2001-03-31 | 1 | -5/+7 |
| | | | | | spec. Closes bug #412036. Also reindent toprettyxml. | ||||
* | Arghh. Fix typo. | Martin v. Löwis | 2001-03-27 | 1 | -1/+1 |
| | |||||
* | Use Guido's trick for always extracting the version number from a | Martin v. Löwis | 2001-03-27 | 1 | -1/+4 |
| | | | | CVS Revision string correctly, even under -kv. | ||||
* | When creating an attribute node using createAttribute() or | Fred Drake | 2001-03-23 | 1 | -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. | ||||
* | Synchronize with 1.6 of PyXML: | Martin v. Löwis | 2001-03-22 | 1 | -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 Drake | 2001-03-14 | 1 | -0/+3 |
| | |||||
* | Patch #407965: Improve Level 2 conformance of minidom | Martin v. Löwis | 2001-03-13 | 2 | -21/+103 |
| | | | | | | | | | | | | | | - 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. |