Skip to content
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

ODATA-1630: Resharpened definitions of PropertyPath and NavigationPropertyPath #235

Merged
merged 4 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/odata-csdl-json/odata-csdl-json.html
Original file line number Diff line number Diff line change
Expand Up @@ -2684,9 +2684,9 @@ <h4 id="14414-model-element-path"><a name="ModelElementPath" href="#ModelElement
<h4 id="14415-navigation-property-path"><a name="NavigationPropertyPath" href="#NavigationPropertyPath">14.4.1.5 Navigation Property Path</a></h4>
<p>The navigation property path expression provides a value for terms or term properties that specify the <a href="#BuiltInTypesfordefiningVocabularyTerms">built-in types</a> <code>Edm.NavigationPropertyPath</code>, <code>Edm.AnyPropertyPath</code>, or <code>Edm.ModelElementPath</code>. Its argument is a <a href="#PathExpressions">model path</a> with the following restriction:</p>
<ul>
<li>A non-null path MUST resolve to a model element whose type is an entity type, or a collection of entity types, e.g. a navigation property.</li>
<li>A non-null path MUST end with a <a href="#NavigationProperty">navigation property</a> or a term cast to a term whose type is an entity type or a collection of entity types.</li>
</ul>
<p>The value of the navigation property path expression is the path itself, not the entitiy or collection of entities identified by the path.</p>
<p>The value of the navigation property path expression is the navigation property or term cast, not its instances.</p>
<div class="varjson rep">
<p>Navigation property path expressions are represented as a string containing a path.</p>
</div>
Expand All @@ -2703,9 +2703,9 @@ <h4 id="14415-navigation-property-path"><a name="NavigationPropertyPath" href="#
<h4 id="14416-property-path"><a name="PropertyPath" href="#PropertyPath">14.4.1.6 Property Path</a></h4>
<p>The property path expression provides a value for terms or term properties that specify one of the <a href="#BuiltInTypesfordefiningVocabularyTerms">built-in types</a> <code>Edm.PropertyPath</code>, <code>Edm.AnyPropertyPath</code>, or <code>Edm.ModelElementPath</code>. Its argument is a <a href="#PathExpressions">model path</a> with the following restriction:</p>
<ul>
<li>A non-null path MUST resolve to a model element whose type is a primitive or complex type, an enumeration type, a type definition, or a collection of one of these types.</li>
<li>A non-null path MUST end with a <a href="#StructuralProperty">structural property</a> or a term cast to a term whose type is a primitive or complex type, an enumeration type, a type definition, or a collection of one of these types.</li>
</ul>
<p>The value of the property path expression is the path itself, not the value of the structural property or the value of the term cast identified by the path.</p>
<p>The value of the property path expression is the structural property or term cast, not its instances.</p>
<div class="varjson rep">
<p>Property path expressions are represented as a string containing a path.</p>
</div>
Expand Down
16 changes: 6 additions & 10 deletions docs/odata-csdl-json/odata-csdl-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -4538,12 +4538,10 @@ types](#BuiltInTypesfordefiningVocabularyTerms)
`Edm.NavigationPropertyPath`, `Edm.AnyPropertyPath`, or `Edm.ModelElementPath`.
Its argument is a [model path](#PathExpressions) with the following
restriction:
- A non-null path MUST resolve to a model
element whose type is an entity type, or a collection of entity types,
e.g. a navigation property.
- A non-null path MUST end with a [navigation property](#NavigationProperty)
or a term cast to a term whose type is an entity type or a collection of entity types.

The value of the navigation property path expression is the path itself,
not the entitiy or collection of entities identified by the path.
The value of the navigation property path expression is the navigation property or term cast, not its instances.

::: {.varjson .rep}
Navigation property path expressions are represented as a string
Expand Down Expand Up @@ -4573,13 +4571,11 @@ types](#BuiltInTypesfordefiningVocabularyTerms)
`Edm.PropertyPath`, `Edm.AnyPropertyPath`, or `Edm.ModelElementPath`. Its
argument is a [model path](#PathExpressions) with the following
restriction:
- A non-null path MUST resolve to a model
element whose type is a primitive or complex type, an enumeration type,
- A non-null path MUST end with a [structural property](#StructuralProperty)
or a term cast to a term whose type is a primitive or complex type, an enumeration type,
a type definition, or a collection of one of these types.

The value of the property path expression is the path itself, not the
value of the structural property or the value of the term cast
identified by the path.
The value of the property path expression is the structural property or term cast, not its instances.

::: {.varjson .rep}
Property path expressions are represented as a string containing a path.
Expand Down
8 changes: 4 additions & 4 deletions docs/odata-csdl-xml/odata-csdl-xml.html
Original file line number Diff line number Diff line change
Expand Up @@ -2565,9 +2565,9 @@ <h3><a name="ExpressionedmModelElementPath.45" href="#ExpressionedmModelElementP
<h4 id="14415-navigation-property-path"><a name="NavigationPropertyPath" href="#NavigationPropertyPath">14.4.1.5 Navigation Property Path</a></h4>
<p>The navigation property path expression provides a value for terms or term properties that specify the <a href="#BuiltInTypesfordefiningVocabularyTerms">built-in types</a> <code>Edm.NavigationPropertyPath</code>, <code>Edm.AnyPropertyPath</code>, or <code>Edm.ModelElementPath</code>. Its argument is a <a href="#PathExpressions">model path</a> with the following restriction:</p>
<ul>
<li>A non-null path MUST resolve to a model element whose type is an entity type, or a collection of entity types, e.g. a navigation property.</li>
<li>A non-null path MUST end with a <a href="#NavigationProperty">navigation property</a> or a term cast to a term whose type is an entity type or a collection of entity types.</li>
</ul>
<p>The value of the navigation property path expression is the path itself, not the entitiy or collection of entities identified by the path.</p>
<p>The value of the navigation property path expression is the navigation property or term cast, not its instances.</p>
<section id="expression-edmnavigationpropertypath" class="varxml rep">
<h3><a name="ExpressionedmNavigationPropertyPath.46" href="#ExpressionedmNavigationPropertyPath.46">Expression <code>edm:NavigationPropertyPath</code></a></h3>
<p>The <code>edm:NavigationPropertyPath</code> expression MAY be provided using element notation or attribute notation.</p>
Expand All @@ -2590,9 +2590,9 @@ <h3><a name="ExpressionedmNavigationPropertyPath.46" href="#ExpressionedmNavigat
<h4 id="14416-property-path"><a name="PropertyPath" href="#PropertyPath">14.4.1.6 Property Path</a></h4>
<p>The property path expression provides a value for terms or term properties that specify one of the <a href="#BuiltInTypesfordefiningVocabularyTerms">built-in types</a> <code>Edm.PropertyPath</code>, <code>Edm.AnyPropertyPath</code>, or <code>Edm.ModelElementPath</code>. Its argument is a <a href="#PathExpressions">model path</a> with the following restriction:</p>
<ul>
<li>A non-null path MUST resolve to a model element whose type is a primitive or complex type, an enumeration type, a type definition, or a collection of one of these types.</li>
<li>A non-null path MUST end with a <a href="#StructuralProperty">structural property</a> or a term cast to a term whose type is a primitive or complex type, an enumeration type, a type definition, or a collection of one of these types.</li>
</ul>
<p>The value of the property path expression is the path itself, not the value of the structural property or the value of the term cast identified by the path.</p>
<p>The value of the property path expression is the structural property or term cast, not its instances.</p>
<section id="expression-edmpropertypath" class="varxml rep">
<h3><a name="ExpressionedmPropertyPath.47" href="#ExpressionedmPropertyPath.47">Expression <code>edm:PropertyPath</code></a></h3>
<p>The <code>edm:PropertyPath</code> MAY be provided using either element notation or attribute notation.</p>
Expand Down
16 changes: 6 additions & 10 deletions docs/odata-csdl-xml/odata-csdl-xml.md
Original file line number Diff line number Diff line change
Expand Up @@ -4456,12 +4456,10 @@ types](#BuiltInTypesfordefiningVocabularyTerms)
`Edm.NavigationPropertyPath`, `Edm.AnyPropertyPath`, or `Edm.ModelElementPath`.
Its argument is a [model path](#PathExpressions) with the following
restriction:
- A non-null path MUST resolve to a model
element whose type is an entity type, or a collection of entity types,
e.g. a navigation property.
- A non-null path MUST end with a [navigation property](#NavigationProperty)
or a term cast to a term whose type is an entity type or a collection of entity types.

The value of the navigation property path expression is the path itself,
not the entitiy or collection of entities identified by the path.
The value of the navigation property path expression is the navigation property or term cast, not its instances.



Expand Down Expand Up @@ -4498,13 +4496,11 @@ types](#BuiltInTypesfordefiningVocabularyTerms)
`Edm.PropertyPath`, `Edm.AnyPropertyPath`, or `Edm.ModelElementPath`. Its
argument is a [model path](#PathExpressions) with the following
restriction:
- A non-null path MUST resolve to a model
element whose type is a primitive or complex type, an enumeration type,
- A non-null path MUST end with a [structural property](#StructuralProperty)
or a term cast to a term whose type is a primitive or complex type, an enumeration type,
a type definition, or a collection of one of these types.

The value of the property path expression is the path itself, not the
value of the structural property or the value of the term cast
identified by the path.
The value of the property path expression is the structural property or term cast, not its instances.



Expand Down
16 changes: 6 additions & 10 deletions odata-csdl/14 Vocabulary and Annotation.md
Original file line number Diff line number Diff line change
Expand Up @@ -1699,12 +1699,10 @@ types](#BuiltInTypesfordefiningVocabularyTerms)
`Edm.NavigationPropertyPath`, `Edm.AnyPropertyPath`, or `Edm.ModelElementPath`.
Its argument is a [model path](#PathExpressions) with the following
restriction:
- A non-null path MUST resolve to a model
element whose type is an entity type, or a collection of entity types,
e.g. a navigation property.
- A non-null path MUST end with a [navigation property](#NavigationProperty)
or a term cast to a term whose type is an entity type or a collection of entity types.

The value of the navigation property path expression is the path itself,
not the entitiy or collection of entities identified by the path.
The value of the navigation property path expression is the navigation property or term cast, not its instances.
ralfhandl marked this conversation as resolved.
Show resolved Hide resolved

::: {.varjson .rep}
Navigation property path expressions are represented as a string
Expand Down Expand Up @@ -1757,13 +1755,11 @@ types](#BuiltInTypesfordefiningVocabularyTerms)
`Edm.PropertyPath`, `Edm.AnyPropertyPath`, or `Edm.ModelElementPath`. Its
argument is a [model path](#PathExpressions) with the following
restriction:
- A non-null path MUST resolve to a model
element whose type is a primitive or complex type, an enumeration type,
- A non-null path MUST end with a [structural property](#StructuralProperty)
or a term cast to a term whose type is a primitive or complex type, an enumeration type,
a type definition, or a collection of one of these types.

The value of the property path expression is the path itself, not the
value of the structural property or the value of the term cast
identified by the path.
The value of the property path expression is the structural property or term cast, not its instances.
ralfhandl marked this conversation as resolved.
Show resolved Hide resolved

::: {.varjson .rep}
Property path expressions are represented as a string containing a path.
Expand Down