<posted & mailed>
These releases contain primarily bug fixes, although there is some new
- Fixed a bug that caused text containing > to be split into two text nodes.
This incurred a speed penalty, but I’ll try to improve that later.
- Added a bug tracking system.
- Fixed a comment parsing bug.
- Mike Stok fixed Functions#translate and cleaned up some cruft that slipped
through in Functions#substring.
- Fixed a bug in Element#prefixes, and fixed Attributes#prefixes to use
DOCTYPE declared namespaces. Added DocType#attributes_of(Element).
- Fixed a bug in writing Attlist declarations.
- Added AttlistDecl#each; AttlistDecl now includes Enumerable
- Fixed Functions#name and Functions#local_name; fixed unit test.
- Fixed a bug re. functions w/in predicates in XPath
- Fixes for Child#parent=()
- Fixes and speed improvement for creating Text nodes
- SAX2Parser bug fixes
- Added dist.xml and an ant build file
- Tom sent a new version of his pretty printer (in contribs/)
- Kouhei has a new version of his Japanese API documentation translation
- Fixed a bug in entity handling.
- Backported a bugfix WRT function calls in predicates, and Function#name()
It looks like the new XPath is a flop. I might be able to use some
concepts, but what it boils down to is that there just isn’t any way (that
I can see) to simplify predicate handling or axes. This isn’t to say that
I can’t speed up XPath, because it can be optimized. For instance, a lot
of code that is being evaluated with Procs currently can be inlined. This
would give a significant speed increase, and I’ll get around to it
eventually. It’ll make the code more difficult to maintain and bugfix, so
I’m delaying as long as possible.
I’ve also decided to drop the idea of implementing a full DTD parser, for
the moment. DTD is just a monster to parse. I’ll continue to implement
bits and pieces of DTD, but when REXML gets to be validating, it will
probably only be with XMLSchema.
If a fix for your bug didn’t make it into this release, don’t worry – I’ll
get to it soon. I’ve been sitting on 2.3.5 for a while, and wanted to get
get it out.
… A computer without Windows is like a fish without a bicycle