Re: Xerces-P AttributeList problem

[email protected] (Jason E. Stewart)
Newsgroups gmane.text.xml.xerces-p.devel
Message-ID <[email protected]>
Bob Arthur <[email protected]> writes:

> package XML::Xerces::AttributeList;
> sub to_hash {
>    my $self = shift;
>    my %hash;
>    for (my $i=0;$i<$self->getLength();$i++) {
>      my $tmp = $self->getName($i);
>      $hash{$self->getName($i)} = $self->getValue($i)
>    }
>    return %hash;
> }

Yuck. That means that something deeeeeeeeeep down is broken.

> I made this change to my local copy of Xerces.pm after running "make",
> but before "make install" and lo - all is well!
> 
> I hope this will help others who may be in the same spot.  Meanwhile,
> thanks to Eric and Jason for the idea :-)

You're welcome, and I'm glad that it is now working for you. I'll see
what I can do to fix it in a more permanent manner.

Cheers,
jas.
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.