From d5a8065f9e6170a09cec161690067664dfeeee74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Heiko=20Thei=C3=9Fen?= Date: Fri, 6 Sep 2024 10:44:22 +0200 Subject: [PATCH] Section names instead of numbers (much more to do) --- docs/odata-csdl-json/odata-csdl-json.html | 4 ++-- docs/odata-csdl-json/odata-csdl-json.md | 4 ++-- docs/odata-csdl-json/styles/odata.css | 3 +++ docs/odata-csdl-xml/odata-csdl-xml.html | 4 ++-- docs/odata-csdl-xml/odata-csdl-xml.md | 4 ++-- docs/odata-csdl-xml/styles/odata.css | 3 +++ docs/odata-data-aggregation-ext/styles/odata.css | 3 +++ docs/odata-json-format/styles/odata.css | 3 +++ docs/odata-protocol/styles/odata.css | 3 +++ docs/odata-temporal-ext/styles/odata.css | 3 +++ docs/odata-url-conventions/styles/odata.css | 3 +++ odata-csdl/12 Action and Function.md | 2 +- odata-csdl/14 Vocabulary and Annotation.md | 2 +- styles/odata.css | 3 +++ 14 files changed, 34 insertions(+), 10 deletions(-) diff --git a/docs/odata-csdl-json/odata-csdl-json.html b/docs/odata-csdl-json/odata-csdl-json.html index 29dd8a3d1..ba4759bf4 100644 --- a/docs/odata-csdl-json/odata-csdl-json.html +++ b/docs/odata-csdl-json/odata-csdl-json.html @@ -1960,7 +1960,7 @@

action import.

-

Unbound functions are invoked as static functions within a common expression (see OData-URL, section 5.1.1), or from the entity container through a function import.

+

Unbound functions are invoked as static functions within a common expression (see OData-URL, section “Common Expressions”), or from the entity container through a function import.

$IsBound

The value of $IsBound is one of the Boolean literals true or false. Absence of the member means false.

@@ -3536,7 +3536,7 @@

14.4.4.3 Function odata.matchesPattern

-

The odata.matchesPattern client-side function takes two string expressions as arguments and returns a Boolean value. It is the counterpart of the identically named URL function OData-URL, section 5.1.1.7.1.

+

The odata.matchesPattern client-side function takes two string expressions as arguments and returns a Boolean value. It is the counterpart of the identically named URL function OData-URL, section “matchespattern.

The function returns true if the second expression evaluates to an ECMAScript (JavaScript) regular expression and the result of the first argument expression matches that regular expression, using syntax and semantics of ECMAScript regular expressions.

Example 79: all non-empty FirstName values not containing the letters b, c, or d evaluate to true

