[Python-checkins] CVS: python/dist/src/Misc NEWS,1.126,1.127
Martin v. L?wis
loewis@users.sourceforge.net
Mon, 26 Feb 2001 20:22:00 -0800
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv28271
Modified Files:
NEWS
Log Message:
Document XML changes.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.126
retrieving revision 1.127
diff -C2 -r1.126 -r1.127
*** NEWS 2001/02/22 15:53:21 1.126
--- NEWS 2001/02/27 04:21:58 1.127
***************
*** 6,9 ****
--- 6,25 ----
Standard library
+ - pyexpat now detects the expat version if expat.h defines it. A
+ number of additional handlers are provided, which are only available
+ since expat 1.95. In addition, the methods SetParamEntityParsing and
+ GetInputContext of Parser objects are available with 1.95.x
+ only. Parser objects now provide the ordered_attributes and
+ specified_attributes attributes. A new module expat.model was added,
+ which offers a number of additional constants if 1.95.x is used.
+
+ - xml.dom offers the new functions registerDOMImplementation and
+ getDOMImplementation.
+
+ - xml.dom.minidom offers a toprettyxml method. A number of DOM
+ conformance issues have been resolved. In particular, Element now
+ has an hasAttributes method, and the handling of namespaces was
+ improved.
+
Windows changes
***************
*** 123,126 ****
--- 139,148 ----
- Removed the obsolete soundex module.
+ - xml.dom.minidom now uses the standard DOM exceptions. Node supports
+ the isSameNode method; NamedNodeMap the get method.
+
+ - xml.sax.expatreader supports the lexical handler property; it
+ generates comment, startCDATA, and endCDATA events.
+
Windows changes
***************
*** 374,377 ****
--- 396,419 ----
the caller. This is intended only as a building block for
higher-level mechanisms such as string interpolation.
+
+ - The pyexpat module supports a number of new handlers, which are
+ available only in expat 1.2. If invocation of a callback fails, it
+ will report an additional frame in the traceback. Parser objects
+ participate now in garbage collection. If expat reports an unknown
+ encoding, pyexpat will try to use a Python codec; that works only
+ for single-byte charsets. The parser type objects is exposed as
+ XMLParserObject.
+
+ - xml.dom now offers standard definitions for symbolic node type and
+ exception code constants, and a hierarchy of DOM exceptions. minidom
+ was adjusted to use them.
+
+ - The conformance of xml.dom.minidom to the DOM specification was
+ improved. It detects a number of additional error cases; the
+ previous/next relationship works even when the tree is modified;
+ Node supports the normalize() method; NamedNodeMap, DocumentType and
+ DOMImplementation classes were added; Element supports the
+ hasAttribute and hasAttributeNS methods; and Text supports the splitText
+ method.
Build issues