Adam Witney <[EMAIL PROTECTED]> writes:

> Ok modifying Xerces.cpp to
> 
>     sv_magic((SV *)hash, (SV *)obj, 'P', Nullch, 0);
> 
> It compiles, 

That's good. You didn't have to modify the Makefile.PL anymore did
you? If you didn't that means that the darwin.pl file I added is
working. 

> but there are still quite a few test failures...

God bless OS X...


> t/AttributeList.....ok 5/8No matching function for overloaded
> 'AttributeList_getValue' at
> /usr/local/install/XML-Xerces-2.3.0-3/blib/lib/XML/Xerces.pm line 221.

This is SWIG's less than useful way of saying that there are multiple
C++ functions to choose from and it's runtime type checker couldn't
figure out what to run - it usually means that the method wasn't
passed the correct parameters.

> t/DOMCount..........ok 1/2Use of uninitialized value in numeric eq (==) at

looks like DOMCount.pl is not returning a value, can you run it by
hand and let me know the output:

  perl samples/DOMCount.pl samples/personal.xml

> t/DOMDocument.......dubious
>         Test returned status 0 (wstat 10, 0xa)
> DIED. FAILED tests 3-35125
>         Failed 35123/35125 tests, 0.01% okay

This is OS X Unicode stuff.

> t/DOMException......dubious
>         Test returned status 0 (wstat 10, 0xa)
> DIED. FAILED tests 2-7
>         Failed 6/7 tests, 14.29% okay

Huh. Run this one by hand, would you?

  perl -Mblib -w t/DOMException.t

> t/DOMNodeIterator...NOK 3#     Failed test (t/DOMNodeIterator.t at line 66)
> t/DOMNodeIterator...NOK 5#     Failed test (t/DOMNodeIterator.t at line 78)

> t/DOMTreeWalker.....NOK 3#     Failed test (t/DOMTreeWalker.t at line 77)
> t/DOMTreeWalker.....NOK 5#     Failed test (t/DOMTreeWalker.t at line 89)

These two are nearly identical tests, so if one failed you'd expect
the other to fail as well. Not sure what's happening, but the
iterators are clearly not working.

> t/DOMPrint..........ok 1/2#     Failed test (t/DOMPrint.t at line 62)
> # Found []
> # Looks like you failed 1 tests of 2.

This is like DOMCount.pl, you're not getting output. Can you run it by
hand (probably the same error).

> t/EntityResolver....ok 2/9FATAL ERROR:
> FILE:    /usr/local/install/XML-Xerces-2.3.0-3/samples/public.xml
> LINE:    3
> COLUMN:  85
> MESSAGE: An exception occurred! Type:RuntimeException, Message:Could not
> open DTD file '/sw/bin/samples/personal.dtd'

This looks like the OS X relative file path error

> t/SAXException......dubious
>         Test returned status 0 (wstat 10, 0xa)
> DIED. FAILED tests 2-6
>         Failed 5/6 tests, 16.67% okay

Could you run this one by hand?

> t/StdInInputSource..ok 2/3FATAL ERROR:
> FILE:    
> LINE:    0
> COLUMN:  0
> MESSAGE: An exception occurred! Type:XMLPlatformException, Message:Could not
> open file: stdin

We saw this one before too.

> t/URLInputSource....dubious
>         Test returned status 0 (wstat 10, 0xa)
> DIED. FAILED tests 6-8
>         Failed 3/8 tests, 62.50% okay

Looks like the relative path problem as well.

Thanks Adam,
jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to