Hi All (and Jason - long-time; no-see),

I am working with someone else's code, trying to see if I can get it to run on a more recent Xerces installation.
The code works fine using Xerces 1.7, but doesn't with a more updated installation (MacOSX, Xerces-c is 2.3.0 and XML-Xerces is 2.3.0-4.).

Here is the error:
No matching function for overloaded 'Attributes_getValue' at uploadArrayDesign.pl line 585.
main::CreateAffyTabFile called at uploadArrayDesign.pl line 88


the getValue call in question is below ($attrs is a XML::Xerces::Attributes).

What is suggested? (downgrade or otherwise)
Thanks for the advice,

John

#
#Build up XML for this element. Also, if this is a BioSequence element,
#pull out the source DNA sequence for this Probe Set.
#
if ($xml_parse || !$start){
my $attribute_count = $attrs->getLength;

my ($ix,$attribute,$value);
for($ix = 0 ; $ix < $attribute_count ; ++$ix){
$attribute=$attrs->getLocalName($ix);
$value=$attrs->getValue($attribute);
$value =~ s/\&/&amp;/go;
$value =~ s/</&lt;/go;
$value =~ s/>/&lt;/go;
$attr_str.=' '.$attribute.'="'.$value.'"';

Reply via email to