[guest - Tue Jan 29 13:54:42 2002]:
Show quoted text> [guest - Wed Jan 16 06:27:07 2002]:
>
> > The error is:
> >
> > t/stream..............FAILED test 11
> > Failed 1/11 tests, 90.91% okay
> > t/subs................ok
> >
> > Running test by hand
> > %perl -Mlib=lib t/stream.t
> > 1..11
> > ok 1
> > ok 2
> > ok 3
> > ok 4
> > ok 5
> > ok 6
> > ok 7
> > ok 8
> > ok 9
> > ok 10
> > not ok 11
> >
> > (i.e. I see no other debug info
> >
> > FYI:
> >
> > %perl -v
> >
> > This is perl, v5.6.1 built for i386-freebsd
> >
> > I'm running "4.2-RELEASE FreeBSD 4.2-RELEASE #0: Tue Jul 31 11:10:16
> > BST 2001"
> > XML::Parser is version 2.30
>
> Same here on Solaris 2.8
>
> [18:43:36 webapp@tiger libxml-perl-0.07]$ uname -a
> SunOS tiger 5.8 Generic_108528-10 sun4u sparc SUNW,Ultra-Enterprise
> [18:43:38 webapp@tiger libxml-perl-0.07]$ perl -v
>
> This is perl, v5.6.1 built for sun4-solaris
>
> Greg Cope
>
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