- From: Jeremy Carroll <jjc@hpl.hp.com>
- Date: Wed, 5 Nov 2003 12:38:25 +0100
- To: w3c-rdfcore-wg@w3.org, pfps@research.bell-labs.com
Would the following editorial changes sufficiently address Peter's comment http://lists.w3.org/Archives/Public/www-rdf-comments/2003OctDec/0094 on http://www.w3.org/TR/2003/WD-rdf-syntax-grammar-20031010/ 6.1.6 OLD [[ The value is the concatenation of "<", the value of the *identifier* accessor and ">" The <>-quoted *identifier* accessor value must use the N-Triples escapes for URI references as described in 3.3 URI References. ]] suggest [[ The value is the concatenation of "<", the escaped value of the *identifier* accessor and ">" The escaping of the *identifier* value uses the N-Triples escapes for URI references as described in 3.3 URI References. ]] 6.1.8 Plain Literal Event OLD [[ The value is calculated from the other accessors as follows. If *literal-language* is the empty string then the value is the concatenation of """ (1 double quote), the value of the 2 *literal-value* accessor and """ (1 double quote). Otherwise the value is the concatenation of """ (1 double quote), the value of the *literal-value* accessor ""@" (1 double quote and a '@'), and the value of the *literal-language* accessor. The double-quoted *literal-value* accessor value must use the N-Triples escapes for strings as described in 3.2 Strings for escaping certain characters such as ". ]] suggest [[ The value is calculated from the other accessors as follows. If *literal-language* is the empty string then the value is the concatenation of """ (1 double quote), the escaped value of the *literal-value* accessor and """ (1 double quote). Otherwise the value is the concatenation of """ (1 double quote), the escaped value of the *literal-value* accessor ""@" (1 double quote and a '@'), and the value of the *literal-language* accessor. The escaping of the *literal-value* uses the N-Triples escapes for strings as described in 3.2 Strings for escaping certain characters such as ". ]] (Note typo spurious 2 in 2nd para above) 6.1.9 Typed Literal Event suggest [[ The value is the concatenation of the following in this order """ (1 double quote), the escaped value of the *literal-value* accessor, """ (1 double quote), "^^<", the esca[ed value of the *literal-datatype* accessor and ">". The escaping of the *literal-value* uses the N-Triples escapes for strings as described in 3.2 Strings for escaping certain characters such as ". The escaping of the *literal-datatype* uses the N-Triples escapes for URI references as described in 3.3 URI References. ]] I think the rest of the text then uses these accessors and so invokes the escaping. I believe this was the intent all along. Jeremy
Received on Wednesday, 5 November 2003 06:38:49 UTC