logo       

Re: XML parsing in P6: msg#00017

lang.perl.perl6.compiler

Subject: Re: XML parsing in P6

On 3/13/06, Luke Palmer <lrpalmer@xxxxxxxxx> wrote:
> Well, as Yuval points out, I've been dead for a while, so this bug may
> have already been fixed, but if not:
>
> my $parser = XML::Parser::Lite::Tree::instance();
> my $tree = $parser.parse($xml_data);
>
> Should do the trick. This bug is perhaps one of the most annoying in
> Pugs, and I have tried to fix it on several occasions with no success.

Well, something's still wrong:

*** No such sub: "&XML::Parser::Lite::Tree::instance"
at test.p6 line 29, column 30-65
ftest.p6 line 39, column 5-17

Ideas?

Premshree



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise