Skip Menu |

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

Report information
The Basics
Id: 42337
Status: resolved
Worked: 10 min
Priority: 0/
Queue: RDF-Simple-Serialiser-Notation3

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

Bug Information
Severity: Critical
Broken in: 1.015
Fixed in: (no value)



Subject: serialise() created XML, not N3!?!
I have RDF::Simple 1.003 installed (from distro RDF-Simple-0.404) but the N3 module returns XML rather than N3: perl t/foaf-n3.t ok 1 - use RDF::Simple::Serialiser::N3; ok 2 - The object isa RDF::Simple::Serialiser::N3 <rdf:RDF xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" Show quoted text
>
<foaf:Person rdf:nodeID="a456"> <foaf:address>123 Main St</foaf:address> <foaf:name>Robin Berjon</foaf:name> <foaf:age>26</foaf:age> </foaf:Person> <foaf:Person rdf:nodeID="a123"> <foaf:name>Jo Walsh</foaf:name> <foaf:knows rdf:nodeID="a456"/> </foaf:Person> </rdf:RDF> not ok 3 # Failed test at t/foaf-n3.t line 40. # Structures begin differing at: # $got->[0] = '</foaf:Person>' # $expected->[0] = '' not ok 4 # Failed test at t/foaf-n3.t line 42. # got: undef # expected: '7' 1..4 # Looks like you failed 2 tests of 4.
Distro was out of sync with released RDF-Simple-0.404 distro. Fixed in 1.016