Re: XML::XPath 1.42 error
Morty <[email protected]> Tue, 13 Feb 2018 21:43:45 +0000
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Message-ID | <20180213214345.GA3377@red-sonja> |
That was it! Works great. Thanks. - Morty On Tue, Feb 13, 2018 at 02:28:45PM -0700, Adam Pfeiffer wrote: > I see that you are missing a closing bracket. You have [@class..., but > not closing bracket. That may just be a typo, but fix that first and see > what happens. > > Thanks > > Adam Pfeiffer > Brocade SQA Automation Lead > 720-270-4396 <(720)%20270-4396> | [email protected] > > On Tue, Feb 13, 2018 at 2:13 PM, Morty <[email protected]> wrote: > > > I have a user who is getting an error with xpath. I can reproduce > > this under xpath 1.42: > > > > $ eval $(perl -Mlocal::lib=/usr/local/xpath/1.42/local_lib) > > $ perl -MXML::XPath -le 'print $XML::XPath::VERSION' > > 1.42 > > $ xpath -e '//tax-check[@class="Clade based check"/results/@status' $file > > Can't locate object method "size" via package "XML::XPath::Literal" at > > /usr/local/xpath/1.42/local_lib/lib/perl5/XML/XPath/Step.pm line 148. > > $ > > > > Any advice? > > > > Thanks! > > > > - Morty > > _______________________________________________ > > Perl-XML mailing list > > [email protected] > > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > > _______________________________________________ Perl-XML mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs