OData Version 4.0 Errata 02

OASIS Approved Errata

30 October 2014

Specification URIs

This version:

http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/odata-v4.0-errata02-os.doc (Authoritative)

http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/odata-v4.0-errata02-os.html

http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/odata-v4.0-errata02-os.pdf

Previous version:

http://docs.oasis-open.org/odata/odata/v4.0/errata01/os/odata-v4.0-errata01-os.doc (Authoritative)

http://docs.oasis-open.org/odata/odata/v4.0/errata01/os/odata-v4.0-errata01-os.html

http://docs.oasis-open.org/odata/odata/v4.0/errata01/os/odata-v4.0-errata01-os.pdf

Latest version:

http://docs.oasis-open.org/odata/odata/v4.0/errata02/odata-v4.0-errata02.doc (Authoritative)

http://docs.oasis-open.org/odata/odata/v4.0/errata02/odata-v4.0-errata02.html

http://docs.oasis-open.org/odata/odata/v4.0/errata02/odata-v4.0-errata02.pdf

Technical Committee:

OASIS Open Data Protocol (OData) TC

Chairs:

Ralf Handl (ralf.handl@sap.com), SAP AG

Ram Jeyaraman (Ram.Jeyaraman@microsoft.com), Microsoft

Editors:

Michael Pizzo (mikep@microsoft.com), Microsoft

Ralf Handl (ralf.handl@sap.com), SAP AG

Martin Zurmuehl (martin.zurmuehl@sap.com), SAP AG

Hubert Heijkers (hubert.heijkers@nl.ibm.com), IBM

Additional artifacts:

This prose specification is one component of a Work Product that also includes:

·         OData Version 4.0 Part 1: Protocol Plus Errata 02. Edited by Michael Pizzo, Ralf Handl, and Martin Zurmuehl. 30 October 2014. OASIS Standard incorporating Approved Errata 02. http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part1-protocol/odata-v4.0-errata02-os-part1-protocol-complete.html.

·         OData Version 4.0 Part 2: URL Conventions Plus Errata 02. Edited by Michael Pizzo, Ralf Handl, and Martin Zurmuehl. 30 October 2014. OASIS Standard incorporating Approved Errata 02. http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part2-url-conventions/odata-v4.0-errata02-os-part2-url-conventions-complete.html.

·         OData Version 4.0 Part 3: Common Schema Definition Language (CSDL) Plus Errata 02. Edited by Michael Pizzo, Ralf Handl, and Martin Zurmuehl. 30 October 2014. OASIS Standard incorporating Approved Errata 02. http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part3-csdl/odata-v4.0-errata02-os-part3-csdl-complete.html.

·         ABNF components: OData ABNF Construction Rules Version 4.0 and OData ABNF Test Cases. http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/abnf/.

·         Vocabulary components: OData Core Vocabulary, OData Measures Vocabulary and OData Capabilities Vocabulary. http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/vocabularies/.

·         XML schemas: OData EDMX XML Schema and OData EDM XML Schema. http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/schemas/.

·         OData Metadata Service Entity Model: http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/models/.

·         Change-marked (redlined) versions of OData Version 4.0 Part 1, Part 2, and Part 3. OASIS Standard incorporating Approved Errata 02. http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/redlined/.

Related work:

This specification is related to:

·         OData Version 4.0 Part 1: Protocol. Edited by Michael Pizzo, Ralf Handl, and Martin Zurmuehl. 24 February 2014. OASIS Standard. http://docs.oasis-open.org/odata/odata/v4.0/os/part1-protocol/odata-v4.0-os-part1-protocol.html.

·         OData JSON Format Version 4.0. Edited by Ralf Handl, Michael Pizzo, and Mark Biamonte. Latest version. http://docs.oasis-open.org/odata/odata-json-format/v4.0/odata-json-format-v4.0.html.

·         OData Atom Format Version 4.0. Edited by Martin Zurmuehl, Michael Pizzo, and Ralf Handl. Latest version: http://docs.oasis-open.org/odata/odata-atom-format/v4.0/odata-atom-format-v4.0.html.

Abstract:

This document lists Errata for OData Version 4.0.

Status:

This document was last revised or approved by the OASIS Open Data Protocol (OData) TC on the above date. The level of approval is also listed above. Check the “Latest version” location noted above for possible later revisions of this document. Any other numbered Versions and other technical work produced by the Technical Committee (TC) are listed at https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=odata#technical.

TC members should send comments on this specification to the TC’s email list. Others should send comments to the TC’s public comment list, after subscribing to it by following the instructions at the “Send A Comment” button on the TC’s web page at https://www.oasis-open.org/committees/odata/.

