| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
PyXML 0.8.
|
| |
|
| |
|
|
|
|
| |
Document toprettyxml.
|
|
|
|
|
|
| |
[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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[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.
|
| |
|
|
|
|
| |
We should get attributes from the right object.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Add iterator support to pulldom.DOMEventStream
New feature, so not a bugfix candidate (though it should be safe for inclusion)
|
| |
|
| |
|
|
|
|
| |
properly set. This fixes that.
|
|
|
|
|
| |
the node being added is a fragment node.
This closes SF bug #487929.
|
| |
|
| |
|
|
|
|
| |
more similar.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Clean up a little; do not create an alias that is only used once, or store
attributes with constant values in an instance.
|
|
|
|
| |
subclassing list to add the length and item() attributes.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This closes SF bug #440351. It should not be moved to Python 2.1.1.
|
| |
|
|
|
|
|
| |
getElementsByTagNameNS() consistent in form as well as functionality
(cosmetic).
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
- actually return a result
- Compare with tag.localName in getElementsByTagNameNSHelper
|
|
|
|
| |
on a clarification sent to the www-dom list.
|
|
|
|
|
|
| |
the __getattr__() handler.
Text.splitText(): Update the length and nodeValue attributes.
|
| |
|
|
|
|
|
| |
spec. Closes bug #412036.
Also reindent toprettyxml.
|
| |
|
|
|
|
| |
CVS Revision string correctly, even under -kv.
|
|
|
|
|
|
| |
createAttributeNS(), use the parallel setAttributeNode() or
setAttributeNodeNS() to add the node to the document -- do not assume
that setAttributeNode() will operate properly for both.
|
|
|
|
|
| |
Retrieve relevant information at construction time, as it may be lost
when the exception is printed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
|
|
|
|
|
| |
NamedNodeMap.setNamedItem(). Martin, should I sync the PyXML tree, too,
or do you want to do it? (I don't know if you're wrapping the 0.6.4
release right now.)
|
|
|
|
|
|
| |
New method; this is the "alternate" access to the exception code.
(Useful for Python DOM implementations that support the accessor
method approach to retrieving attribute values.)
|
| |
|