Affects Version/s: V4.0_CSD01
Fix Version/s: V4.0_CSD02
Number the examples, with changes in prose as necessary.
Use paragraph style "Caption" and a new sequence number "Example". This automatically allows referencing the examples.
Resolution:https://www.oasis-open.org/committees/download.php/49353/odata-v4.0-wd02-part1-protocol-2013-05-28.docx https://www.oasis-open.org/committees/download.php/49354/odata-v4.0-wd02-part2-url-conventions-2013-05-28.docx https://www.oasis-open.org/committees/download.php/49277/odata-v4.0-wd02-part3-csdl-2013-05-28.docx https://www.oasis-open.org/committees/download.php/49351/odata-atom-format-v4.0-wd02-2013-05-28.docx https://www.oasis-open.org/committees/download.php/49352/odata-json-format-v4.0-wd02-2013-05-28.docx Accepted: https://www.oasis-open.org/committees/download.php/49557/odata-meeting-41_on-20130613_14-F2F-minutes.html#odata-383
section 1 of odata-v4.0-csprd01-part1-protocol (the first sentence) provides:
All text is normative unless otherwise labeled.
But, section 3 says:
Some sections of this specification are illustrated with non-normative example OData request and response payloads. However, the text of this specification provides the definition of conformance.
All code examples in this document are non-normative.
So when I read under 18.104.22.168
The following Prefer header requests that the annotation with the term name subject within the display namespace be returned if applied:
In the case that the client has specified the odata.include-annotations preference in the request, the service MAY include a Preference-Applied response header containing the odata.include-annotations preference to specify the annotations that MAY have been included in the response. This value MAY differ from the annotations requested in the Prefer header of the request.
Is the code block "Prefer: odata.include-annotations="display.subject"" non-normative followed by a normative interpretation of the example?
That seems risky at best if examples are truly non-normative and divorced from the normative portions of the text.
One strategy would be to label the code blocks as "Example" and simply have it follow normative text. And the normative text doesn't say anything about the example, they just appear as appropriate in the text. What a reader makes of them is on their watch.
A partial example from 22.214.171.124:
Accepting the normative text above: "For example, the following Prefer header requests" for the moment, it would then be followed by a typographically distinct region:
Ex.1 Prefer header requests all annotations within a metadata document to be returned:
Ex.2 Prefer header requests that no annotations are returned:
and so on.
I have inserted numbers to avoid the ambiguity of following/previous, which I will list as a separate issue.