Latest modification : 2006-12-05 17:23 (french time)
- Small fix for the "Invalid attributes" message.
- Full support for XML namespaces added (see end of test program)
- Named indentation levels, for easier use.
- Copyright strings changed.
- a typo caused a bug when _do_nothign() was called
in CGI scripts
- nothing is output when there's no content to output.
- the _updatemapping() method now returns the new mapping's
- a minor bug which prevented headers
to be kept correct when adding or multiplying documents
- the copy module is not needed anymore.
- basic arithmetic operations can now be made on XML_document
instances, these constructs are now accepted:
firstdoc + seconddoc
seconddoc + firstdoc
Where firstdoc is an instance of XML_document
or one of its subclasses, and seconddoc is
either an instance of XML_document or one of
its subclasses or a string of text.
Nota Bene: This will not exactly concatenate the
two documents, instead the second one will be inserted
as plain text at the current position in the new one.
This may cause the indentation of the resulting document
yourdoc * intvalue
intvalue * yourdoc
Will repeat your document just like the * operator
works with strings of text.
Nota Bene: Since a multiplication is a big addition, same
remark as above.
- an infinite loop problem occured when doing a dir(yourdoc),
it is now corrected, but as a consequences every method
name beginning with "__" can't be used as a tag name.
This shouldn't cause any problem, because tag names
beginning with "__" are probably a very bad idea, if allowed
- an _updatemapping method was added to allow you to initialise
or update the internal mapping used for the new templating
- Docstrings added to the _TAGGED_document.Tag class.
- The __repr__ method is now defined once for all.
- You can now use yourdoc["something"] = "anotherthing"
to do powerful templating. See the test/test.py program
for details, but beware: documents are not real mappings.
- Truth value can now be tested: returns false for empty
- Now fully integrates the jahtml module's
functionnalities, providing access to
an HTML_document class and a CGI_document
class. WARNING: the API for what was in jahtml has
changed, you MUST modify your programs before removing
the old jahtml module.
- The jahtml module is now considered as being obsolete.
- includes templating facilities for the XML_document class
as well as for the HTML_document and CGI_document classes
- Rollback on certain "speed optimisations"
- Needs cStringIO again.
- Numerous speed optimisations
- Doesn't need the cStringIO module anymore
- The notation for naming spaces was introduced:
- Now the license is set in setup.py
- Now the _output() method accepts None
as the file argument
- Minor changes to the documentation
- small problem in the documentation
- small bug correction with empty text
- 1.2 :
- Large scale speed optimisations. The test
program launched 5000 times is now 2.5 times
faster than the 1.1
See the file CREDITS for details
- 1.1 :
- Now uses distutils as the installation method.
- Documentation fixes, thanks to Kragen Sitaker.