diff --git a/docs/odata-csdl-json/odata-csdl-json.md b/docs/odata-csdl-json/odata-csdl-json.md index 6a782123f..0b94626c6 100644 --- a/docs/odata-csdl-json/odata-csdl-json.md +++ b/docs/odata-csdl-json/odata-csdl-json.md @@ -2799,7 +2799,7 @@ Unbound actions are invoked from the entity container through an [action import](#ActionImport). Unbound functions are invoked as static functions within a common expression -(see [OData-URL](#ODataURL), section 5.1.1), +(see [OData-URL, section "Common Expressions"](https://docs.oasis-open.org/odata/odata/v4.02/odata-v4.02-part2-url-conventions.html#CommonExpressions)), or from the entity container through a [function import](#FunctionImport). ::: {.varjson .rep} @@ -5140,7 +5140,7 @@ Name property of the Actor entity The `odata.matchesPattern` client-side function takes two string expressions as arguments and returns a Boolean value. -It is the counterpart of the identically named URL function [OData-URL, section 5.1.1.7.1](#ODataURL). +It is the counterpart of the identically named URL function [OData-URL, section "`matchespattern`"](https://docs.oasis-open.org/odata/odata/v4.02/odata-v4.02-part2-url-conventions.html#matchespattern). The function returns true if the second expression evaluates to an [ECMAScript](#_ECMAScript) (JavaScript) regular expression and diff --git a/docs/odata-csdl-json/styles/odata.css b/docs/odata-csdl-json/styles/odata.css index 8dafcaf83..702ecfaed 100644 --- a/docs/odata-csdl-json/styles/odata.css +++ b/docs/odata-csdl-json/styles/odata.css @@ -2,6 +2,7 @@ a:target { background-color: yellow; } +a[href^="https://docs.oasis-open.org"][href*="#"], a[href^="#_"], a[href^="#OData"]:not(a[href^="#OData4"]), a[href^="#rfc"], @@ -9,6 +10,7 @@ a[href^="#XML-"] { font-weight: bold; } +a[href^="https://docs.oasis-open.org"][href*="#"]::before, a[href^="#_"]::before, a[href^="#OData"]:not(a[href^="#OData4"])::before, a[href^="#rfc"]::before, @@ -17,6 +19,7 @@ a[href^="#XML-"]::before { font-weight: bold; } +a[href^="https://docs.oasis-open.org"][href*="#"]::after, a[href^="#_"]::after, a[href^="#OData"]:not(a[href^="#OData4"])::after, a[href^="#rfc"]::after, diff --git a/docs/odata-csdl-xml/odata-csdl-xml.html b/docs/odata-csdl-xml/odata-csdl-xml.html index 87b99fa76..c7522aa48 100644 --- a/docs/odata-csdl-xml/odata-csdl-xml.html +++ b/docs/odata-csdl-xml/odata-csdl-xml.html @@ -1847,7 +1847,7 @@

action import.

-

Unbound functions are invoked as static functions within a common expression (see OData-URL, section 5.1.1), or from the entity container through a function import.

+

Unbound functions are invoked as static functions within a common expression (see OData-URL, section “Common Expressions”), or from the entity container through a function import.

Attribute IsBound

The value of IsBound is one of the Boolean literals true or false. Absence of the attribute means false.

@@ -3320,7 +3320,7 @@

14.4.4.3 Function odata.matchesPattern

-

The odata.matchesPattern client-side function takes two string expressions as arguments and returns a Boolean value. It is the counterpart of the identically named URL function OData-URL, section 5.1.1.7.1.

+

The odata.matchesPattern client-side function takes two string expressions as arguments and returns a Boolean value. It is the counterpart of the identically named URL function OData-URL, section “matchespattern.

The function returns true if the second expression evaluates to an ECMAScript (JavaScript) regular expression and the result of the first argument expression matches that regular expression, using syntax and semantics of ECMAScript regular expressions.

Example 79: all non-empty FirstName values not containing the letters b, c, or d evaluate to true

diff --git a/docs/odata-csdl-xml/odata-csdl-xml.md b/docs/odata-csdl-xml/odata-csdl-xml.md index 71713f017..92df6c155 100644 --- a/docs/odata-csdl-xml/odata-csdl-xml.md +++ b/docs/odata-csdl-xml/odata-csdl-xml.md @@ -2678,7 +2678,7 @@ Unbound actions are invoked from the entity container through an [action import](#ActionImport). Unbound functions are invoked as static functions within a common expression -(see [OData-URL](#ODataURL), section 5.1.1), +(see [OData-URL, section "Common Expressions"](https://docs.oasis-open.org/odata/odata/v4.02/odata-v4.02-part2-url-conventions.html#CommonExpressions)), or from the entity container through a [function import](#FunctionImport). @@ -4969,7 +4969,7 @@ Name property of the Actor entity The `odata.matchesPattern` client-side function takes two string expressions as arguments and returns a Boolean value. -It is the counterpart of the identically named URL function [OData-URL, section 5.1.1.7.1](#ODataURL). +It is the counterpart of the identically named URL function [OData-URL, section "`matchespattern`"](https://docs.oasis-open.org/odata/odata/v4.02/odata-v4.02-part2-url-conventions.html#matchespattern). The function returns true if the second expression evaluates to an [ECMAScript](#_ECMAScript) (JavaScript) regular expression and diff --git a/docs/odata-csdl-xml/styles/odata.css b/docs/odata-csdl-xml/styles/odata.css index 8dafcaf83..702ecfaed 100644 --- a/docs/odata-csdl-xml/styles/odata.css +++ b/docs/odata-csdl-xml/styles/odata.css @@ -2,6 +2,7 @@ a:target { background-color: yellow; } +a[href^="https://docs.oasis-open.org"][href*="#"], a[href^="#_"], a[href^="#OData"]:not(a[href^="#OData4"]), a[href^="#rfc"], @@ -9,6 +10,7 @@ a[href^="#XML-"] { font-weight: bold; } +a[href^="https://docs.oasis-open.org"][href*="#"]::before, a[href^="#_"]::before, a[href^="#OData"]:not(a[href^="#OData4"])::before, a[href^="#rfc"]::before, @@ -17,6 +19,7 @@ a[href^="#XML-"]::before { font-weight: bold; } +a[href^="https://docs.oasis-open.org"][href*="#"]::after, a[href^="#_"]::after, a[href^="#OData"]:not(a[href^="#OData4"])::after, a[href^="#rfc"]::after, diff --git a/docs/odata-data-aggregation-ext/styles/odata.css b/docs/odata-data-aggregation-ext/styles/odata.css index 8dafcaf83..702ecfaed 100644 --- a/docs/odata-data-aggregation-ext/styles/odata.css +++ b/docs/odata-data-aggregation-ext/styles/odata.css @@ -2,6 +2,7 @@ a:target { background-color: yellow; } +a[href^="https://docs.oasis-open.org"][href*="#"], a[href^="#_"], a[href^="#OData"]:not(a[href^="#OData4"]), a[href^="#rfc"], @@ -9,6 +10,7 @@ a[href^="#XML-"] { font-weight: bold; } +a[href^="https://docs.oasis-open.org"][href*="#"]::before, a[href^="#_"]::before, a[href^="#OData"]:not(a[href^="#OData4"])::before, a[href^="#rfc"]::before, @@ -17,6 +19,7 @@ a[href^="#XML-"]::before { font-weight: bold; } +a[href^="https://docs.oasis-open.org"][href*="#"]::after, a[href^="#_"]::after, a[href^="#OData"]:not(a[href^="#OData4"])::after, a[href^="#rfc"]::after, diff --git a/docs/odata-json-format/styles/odata.css b/docs/odata-json-format/styles/odata.css index 8dafcaf83..702ecfaed 100644 --- a/docs/odata-json-format/styles/odata.css +++ b/docs/odata-json-format/styles/odata.css @@ -2,6 +2,7 @@ a:target { background-color: yellow; } +a[href^="https://docs.oasis-open.org"][href*="#"], a[href^="#_"], a[href^="#OData"]:not(a[href^="#OData4"]), a[href^="#rfc"], @@ -9,6 +10,7 @@ a[href^="#XML-"] { font-weight: bold; } +a[href^="https://docs.oasis-open.org"][href*="#"]::before, a[href^="#_"]::before, a[href^="#OData"]:not(a[href^="#OData4"])::before, a[href^="#rfc"]::before, @@ -17,6 +19,7 @@ a[href^="#XML-"]::before { font-weight: bold; } +a[href^="https://docs.oasis-open.org"][href*="#"]::after, a[href^="#_"]::after, a[href^="#OData"]:not(a[href^="#OData4"])::after, a[href^="#rfc"]::after, diff --git a/docs/odata-protocol/styles/odata.css b/docs/odata-protocol/styles/odata.css index 8dafcaf83..702ecfaed 100644 --- a/docs/odata-protocol/styles/odata.css +++ b/docs/odata-protocol/styles/odata.css @@ -2,6 +2,7 @@ a:target { background-color: yellow; } +a[href^="https://docs.oasis-open.org"][href*="#"], a[href^="#_"], a[href^="#OData"]:not(a[href^="#OData4"]), a[href^="#rfc"], @@ -9,6 +10,7 @@ a[href^="#XML-"] { font-weight: bold; } +a[href^="https://docs.oasis-open.org"][href*="#"]::before, a[href^="#_"]::before, a[href^="#OData"]:not(a[href^="#OData4"])::before, a[href^="#rfc"]::before, @@ -17,6 +19,7 @@ a[href^="#XML-"]::before { font-weight: bold; } +a[href^="https://docs.oasis-open.org"][href*="#"]::after, a[href^="#_"]::after, a[href^="#OData"]:not(a[href^="#OData4"])::after, a[href^="#rfc"]::after, diff --git a/docs/odata-temporal-ext/styles/odata.css b/docs/odata-temporal-ext/styles/odata.css index 8dafcaf83..702ecfaed 100644 --- a/docs/odata-temporal-ext/styles/odata.css +++ b/docs/odata-temporal-ext/styles/odata.css @@ -2,6 +2,7 @@ a:target { background-color: yellow; } +a[href^="https://docs.oasis-open.org"][href*="#"], a[href^="#_"], a[href^="#OData"]:not(a[href^="#OData4"]), a[href^="#rfc"], @@ -9,6 +10,7 @@ a[href^="#XML-"] { font-weight: bold; } +a[href^="https://docs.oasis-open.org"][href*="#"]::before, a[href^="#_"]::before, a[href^="#OData"]:not(a[href^="#OData4"])::before, a[href^="#rfc"]::before, @@ -17,6 +19,7 @@ a[href^="#XML-"]::before { font-weight: bold; } +a[href^="https://docs.oasis-open.org"][href*="#"]::after, a[href^="#_"]::after, a[href^="#OData"]:not(a[href^="#OData4"])::after, a[href^="#rfc"]::after, diff --git a/docs/odata-url-conventions/styles/odata.css b/docs/odata-url-conventions/styles/odata.css index 8dafcaf83..702ecfaed 100644 --- a/docs/odata-url-conventions/styles/odata.css +++ b/docs/odata-url-conventions/styles/odata.css @@ -2,6 +2,7 @@ a:target { background-color: yellow; } +a[href^="https://docs.oasis-open.org"][href*="#"], a[href^="#_"], a[href^="#OData"]:not(a[href^="#OData4"]), a[href^="#rfc"], @@ -9,6 +10,7 @@ a[href^="#XML-"] { font-weight: bold; } +a[href^="https://docs.oasis-open.org"][href*="#"]::before, a[href^="#_"]::before, a[href^="#OData"]:not(a[href^="#OData4"])::before, a[href^="#rfc"]::before, @@ -17,6 +19,7 @@ a[href^="#XML-"]::before { font-weight: bold; } +a[href^="https://docs.oasis-open.org"][href*="#"]::after, a[href^="#_"]::after, a[href^="#OData"]:not(a[href^="#OData4"])::after, a[href^="#rfc"]::after, diff --git a/odata-csdl/12 Action and Function.md b/odata-csdl/12 Action and Function.md index 9df06a5e6..8bc8bf78f 100644 --- a/odata-csdl/12 Action and Function.md +++ b/odata-csdl/12 Action and Function.md @@ -162,7 +162,7 @@ Unbound actions are invoked from the entity container through an [action import](#ActionImport). Unbound functions are invoked as static functions within a common expression -(see [OData-URL](#ODataURL), section 5.1.1), +(see [OData-URL, section "Common Expressions"]($$$OData-URL$$$#CommonExpressions)), or from the entity container through a [function import](#FunctionImport). ::: {.varjson .rep} diff --git a/odata-csdl/14 Vocabulary and Annotation.md b/odata-csdl/14 Vocabulary and Annotation.md index 0124b372f..a10516884 100644 --- a/odata-csdl/14 Vocabulary and Annotation.md +++ b/odata-csdl/14 Vocabulary and Annotation.md @@ -2561,7 +2561,7 @@ Name property of the Actor entity The `odata.matchesPattern` client-side function takes two string expressions as arguments and returns a Boolean value. -It is the counterpart of the identically named URL function [OData-URL, section 5.1.1.7.1](#ODataURL). +It is the counterpart of the identically named URL function [OData-URL, section "`matchespattern`"]($$$OData-URL$$$#matchespattern). The function returns true if the second expression evaluates to an [ECMAScript](#_ECMAScript) (JavaScript) regular expression and diff --git a/styles/odata.css b/styles/odata.css index 8dafcaf83..702ecfaed 100644 --- a/styles/odata.css +++ b/styles/odata.css @@ -2,6 +2,7 @@ a:target { background-color: yellow; } +a[href^="https://docs.oasis-open.org"][href*="#"], a[href^="#_"], a[href^="#OData"]:not(a[href^="#OData4"]), a[href^="#rfc"], @@ -9,6 +10,7 @@ a[href^="#XML-"] { font-weight: bold; } +a[href^="https://docs.oasis-open.org"][href*="#"]::before, a[href^="#_"]::before, a[href^="#OData"]:not(a[href^="#OData4"])::before, a[href^="#rfc"]::before, @@ -17,6 +19,7 @@ a[href^="#XML-"]::before { font-weight: bold; } +a[href^="https://docs.oasis-open.org"][href*="#"]::after, a[href^="#_"]::after, a[href^="#OData"]:not(a[href^="#OData4"])::after, a[href^="#rfc"]::after,