CVS: Products/ParsedXML - CHANGES.txt:1.12 INSTALL.txt:1.7 README.txt:1.12 version.txt:1.4
Martijn Faassen <[email protected]> Thu, 16 May 2002 18:28:38 -0400
| Newsgroups | gmane.comp.web.zope.parsed-xml |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvs-repository/Products/ParsedXML
In directory cvs.zope.org:/tmp/cvs-serv14206
Modified Files:
CHANGES.txt INSTALL.txt README.txt version.txt
Log Message:
Updated some of the text files, but not done yet.
=== Products/ParsedXML/CHANGES.txt 1.11 => 1.12 ===
change in a reparse.
+ - NodePath system for creating various paths to nodes. This can
+ be based on 'child' (child node index), 'element_id', or
+ 'robust', which is not very robust as yet in some ways, but
+ should be resistent to quite a few changes to the document.
+
+ Bugs Fixed
+
+ - Removed ParsedXML's Expat, introduced dependency on PyXML's
+ pyexpat instead (or just compile your own). This gets rid of
+ lots of install hassles, especially on Windows. Just install
+ PyXML.
+
+ - An ongoing attempt to bring sanity to the unit test story.
+
ParsedXML 1.2.1
Features
=== Products/ParsedXML/INSTALL.txt 1.6 => 1.7 ===
- This release requires Zope 2.3.x and later. You need a Python
- development environment in order to build and install PyExpat;
- we're working on making this requirement go away.
+ This release requires Zope 2.4.x and later. You also need PyXML
+ 0.7.x or later installed, or at least a recent version of pyexpat.
Installation
Unpack the ParsedXML tarball in the Products directory of your Zope
installation (usually this is lib/python/Products). Rename the unpacked
directory to "ParsedXML" so that Python can import it.
-
- Build the parser by going to the Expat subdirectory of the ParsedXML
- directory that you just unpacked, and running the setup.py script with
- the same Python you use to run Zope (python1.5 for Zope 2.3, and
- python2.1 for Zope2.4). See Expat/README for details.
Restart Zope. There should be a ParsedXML product in your Products
folder, and a ParsedXML option for available objects to add in
=== Products/ParsedXML/README.txt 1.11 => 1.12 ===
Parsed XML consists of a DOM storage, a builder that uses PyExpat to
parse XML into the DOM, and a management proxy product that provides
- Zope management features for a DOM tree.
+ Zope management features for a DOM tree. It also includes a system
+ to create paths to nodes in Zope URLs (NodePath).
Requirements, Installation
@@ -73,7 +74,13 @@
"mapping":http://cgi.omg.org/cgi-bin/doc?ptc/00-04-08.
URL traversal
-
+
+
+ Parsed XML implements a 'NodePath' system to create
+ references to XML nodes (most commonly elements).
+
+ FIXME include examples here
+
Currently, traversal uses an element's index within its
parent as an URL key. For example,
@@ -140,17 +147,8 @@
Unicode support is still incomplete. It appears to work with
Python 2.1 and Zope 2.4, but there are still some issues with the parser.
- If you use Python 1.5.2 (Zope 2.3 and below) this causes some DOM compliance
- issues:
-
- - Node names using non-ASCII letters are rejected.
-
- - Strings are UTF-8, not UTF-16.
-
- - Lengths and offsets of strings represent bytes, not characters.
- This affects the CharacterData and Text Node interfaces.
- Traversal support for visiblity and roots is not complete.
+ Traversal support for visibility and roots is not complete.
Credits
=== Products/ParsedXML/version.txt 1.3 => 1.4 ===
+ParsedXML 1.3.0