Re: Bug 1318

From: "Sean E. Russell" <ser@...>
Date: 2004-04-24 02:10:01 UTC
List: ruby-core #2813
On Friday 23 April 2004 14:21, Steven Jenkins wrote:
> It passes on the test file I provided. My real test cases are still
> failing, but it appears that they're failing because Ruby 1.9.0 is less
> forgiving of my own bugs than 1.8.1.

No problem.

Since it seems to be working for you, I cross-ported the fixes to the 1.8 
branch.  I don't think the CVS log took, though, because I can't find it.  
Here it is:

* Fixed a bug in the evaluation of XPath's 'or'
* deprecated #type changed to class.name
* XPath's union was was being incorrectly interpreted
* Documentation improvements
* Fixed a bug in text= that was introduced by the previous fix of calling
  to_s() on all non-Text, non-String arguments.
* Fixes to transitive pretty-printing
* Attributes can now be non-Strings; they'll be to_s()'ed when set.
* Text now works on frozen strings
* Fixed a bug where, in some cases, the parser would fail to read enough
  characters from the input stream, and would consequently fail.
* In reporting a parse exception on an input stream, in some cases the code
  that calculated the position in the stream of the error would raise an IO
  error, which wasn't caught.
* Fixed Text so that using Elements outside of a Document wouldn't cause
  errors.


-- 
### SER   
### Deutsch|Esperanto|Francaise|Linux|XML|Java|Ruby|Aikido
### http://www.germane-software.com/~ser  jabber.com:ser  ICQ:83578737 
### GPG: http://www.germane-software.com/~ser/Security/ser_public.gpg

In This Thread

Prev Next