Subject: | RDF-Simple Bug |
Date: | Tue, 6 Mar 2007 13:25:28 +0100 |
To: | bug-rdf-simple [...] rt.cpan.org |
From: | "Ana Saiz García" <anasaiz [...] gmail.com> |
Hello
I have found a little bug in RDF-Simple, in module
RDF::Simple::Parser, version 0.3.
While trying to convert some RDF/XML information into triples, if this
information is a List, all the triples we get for the list have the
same object, instead of the different objects they should have.
I have found that little bug in code and corrected it.
In RDF/Simple/Parser.pm, line 379:
$self->triple($s[$_],$self->uri($rdf.'first'),$e->children->[1]->subject);
It should be:
$self->triple($s[$_],$self->uri($rdf.'first'),$e->children->[$_]->subject);
Thank you and sorry for any inconvenience.
Ana
--
"El más baldío de todos los días
es aquél en que no hemos reído"
(de Chamfort)