For information on whether any patents have been disclosed that may be essential to implementing this specification, and any offers of patent licensing terms, please refer to the Intellectual Property Rights section of the Technical Committee web page (https://www.oasis-open.org/committees/odata/ipr.php).

Citation format:

When referencing this specification the following citation format should be used:

[OData-v4.0-errata02]

OData Version 4.0 Errata 02. Edited by Michael Pizzo, Ralf Handl, Martin Zurmuehl, and Hubert Heijkers. 30 October 2014. OASIS Approved Errata. http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/odata-v4.0-errata02-os.html. Latest version: http://docs.oasis-open.org/odata/odata/v4.0/errata02/odata-v4.0-errata02.html.

 

Notices

Copyright © OASIS Open 2014. All Rights Reserved.

All capitalized terms in the following text have the meanings assigned to them in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The full Policy may be found at the OASIS website.

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published, and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this section are included on all such copies and derivative works. However, this document itself may not be modified in any way, including by removing the copyright notice or references to OASIS, except as needed for the purpose of developing any document or deliverable produced by an OASIS Technical Committee (in which case the rules applicable to copyrights, as set forth in the OASIS IPR Policy, must be followed) or as required to translate it into languages other than English.

The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.

This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

OASIS requests that any OASIS Party or any other party that believes it has patent claims that would necessarily be infringed by implementations of this OASIS Committee Specification or OASIS Standard, to notify OASIS TC Administrator and provide an indication of its willingness to grant patent licenses to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification.

OASIS invites any party to contact the OASIS TC Administrator if it is aware of a claim of ownership of any patent claims that would necessarily be infringed by implementations of this specification by a patent holder that is not willing to provide a license to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification. OASIS may include such claims on its website, but disclaims any obligation to do so.

OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS' procedures with respect to rights in any document or deliverable produced by an OASIS Technical Committee can be found on the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this OASIS Committee Specification or OASIS Standard, can be obtained from the OASIS TC Administrator. OASIS makes no representation that any information or list of intellectual property rights will at any time be complete, or that any claims in such list are, in fact, Essential Claims.

The name "OASIS" is a trademark of OASIS, the owner and developer of this specification, and should be used only to refer to the organization and its official outputs. OASIS welcomes reference to, and implementation and use of, specifications, while reserving the right to enforce its marks against misleading uses. Please see https://www.oasis-open.org/policies-guidelines/trademark for above guidance.

 

Table of Contents

1        Introduction. 5

1.1 Normative References. 5

2        Part 1: Protocol 6

3        Part 2: URL Conventions. 7

4        Part 3: Common Schema Definition Language. 8

5        ABNF Construction Rules. 9

6        ABNF Test Cases. 10

Appendix A.       Acknowledgments. 11

Appendix B.       Revision History. 12

 

 


1      Introduction

This document lists the approved changes to the OData Version 4.0 specification and contains one chapter per changed part of the specification.

Additional documents containing the final specification text with these changes applied are also available and linked in section "Additional artifacts" on the title page.

1.1 Normative References

 [OData-Protocol]    OData Version 4.0 Part 1: Protocol.
See link in “Related work” section on cover page.

2      Part 1: Protocol

Section

Issue

Comment

All sections

668

Adjusted bookmarks to prevent future errors

3      Part 2: URL Conventions

Section

Issue

Comment

All sections

668

Adjusted bookmarks to prevent future errors

 

4      Part 3: Common Schema Definition Language

Section

Issue

Comment

All sections

668

Adjusted bookmarks to prevent future errors

Several sections

737

Repair broken bookmark for Boolean

1.2 Normative References

668

Link to EPSG pointed to missing page, replaced with link to top level of site:

http://www.epsg.org/Geodetic.html.

6.2.4 Attribute Scale

668

Paragraph break missing between normative text and beginning of Example 9

14.4.11 Expression edm:String

668

Typo in reference section number

15.4 Properties

736

Example 79: double quote missing in value of "Partner"

 

5      ABNF Construction Rules

Line

Issue

Comment

619

736

Annotations start with an AT (@) sign

annotationInUri = quotation-mark AT namespace "." termName quotation-mark

851

668

Replaced TODO comment with correct reference

; TODO: base64url encoding according to http://tools.ietf.org/html/rfc4648#section-5

 

6      ABNF Test Cases

Line

Issue

Comment

233

668

New function name

<Match>MostPopularCategory</Match>

733

668

New test case

  <TestCase Name="4.3 Addressing entities - function call with subsequent key segment"

            Rule="odataRelativeUri">

    <Input>ProductsByCategoryId(categoryId=2)(2)</Input>

  </TestCase>

741

668

New test case

  <TestCase Name="4.3 Addressing entities - function call with alias for expression"

            Rule="odataRelativeUri">

    <Input>ProductsByCategoryId(categoryId=@cat)?@cat=Model.MostPopularCategory(Rank=2)</Input>

  </TestCase>

1641

736

Annotations start with an AT (@) sign

<Input>$filter=$it eq @ref&amp;@ref={"@odata.id":"http://host/service/ZqV5t"}</Input>

1645

736

Annotations start with an AT (@) sign

<Input>$filter=$it eq {"@odata.id":"http://host/service/ZqV5t"}</Input>

1970

736

Annotations start with an AT (@) sign

<Input>ProductsByComplex(complex=@c)?@c={"@odata.type":"Model.Customer","Name":"Value"}</Input>

2257

668

Aliases allow expressions

<Input>$filter=Model.PhoneticallySimilar(Word=@expression)&amp;@expression=5 add 3</Input>

 

Appendix A. Acknowledgments

The contributions of the OASIS OData Technical Committee members, enumerated in  [OData-Protocol], are gratefully acknowledged.

Appendix B. Revision History

Revision

Date

Editor

Changes Made

WD01

2014-05-16

Michael Pizzo

Ralf Handl

Martin Zurmuehl

Hubert Heijkers

First version