Commits

Toby Inkster committed f55acee

fix for media types

Comments (0)

Files changed (2)

lib/RDF/TrineX/Functions.pm

 
 BEGIN {
 	$RDF::TrineX::Functions::AUTHORITY = 'cpan:TOBYINK';
-	$RDF::TrineX::Functions::VERSION   = '0.001';
+	$RDF::TrineX::Functions::VERSION   = '0.002';
 }
 
 use Carp qw< croak >;
 	}
 	elsif (not blessed $parser and $parser =~ m{/} and $parser !~ m{^RDF/}i)
 	{
-		$parser = RDF::Trine::Parser->parser_by_media_type($parser);
+		$parser = RDF::Trine::Parser->parser_by_media_type($parser)->new;
 	}
 	elsif (not blessed $parser)
 	{
 	:file-release   <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/RDF-TrineX-Functions-0.001.tar.gz> ;
 	rdfs:label      "Initial release" .
 
+dist:project :release dist:v_0-002 .
+dist:v_0-002
+	a               :Version ;
+	dc:issued       "2012-05-30"^^xsd:date ;
+	:revision       "0.002"^^xsd:string ;
+	:file-release   <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/RDF-TrineX-Functions-0.002.tar.gz> ;
+	dcs:changeset [
+		dcs:versus dist:v_0-001 ;
+		dcs:item   [ a dcs:Bugfix ; rdfs:label "Media types passed to 'parse' function were not being handled correctly."@en ] ;
+	] .