On Thursday, June 27, 2002, at 11:25 , Gbio Qi wrote: [..] > t/stream............FAILED test 11 > Failed 1/11 tests, 90.91% okay > t/subs..............ok > t/xp_sax............ok > Failed Test Status Wstat Total Fail Failed List of Failed > -------------------------------------------------------------------------------- > t/stream.t 11 1 9.09% 11 > Failed 1/6 test scripts, 83.33% okay. 1/45 subtests failed, 97.78% okay. > *** Exit 255 > Stop. > # > > Does anobody have any idea?
what you will notice is that there is a perl piece of code in the "t" sub directory that is named stream.t - if you open it up - you will find what it was testing for, and hence what specifically was the error on it's 11th test. and you fill find that it is: print (($string eq $expected) ? "ok 11\n" : "not ok 11\n"); hence there is some strangeness in how things are getting converted there ... cf: http://rt.cpan.org/NoAuth/Bug.html?id=135 at the end of which we find: " The error seems to be quite simple, since the particular test compares to data streams with different encodings. Line 104 of t/stream.t reads: This, '\302\240', would be a bad character in UTF-8. and is compared to (from line 104): This, '\240', would be a bad character in UTF-8. Therefore, removing \302 does the trick! BR per " hence the quick fix would be: [jeeves:~/Desktop/libxml-perl-0.07/t] drieux% diff stream.t stream.t.ORIG 64c64 < This, '\240', would be a bad character in UTF-8. --- > This, '\302\240', would be a bad character in UTF-8. [jeeves:~/Desktop/libxml-perl-0.07/t] drieux% ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]