
|
If you were logged in you would be able to see more operations.
|
|
Rio
Created: 21/Oct/05 02:04 PM
Updated: 07/Feb/06 11:56 AM
|
|
| Component/s: |
Turtle writer
|
| Affects Version/s: |
1.0.5
|
| Fix Version/s: |
1.0.6
|
|
|
Issue Links:
|
Cause
|
|
|
|
This issue is caused by:
|
|
RIO-25
Update Turtle parser & writer to late...
|
|
|
|
|
|
In our repository we have URIs where the '<' and '>' characters have been encoded (<, >). The Turtle writer, unlike the RDF/XML writer, decodes these, resulting in invalid Turtle: See example below:
In RDF/XML:
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
xmlns:my="http://www.cs.vu.nl/~mcaklein/onto/swrc-ext/2005/05#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:vs="http://www.w3.org/2003/06/sw-vocab-status/ns#"
xmlns:wot="http://xmlns.com/wot/0.1/"
xmlns:ow="http://swrc.ontoware.org/ontology#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<rdf:Description rdf:about="http://cvs.berlios.de/cgi-bin/viewcvs.cgi/cybop/doc/papers/2003_system_communication/references.bib?rev=1.3#sanderson">
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Document"/>
<rdf:type rdf:resource="http://xmlns.com/wordnet/1.6/Document"/>
<rdf:type rdf:resource="http://swrc.ontoware.org/ontology#Publication"/>
<rdf:type rdf:nodeID="node10qtt8t2cx82"/>
<rdf:type rdf:resource="http://swrc.ontoware.org/ontology#Book"/>
<rdf:type rdf:nodeID="node10qtt8t2cx93"/>
<rdf:type rdf:nodeID="node10qtt8t2cx94"/>
<rdf:type rdf:nodeID="node10qtt8t2cx95"/>
<owl:sameAs rdf:resource="http://cvs.berlios.de/cgi-bin/viewcvs.cgi/cybop/doc/papers/2003_system_communication/references.bib?rev=1.3#sanderson"/>
<ow:author rdf:resource="http://cvs.berlios.de/cgi-bin/viewcvs.cgi/cybop/doc/papers/2003_system_communication/references.bib?rev=1.3#rick_sanderson_<ricks@fourbitcom>_the_fourbit_group"/>
<my:authorList rdf:nodeID="node10qtt8t2cx1807"/>
<rdfs:label>Rick Sanderson. <ricks@fourbit.com> The Fourbit Group..</rdfs:label>
<ow:note>http://www.fourbit.com</ow:note>
<ow:key>sanderson</ow:key>
</rdf:Description>
</rdf:RDF>
In Turtle:
@prefix my: <http://www.cs.vu.nl/~mcaklein/onto/swrc-ext/2005/05#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix vs: <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix wot: <http://xmlns.com/wot/0.1/> .
@prefix ow: <http://swrc.ontoware.org/ontology#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
<http://cvs.berlios.de/cgi-bin/viewcvs.cgi/cybop/doc/papers/2003_system_communication/references.bib?rev=1.3#sanderson> a foaf:Document , <http://xmlns.com/wordnet/1.6/Document> , ow:Publication , _:node10qtt8t2cx82 , ow:Book , _:node10qtt8t2cx93 , _:node10qtt8t2cx94 , _:node10qtt8t2cx95 ;
owl:sameAs <http://cvs.berlios.de/cgi-bin/viewcvs.cgi/cybop/doc/papers/2003_system_communication/references.bib?rev=1.3#sanderson> ;
ow:author <http://cvs.berlios.de/cgi-bin/viewcvs.cgi/cybop/doc/papers/2003_system_communication/references.bib?rev=1.3#rick_sanderson_<ricks@fourbitcom>_the_fourbit_group> ;
my:authorList _:node10qtt8t2cx1807 ;
rdfs:label "Rick Sanderson. <ricks@fourbit.com> The Fourbit Group.." ;
ow:note "http://www.fourbit.com" ;
ow:key "sanderson" .
|
|
|
Change by Arjohn Kampman [14/Nov/05 12:11 PM]
|
|
Fix Version/s
|
|
1.0.6
[ 10152
]
|
|
Change by Arjohn Kampman [14/Nov/05 12:11 PM]
|
|
Status
|
Open
[ 1
]
|
In Progress
[ 3
]
|
|
Change by Arjohn Kampman [14/Nov/05 12:51 PM]
|
|
Status
|
In Progress
[ 3
]
|
Resolved
[ 5
]
|
|
Resolution
|
|
Fixed
[ 1
]
|
|
Change by Arjohn Kampman [06/Dec/05 04:45 PM]
|
|
Summary
|
Turtle writer decodes XML entities
|
Turtle writer doesn't escape '>' character in URIs
|
|
Change by Arjohn Kampman [07/Feb/06 11:56 AM]
|
|
Status
|
Resolved
[ 5
]
|
Closed
[ 6
]
|
|
|