This release contains one major bugfix, and one new XML module:

* Added module gnosis.xml.validity. This module contains custom
classes for creating a Python object that is constrained by
XML validity rules (DTD or Schema). Taking its inspiration from the
Haskell module HaXml, a programmer using gnosis.xml.validity can
guarantee that no operation on an object will result in something
that would be serialized as invalid XML. See
gnosis/doc/xml_matters_20.txt for details.

* Fixed bug with integer parsing in gnosis.xml.pickle (a single "0"
was being treated as a failed octal number, rather than as...well,

It may be obtained at:

The current release is always available as:

Try it out, have fun, send feedback!

David Mertz (mertz at gnosis.cx)
Frank McIngvale (frankm at hiwaay.net)


BACKGROUND: Gnosis Utilites contains a number of Python libraries, most
(but not all) related to working with XML. These include:

gnosis.xml.pickle (XML pickling of Python objects)
gnosis.xml.objectify (Any XML to "native" Python objects)
gnosis.xml.validity (Enforce validity constraints)
gnosis.xml.indexer (XPATH indexing of XML documents)
gnosis.indexer (Full-text indexing/searching)
[...].convert.txt2html (Convert ASCII source files to HTML)
gnosis.util.dtd2sql (DTD -> SQL 'CREATE TABLE' statements)
gnosis.util.sql2dtd (SQL query -> DTD for query results)
gnosis.util.xml2sql (XML -> SQL 'INSERT INTO' statements)
gnosis.util.combinators (Combinatorial higher-order functions)
gnosis.util.introspect (Introspect Python objects)

...and so much more! :-)

<P><A HREF="http://gnosis.cx/download/Gnosis_XML_Util.ANNOUNCE">
Gnosis_XMLUtil 1.0.2</A> (6-June-02)

_/_/_/ THIS MESSAGE WAS BROUGHT TO YOU BY: Postmodern Enterprises _/_/_/
_/_/ ~~~~~~~~~~~~~~~~~~~~[mertz at gnosis.cx]~~~~~~~~~~~~~~~~~~~~~ _/_/
_/_/ The opinions expressed here must be those of my employer... _/_/
_/_/_/_/_/_/_/_/_/_/ Surely you don't think that *I* believe them! _/_/

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
postedJun 5, '02 at 7:54p
activeJun 5, '02 at 7:54p

1 user in discussion

David Mertz, Ph.D.: 1 post



site design / logo © 2022 Grokbase