XML-Xerces on MacOSX 10.3

Adam Witney <[email protected]>
Newsgroups gmane.text.xml.xerces-p.devel
Message-ID <BCCFCBCC.32D47%[email protected]>
Hi,

I have just upgraded my OSX machine to 10.3 so I thought I'd report my
results (don't think I have seen other peoples attempts on 10.3?)

xerces-c-2_3_0 installed with gcc 3.3 and LDFLAGS = -lstdc++

XML-Xerces-2.3.0-4 compiled fine, but failed some tests (looks like the
relative path issue is still a problem), see below.

Note, this is the 10.3 stock perl, v5.8.1-RC3

Do any of these failures look life threatening??

Thanks

adam




[mrc1-003:local/install/XML-Xerces-2.3.0-4] adam% make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/actualCast..............ok 9/11# Looks like you planned 11 tests but only
ran 9.
t/actualCast..............dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 10-11
        Failed 2/11 tests, 81.82% okay (less 2 skipped tests: 7 okay,
63.64%)
t/AttributeList...........ok
t/Attributes..............ok
t/DOMAttr.................ok
t/DOMBuilder..............ok
        3/12 skipped: various reasons
t/DOMCount................ok 1/2Use of uninitialized value in numeric eq
(==) at t/DOMCount.t line 55.
#     Failed test (t/DOMCount.t at line 55)
# Looks like you failed 1 tests of 2.
t/DOMCount................dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 2
        Failed 1/2 tests, 50.00% okay
t/DOMCreate...............ok
t/DOMDocument.............ok 5/35125Use of uninitialized value in hash
element at /usr/local/install/XML-Xerces-2.3.0-4/blib/lib/XML/Xerces.pm line
5191.
Use of uninitialized value in hash element at
/usr/local/install/XML-Xerces-2.3.0-4/blib/lib/XML/Xerces.pm line 5191.
Can't call method "getElementsByTagName" on an undefined value at
t/DOMDocument.t line 115.
# Looks like you planned 35125 tests but only ran 5.
# Looks like your test died just after 5.
t/DOMDocument.............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 6-35125
        Failed 35120/35125 tests, 0.01% okay
t/DOMElement..............ok
t/DOMEntity...............ok
        1/4 skipped: entities still not working
t/DOMException............ok
t/DOMNamedNodeMap.........ok
t/DOMNode.................ok
t/DOMNodeIterator.........ok
t/DOMNodeList.............ok
t/DOMParser...............ok
t/DOMPrint................ok 1/2#     Failed test (t/DOMPrint.t at line 62)
# Found []
# Looks like you failed 1 tests of 2.
t/DOMPrint................dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 2
        Failed 1/2 tests, 50.00% okay
t/DOMTreeWalker...........ok
t/DOMWriter...............ok
t/EntityResolver..........ok 2/9FATAL ERROR:
FILE:    /usr/local/install/XML-Xerces-2.3.0-4/samples/public.xml
LINE:    3
COLUMN:  85
MESSAGE: An exception occurred! Type:RuntimeException, Message:Could not
open DTD file '/usr/bin/samples/personal.dtd'
 at t/EntityResolver.t line 42
t/EntityResolver..........NOK 5#     Failed test (t/EntityResolver.t at line
63)
FATAL ERROR:
FILE:    /usr/local/install/XML-Xerces-2.3.0-4/samples/system.xml
LINE:    3
COLUMN:  38
MESSAGE: An exception occurred! Type:RuntimeException, Message:Could not
open DTD file '/usr/bin/samples/personal.dtd'
 at t/EntityResolver.t line 71
t/EntityResolver..........NOK 8#     Failed test (t/EntityResolver.t at line
84)
WARNING:
FILE:    
LINE:    0
COLUMN:  0
MESSAGE: An exception occurred! Type:RuntimeException, Message:Warning: The
primary document entity could not be opened.
Id=/usr/bin/samples/personal.xsd
 at t/EntityResolver.t line 138
FATAL ERROR:
FILE:    /usr/local/install/XML-Xerces-2.3.0-4/samples/system.xml
LINE:    5
COLUMN:  1
MESSAGE: Expected comment or processing instruction
 at t/EntityResolver.t line 138
# Looks like you planned 9 tests but only ran 8.
# Looks like your test died just after 8.
t/EntityResolver..........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 5, 8-9
        Failed 3/9 tests, 66.67% okay
t/Grammar.................ok
t/InputSource.............ok
t/LocalFileInputSource....ok
t/MemBufInputSource.......ok
t/PerlErrorHandler........ok
        1/6 skipped: temporarily not returning old handler
t/SAX2Count...............ok
t/SAX2XMLReader...........ok
t/SAXCount................ok
t/SAXException............ok
t/SAXParser...............ok
t/Schema..................ok 1/3WARNING:
FILE:    
LINE:    0
COLUMN:  0
MESSAGE: An exception occurred! Type:RuntimeException, Message:Warning: The
primary document entity could not be opened.
Id=/usr/bin/samples/personal.xsd
 at t/Schema.t line 34
t/Schema..................ok 2/3WARNING:
FILE:    
LINE:    0
COLUMN:  0
MESSAGE: An exception occurred! Type:RuntimeException, Message:Warning: The
primary document entity could not be opened.
Id=/usr/bin/samples/personal.xsd
 at t/Schema.t line 50
t/Schema..................ok
t/StdInInputSource........ok 2/3FATAL ERROR:
FILE:    
LINE:    0
COLUMN:  0
MESSAGE: An exception occurred! Type:XMLPlatformException, Message:Could not
open file: stdin
 at t/StdInInputSource.t line 33
# Looks like you planned 3 tests but only ran 2.
# Looks like your test died just after 2.
t/StdInInputSource........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 3
        Failed 1/3 tests, 66.67% okay
t/URLInputSource..........ok
t/XercesDOMParser.........ok
t/XMLException............ok
t/XMLScanner..............ok
        11/12 skipped: XMLScanner is no longer public
t/XMLUni..................ok
t/XMLUri..................ok
t/XMLURL..................ok
Failed Test          Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
---
t/DOMCount.t            1   256     2    1  50.00%  2
t/DOMDocument.t       255 65280 35125 7024 199.97%  6-35125
t/DOMPrint.t            1   256     2    1  50.00%  2
t/EntityResolver.t    255 65280     9    4  44.44%  5 8-9
t/StdInInputSource.t  255 65280     3    2  66.67%  3
t/actualCast.t          2   512    11    4  36.36%  10-11
18 subtests skipped.
Failed 6/39 test scripts, 84.62% okay. 35128/35408 subtests failed, 0.79%
okay.
make: *** [test_dynamic] Error 2


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.