Skip Menu |

This queue is for tickets about the XML-Xerces CPAN distribution.

Report information
The Basics
Id: 6254
Status: resolved
Priority: 0/
Queue: XML-Xerces

People
Owner: Nobody in particular
Requestors: ydliu [...] email.unc.edu
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.3.0-4
Fixed in: 2.5.0-0



Subject: AttributeList failure
Well, the document says: fixes support for Attributes::getValue(int) and AttributeList::getValue(int) in 2.3.0-1 Aug 09 2003, I didn't try 2.3.0-1 but in version 2.3.0-4, this test fails: === t/AttributeList...........Using /home/users/ydliu/.cpan/build/XML-Xerces-2.3.0-4/blib t/AttributeList...........ok 5/8No matching function for overloaded 'AttributeList_getValue' at /home/users/ydliu/.cpan/build/XML-Xerces-2.3.0-4/blib/lib/XML/Xerces.pm line 261. # Looks like you planned 8 tests but only ran 5. # Looks like your test died just after 5. t/AttributeList...........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 6-8 Failed 3/8 tests, 62.50% okay === bash-2.03$ /usr/local/bin/perl -v This is perl, v5.6.1 built for sun4-solaris bash-2.03$ uname -ar SunOS myhost 5.8 Generic_108528-18 sun4u sparc SUNW,Sun-Fire-880
Hi Thanks for the report. This is a known issue and it is fixed in the latest development series - but not yet released (XML::Xerces is part of the Apache XML Project and uses a bugtracking system out of xml.apache.org). Thanks again, jas.
From: ydliu [...] email.unc.edu
Jas, Thanks for your quick replying. But Can you give me a hint so I can solve this problem locally before the fixed version is released? I need it badly. Thanks [JASONS - Fri May 7 12:18:48 2004]: Show quoted text
> Hi Thanks for the report. > > This is a known issue and it is fixed in the latest development
series Show quoted text
> - > but not yet released (XML::Xerces is part of the Apache XML Project > and > uses a bugtracking system out of xml.apache.org). > > Thanks again, > jas.
Hi, Sorry that my previous response was not so useful. Unfortunately, the fix involves you understanding the SWIG system used to wrap the C++ library and make the Perl bindings. The easiest fix is to try one of two things: 1) The 2.4.0 release I made http://xml.apache.org/dist/xerces-p/nightly/2003-11-21/ which requires you to build Xerces-C-2.4.0 or 2) let me upload my bugfixed 2.3.0-5 version. Unfortunately do to a computer problem, I no longer have Xerces-C-2.3 around to test, so it may be better to use my 2.4.0 release above. Let me know which you would like.
I've officially released XML-Xerces-2.5.0 which contains this fix. It is not yet on CPAN, but you can get it at apache: http://www.apache.org/dist/xml/xerces-p/