| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Thanks to Wummel for the patch
|
|
|
|
| |
Fixes #847665. Will backport.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
test that package, not the xmlcore/PyXML switcheroo fiasco in the xml
module/package
|
| |
|
|
|
|
| |
(PyXML bug #1112052)
|
|
|
|
| |
os.path.dirname() or os.path.basename() instead
|
|
|
|
|
|
| |
(Contributed by Bob Ippolito.)
backport candidate.
|
| |
|
|
|
|
| |
(closes SF bug #881707)
|
|
|
|
| |
Backported to 2.3.
|
|
|
|
| |
Backported to 2.3.
|
| |
|
|
|
|
|
|
|
| |
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)
|
| |
|
| |
|
|
|
|
| |
Contributed by Jp Calderone.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wrap a lot of long lines.
Clean up a handler for expat.error.
If a lexical handler is set, make sure we call the startDTD() and
endDTD(). If the lexical handler is unset (by setting it to None),
remove the handlers from the underlying pyexpat parser object.
Closes SF bug #485584.
In namespaces mode, make sure we set up the qnames dictionary
correctly for the AttributesNSImpl instance passed to the
start-element-handler.
Closes SF bug #563399.
Support skippedEntity. Fixes #665486.
|
| |
|
|
|
|
| |
replacement and replacements based on the entities parameter.
|
|
|
|
|
| |
more expensive than just doing to work needed, and these things seem
to always turn into a bottleneck eventually.
|
| |
|
|
|
|
|
|
| |
[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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
Retrieve relevant information at construction time, as it may be lost
when the exception is printed.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Break cycle involving expat parser in close().
Add lex handler support to SAX2 pyexpat
|
|
|
|
| |
version of Python. ;-(
|
| |
|
|
|
|
| |
now, so can't find number).
|
| |
|
|
|
|
| |
than tuples.
|
| |
|
| |
|
|
|
|
| |
expatreader: Use the error handler instead of raising exception directly.
|
| |
|