Skip Menu |

This queue is for tickets about the RDF-Simple CPAN distribution.

Report information
The Basics
Id: 79194
Status: resolved
Priority: 0/
Queue: RDF-Simple

People
Owner: MTHURN [...] cpan.org
Requestors: NHORNE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.415
Fixed in: (no value)



Subject: Simple test program fails
As a simple test I tried a program which is basically your sample, and even that fails. Source: #!/usr/bin/perl -wT use strict; use warnings; use diagnostics; use LWP::Simple; use RDF::Simple::Parser; my $uri = 'http://www.bandsman.co.uk/brass-ba.rdf'; my $rdf = LWP::Simple::get($uri); my $parser = RDF::Simple::Parser->new(base => $uri); my @triples = $parser->parse_rdf($rdf); Output: Uncaught exception from user code: No _parse_* routine defined on this driver (If it is a filter, remember to set the Parent property. If you call the parse() method, make sure to set a Source. You may want to call parse_uri, parse_string or parse_file instead.) [XML::SAX::Expat=HASH(0x1dc4fb0)] at /usr/local/share/perl/5.14.2/XML/SAX/Base.pm line 2623. at /usr/local/share/perl/5.14.2/XML/SAX/Base.pm line 2623. XML::SAX::Base::parse('XML::SAX::Expat=HASH(0x1dc4fb0)', 'HASH(0x23041e0)') called at /usr/local/share/perl/5.14.2/XML/SAX/Base.pm line 2662 XML::SAX::Base::parse_string('XML::SAX::Expat=HASH(0x1dc4fb0)', undef) called at /usr/local/share/perl/5.14.2/RDF/Simple/Parser.pm line 82 RDF::Simple::Parser::parse_rdf('RDF::Simple::Parser=HASH(0x1dc5160)', undef) called at ./bb.rdf line 12
The URL you are trying to access gives a 404 error. LWP::simple is unable to download the RDF. This is not an error in the RDF::Simple module. -- - - Martin 'Kingpin' Thurn