Clarify usage of profile parameter
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Fri, 22 Feb 2013 12:43:19 +0100
changeset 1319 eedd30d05747
parent 1318 6a4d714539c3
child 1320 f73e94f86217
Clarify usage of profile parameter

See discussion in 2ef5578726762e4643d07d801226458f269c6c3f.

This addresses #214.
spec/latest/json-ld-syntax/index.html
--- a/spec/latest/json-ld-syntax/index.html	Thu Feb 21 20:59:02 2013 -0500
+++ b/spec/latest/json-ld-syntax/index.html	Fri Feb 22 12:43:19 2013 +0100
@@ -3293,15 +3293,17 @@
           dereferenceable and provide useful documentation at that IRI. For more
           information and background please refer to [[PROFILE-LINK]].</p>
         <p>This specification defines four values for the <code>profile</code> parameter.
-          To request or specify Expanded JSON-LD document form, the value
-          <code>"http://www.w3.org/ns/json-ld#expanded"</code> SHOULD be used.
-          To request or specify Expanded, Flattened JSON-LD document form, the value
-          <code>"http://www.w3.org/ns/json-ld#expanded-flattened"</code> SHOULD
-          be used. To request or specify Compacted JSON-LD document form, the value
-          <code>"http://www.w3.org/ns/json-ld#compacted"</code> SHOULD be used.
-          To request or specify Compacted, Flattened JSON-LD document form, the value
-          <code>"http://www.w3.org/ns/json-ld#compacted-flattened"</code> 
-          SHOULD be used.</p>
+          To request or specify Expanded JSON-LD document form, the IRI
+          <code>http://www.w3.org/ns/json-ld#expanded</code> SHOULD be used.
+          To request or specify Expanded, Flattened JSON-LD document form, the IRI
+          <code>http://www.w3.org/ns/json-ld#expanded-flattened</code> SHOULD
+          be used. To request or specify Compacted JSON-LD document form, the IRI
+          <code>http://www.w3.org/ns/json-ld#compacted</code> SHOULD be used.
+          To request or specify Compacted, Flattened JSON-LD document form, the IRI
+          <code>http://www.w3.org/ns/json-ld#compacted-flattened</code> SHOULD be used.
+          Please note that, according [[HTTP11]], the value of the <code>profile</code>
+          parameter has to be enclosed in quotes (<code>"</code>) because it contains
+          special characters and, in some cases, whitespace.</p>
       </dd>
     </dl>
   </dd>