-
Notifications
You must be signed in to change notification settings - Fork 4
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
Various errata from 1.1 #2
Comments
In an email relevant to erratum 32, @kasei writes:
The I suggest we not consider this, unless there is a demonstrated need, as it was considered and resolved in 1.1. |
We should consider this. The original motivation for a canonical form was simple processing by text tools - e.g. regex of an NT line. The RDF 1.1 NT text includes "Implementers are encouraged to produce this form." so the format was not mandatory. We have some room for improvements. A change to consider is
All UCHAR would be better but we are where we are. This is an outline to show something is possible - the text needs refining. Process-wise: I suggest creating an issue for this, label security, and close the errata. (We need a better way to track cross document concerns.) |
@gkellogg – Do you have any pointers to the previous discussions? From the outside of the WG, the handling of the canonical form seemed a bit rushed, and I wasn't left with the feeling that it got a lot of consideration. Would like to look into the reasoning used during 1.1 to end up with the decisions that were made. |
The discussion in the RDF WG was before my time. Looking through the RDF WG mail archives doesn't provide much, either. @ericprud was likely involved in the C14N discussions. But, @afs's points about security certainly make a case for revisiting this. @dlongley may have a view on the implications for https://github.com/w3c/rdf-canon, but I suspect that there won't be any tests that overlap with the problem areas. See #2 (comment) for a suggested change to using ECHAR and UCHAR for canonical N-Quads/Triples. |
Chatted with @ericprud on Skype. The main motivation for canonicalization in N-Triples was for testing. Best is to create an issue specific to escaping in literals, and note as an issue in the C14N section and in a new Security Considerations section. |
From RDF 1.1 Errata:
The text was updated successfully, but these errors were encountered: