Closed IanEmmons closed 5 years ago
I created the following test data turtle file, which is a slightly enhanced version of the data above:
@prefix bbn: <http://bbn.com/literal/formatting/test#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
bbn:entity01 a bbn:ThingyMcBobber ;
bbn:hasValue
"foo" ,
"bar"^^xsd:string ,
"baz"@en ,
42 ,
3.1415927 ,
"2.71828"^^xsd:double .
I imported this into Parliament version 2.7.10 (which is the version in use in the environment where this bug was observed) and then exported it in N-Triples format twice. The first export used Parliament's Web interface (and therefore used Jena's RDF serialization code), and the second used the ParliamentAdmin command-line tool (and therefore the C++ serialization code built into Parliament). The first export was correct, and the second one showed the malformed literals.
I then performed the exact same import and two exports in the most current version of Parliament on the master branch. The two exports were identical and correct. Therefore I am closing this ticket as "no longer a bug".
I do not see this happening. I used the following script to insert data into my default graph:
When I ran the export function, the dump contained the following statements:
How can I duplicate this issue to fix it?