"David Starks-Browning" <[EMAIL PROTECTED]> writes:
> On 10 Oct 01, Jason E. Stewart writes:
>
> > Test this. Edit Xerces.C line 175 from:
> >
> > if (sv_derived_from(sv,s->name)) {
> >
> > to:
> >
> > if (sv_derived_from(sv,(char*)s->name)) {
>
> Thanks! That worked.
Ok, I'll make that change in my code.
> I get a number of failures during 'make test', though. I can't
> investigate further until tomorrow, but for now I get:
> > t/DOMException......dubious
> > Test returned status 0 (wstat 134, 0x86)
> > test program seems to have generated a core
> > DIED. FAILED tests 2-7
> > Failed 6/7 tests, 14.29% okay
> > t/DOMParser.........Bareword "XML::Xerces::DOMParser" not allowed while "strict
>subs" in use at (eval 1) line 1.
> > FAILED test 3
> > Failed 1/9 tests, 88.89% okay
This was a mistake on my part. Perl 5.6 handles it ok, earlier
versions don't like it obviously. The eval " ... "; should be
eval { ... }; instead. Perl's eval has two very different purposes,
the first being to evaluate perl variables into code and executate
that code, the second form being to trap errors. I was intended the
trap errors version, but used the evaluate syntax. Now fixed.
> > t/IDOM_DOMException.dubious
> > Test returned status 0 (wstat 134, 0x86)
> > test program seems to have generated a core
> > DIED. FAILED tests 2-6
> > Failed 5/6 tests, 16.67% okay
> > t/LocalFileInputSource.dubious
> > Test returned status 0 (wstat 134, 0x86)
> > test program seems to have generated a core
> > DIED. FAILED tests 4-6
> > Failed 3/6 tests, 50.00% okay
> > t/MemBufInputSource.ok
> > t/PerlErrorHandler..ok
> > t/SAX2Count.........Use of uninitialized value at t/SAX2Count.t line 52.
> > Use of uninitialized value at t/SAX2Count.t line 53.
> > Use of uninitialized value at t/SAX2Count.t line 54.
> > Use of uninitialized value at t/SAX2Count.t line 55.
> > Use of uninitialized value at t/SAX2Count.t line 56.
> > Use of uninitialized value at t/SAX2Count.t line 57.
> > Use of uninitialized value at t/SAX2Count.t line 58.
> > Use of uninitialized value at t/SAX2Count.t line 59.
> > FAILED tests 2, 5
> > Failed 2/5 tests, 60.00% okay
> > t/SAXException......dubious
> > Test returned status 0 (wstat 134, 0x86)
> > test program seems to have generated a core
> > DIED. FAILED tests 2-5
> > Failed 4/5 tests, 20.00% okay
> > t/URLInputSource....dubious
> > Test returned status 0 (wstat 134, 0x86)
> > test program seems to have generated a core
> > DIED. FAILED test 7
> > Failed 1/7 tests, 85.71% okay
> > t/XMLException......dubious
> > Test returned status 0 (wstat 134, 0x86)
> > test program seems to have generated a core
> > DIED. FAILED tests 2-4
> > Failed 3/4 tests, 25.00% okay
All the rest seem to be associated with the code that I changed, which
is problematic. Presumably, there is something wrong with how I
implemented the usage of croak() for early versions of Perl.
This code has all been redone for the new exception handling (which is
complete), so it may be moot.
I'll check into it.
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]