-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turtle files should not be parsed and re-serialized on GET #60
Comments
I mentioned this in gitter/gold
@deiu confirmed that it will be changed. |
@csarven that doesn't really matter. Turtle does not guarantee you that triples will be ordered. |
@deiu I'm strictly talking about the file level. While the order is not guaranteed for RDF formats, is there a UC why gold needs to take extra step to re-serialize instead of just serving the file? |
No, it's just the way it was implemented a while ago. It will not sniff in the future versions. |
But clients can not trust that the serialisation does not change as long as this behavior is not specified... |
Turtle files should not be parsed and re-serialized (unless you have to convert format) on GET because:
Example: This file uses a namepsace for foaf: in the original:
$ curl https://timbl.databox.me/solid/issues/state.ttl
@Prefix rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# .
<>
http://xmlns.com/foaf/0.1/principalSubject <#this> .
$
The text was updated successfully, but these errors were encountered: