-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
133 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -245,8 +245,7 @@ <h2>##subsec URL Syntax</h2> | |
<p class=Code style='margin:0in;margin-bottom:.0001pt;page-break-after:avoid; | ||
background:#D9D9D9'>http://host/service/People%28%27O%27%27Neil%27%29</p> | ||
|
||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'><span | ||
style='color:black'>http://host/service/<code>Categories</code>('Smartphone%2FTablet')</span></p> | ||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'>http://host/service/<code>Categories</code>('Smartphone%2FTablet')</p> | ||
|
||
</div> | ||
|
||
|
@@ -257,13 +256,12 @@ <h2>##subsec URL Syntax</h2> | |
background:#D9D9D9;margin-left:.3in;margin-right:.3in'> | ||
|
||
<p class=Code style='margin:0in;margin-bottom:.0001pt;page-break-after:avoid; | ||
background:#D9D9D9'><span style='color:black'>http://host/service<code>/People('O'Neil') </code></span></p> | ||
background:#D9D9D9'>http://host/service<code>/People('O'Neil') </code></p> | ||
|
||
<p class=Code style='margin:0in;margin-bottom:.0001pt;page-break-after:avoid; | ||
background:#D9D9D9'><span style='color:black'>http://host/service<code>/People('O%27Neil') </code></span></p> | ||
background:#D9D9D9'>http://host/service<code>/People('O%27Neil') </code></p> | ||
|
||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'><span | ||
style='color:black'>http://host/service<code>/Categories('Smartphone/Tablet') </code></span></p> | ||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'>http://host/service<code>/Categories('Smartphone/Tablet') </code></p> | ||
|
||
</div> | ||
|
||
|
@@ -785,8 +783,7 @@ <h3>##subsubsec Key-as-Segment Convention</h3> | |
<p class=Code style='margin:0in;margin-bottom:.0001pt;page-break-after:avoid; | ||
background:#D9D9D9'>http://host/service/People/O%27Neil </p> | ||
|
||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'><span | ||
style='color:black'>http://host/service/<code>Categories</code>/Smartphone%2FTablet</span></p> | ||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'>http://host/service/<code>Categories</code>/Smartphone%2FTablet</p> | ||
|
||
</div> | ||
|
||
|
@@ -2050,8 +2047,7 @@ <h5>##subsubsubsubsec <a | |
|
||
<p class=MsoNormal>The <code>mul</code> operator multiplies the | ||
left and right numeric operands. The | ||
<code>mul</code><span style='color:#333333;background: | ||
white'> operator is also valid for multiplying a </span><code>Duration</code> value with a numeric value.</p> | ||
<code>mul</code> operator is also valid for multiplying a <code>Duration</code> value with a numeric value.</p> | ||
|
||
<p class=MsoNormal>For operands of | ||
type <code>Edm.Decimal</code> the scale of the result is scaleof(A mul B) = scaleof(A) + scaleof(B), | ||
|
@@ -2073,11 +2069,10 @@ <h5>##subsubsubsubsec <a href="#sec_Division">Division</a> </h5> | |
|
||
<p class=MsoNormal><a | ||
name="_Toc371341769">For operands of | ||
type </a><code>Edm.Decimal</code> <span style='color: | ||
#333333;background:white'>the result is computed with maximal decimal scale. If | ||
type </a><code>Edm.Decimal</code> the result is computed with maximal decimal scale. If | ||
any operand has floating scale, the result has floating scale, else if any | ||
operand has variable scale, the result has variable scale. Otherwise the | ||
resulting scale is service-specific, and clients can use </span><code>cast</code> to | ||
resulting scale is service-specific, and clients can use <code>cast</code> to | ||
force the result to a specific scale. </p> | ||
|
||
<p class=MsoNormal>The <code>div</code> and<code> | ||
|
@@ -2758,8 +2753,7 @@ <h5>##subsubsubsubsec <code>day</code></h5> | |
|
||
<p class=MsoNormal>Services that are unable to preserve the offset of <code>Edm.DateTimeOffset</code> values and instead normalize the values | ||
to some common time zone (i.e. UTC) MUST | ||
fail evaluation of the <code>day</code> function for literal <code>Edm.DateTimeOffset</code> <span style='color:black;background: | ||
white'>values that are not stated in the time zone of the normalized values.</span></p> | ||
fail evaluation of the <code>day</code> function for literal <code>Edm.DateTimeOffset</code> values that are not stated in the time zone of the normalized values.</p> | ||
|
||
<p class=MsoCaption>Example 85: all employees born on the 8th day of a month</p> | ||
|
||
|
@@ -2820,8 +2814,7 @@ <h5>##subsubsubsubsec <code>hour</code></h5> | |
|
||
<p class=MsoNormal>Services that are unable to preserve the offset of <code>Edm.DateTimeOffset</code> values and instead normalize the values | ||
to some common time zone (i.e. UTC) MUST | ||
fail evaluation of the <code>hour</code> function for literal <code>Edm.DateTimeOffset</code> <span style='color:black;background: | ||
white'>values that are not stated in the time zone of the normalized values.</span></p> | ||
fail evaluation of the <code>hour</code> function for literal <code>Edm.DateTimeOffset</code> values that are not stated in the time zone of the normalized values.</p> | ||
|
||
<p class=MsoCaption>Example 87: all employees born in hour 4, between 04:00 | ||
(inclusive) and 05:00 (exclusive) </p> | ||
|
@@ -2902,8 +2895,7 @@ <h5>##subsubsubsubsec <code>month</code></h5> | |
|
||
<p class=MsoNormal>Services that are unable to preserve the offset of <code>Edm.DateTimeOffset</code> values and instead normalize the values | ||
to some common time zone (i.e. UTC) MUST | ||
fail evaluation of the <code>month</code> function for literal <code>Edm.DateTimeOffset</code> <span style='color:black;background: | ||
white'>values that are not stated in the time zone of the normalized values.</span></p> | ||
fail evaluation of the <code>month</code> function for literal <code>Edm.DateTimeOffset</code> values that are not stated in the time zone of the normalized values.</p> | ||
|
||
<p class=MsoCaption>Example 89: all employees born in May</p> | ||
|
||
|
@@ -2975,8 +2967,7 @@ <h5>##subsubsubsubsec <code>time</code></h5> | |
|
||
<p class=MsoNormal>Services that are unable to preserve the offset of <code>Edm.DateTimeOffset</code> values and instead normalize the values | ||
to some common time zone (i.e. UTC) MUST | ||
fail evaluation of the <code>time</code> function for literal <code>Edm.DateTimeOffset</code> <span style='color:black;background: | ||
white'>values that are not stated in the time zone of the normalized values.</span></p> | ||
fail evaluation of the <code>time</code> function for literal <code>Edm.DateTimeOffset</code> values that are not stated in the time zone of the normalized values.</p> | ||
|
||
<h5>##subsubsubsubsec <code>totaloffsetminutes</code></h5> | ||
|
||
|
@@ -3012,15 +3003,13 @@ <h5>##subsubsubsubsec <code>year</code></h5> | |
<p class=MsoNormal>The <code>year</code> function returns the | ||
year component of the <code>Date</code> or <code>DateTimeOffset</code> | ||
parameter value, evaluated in the | ||
time zone of the<span style='font-size:9.0pt;color:black;background: | ||
white'> </span><code>DateTimeOffset</code> parameter value. The <code>yearMethodCallExpr</code> | ||
time zone of the <code>DateTimeOffset</code> parameter value. The <code>yearMethodCallExpr</code> | ||
syntax rule defines how the <code>year</code> function is | ||
invoked.</p> | ||
|
||
<p class=MsoNormal>Services that are unable to preserve the offset of <code>Edm.DateTimeOffset</code> values and instead normalize the values | ||
to some common time zone (i.e. UTC) MUST | ||
fail evaluation of the <code>year</code> function for literal <code>Edm.DateTimeOffset</code> <span style='color:black;background: | ||
white'>values that are not stated in the time zone of the normalized values.</span></p> | ||
fail evaluation of the <code>year</code> function for literal <code>Edm.DateTimeOffset</code> values that are not stated in the time zone of the normalized values.</p> | ||
|
||
<p class=MsoCaption>Example 91: all employees born in 1971</p> | ||
|
||
|
@@ -3452,50 +3441,35 @@ <h5>##subsubsubsubsec Primitive Literals</h5> | |
|
||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'>DoubleValue ge 0.31415926535897931e1</p> | ||
|
||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'><span | ||
class=string>SingleValue</span><span | ||
style='color:black'> eq <span class=string>INF</span></span></p> | ||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'>SingleValue eq INF</p> | ||
|
||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'><span | ||
class=string>DecimalValue eq 34.95</span></p> | ||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'>DecimalValue eq 34.95</p> | ||
|
||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'><span | ||
style='color:black'>StringValue eq '<span class=string>Say Hello,then go'</span></span></p> | ||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'>StringValue eq 'Say Hello,then go'</p> | ||
|
||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'><span | ||
class=string>DateValue eq 2012-12-03</span></p> | ||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'>DateValue eq 2012-12-03</p> | ||
|
||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'><span | ||
class=string>DateTimeOffsetValue eq | ||
2012-12-03T07:16:23Z</span></p> | ||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'>DateTimeOffsetValue eq | ||
2012-12-03T07:16:23Z</p> | ||
|
||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'><span | ||
class=string>DurationValue eq | ||
duration'P12DT23H59M59.999999999999S'</span></p> | ||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'>DurationValue eq | ||
duration'P12DT23H59M59.999999999999S'</p> | ||
|
||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'><span | ||
class=string>DurationValue eq | ||
'P12DT23H59M59.999999999999S'</span></p> | ||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'>DurationValue eq | ||
'P12DT23H59M59.999999999999S'</p> | ||
|
||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'><span | ||
class=string>TimeOfDayValue eq 07:59:59.999</span></p> | ||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'>TimeOfDayValue eq 07:59:59.999</p> | ||
|
||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'><span | ||
class=string>GuidValue eq 01234567-89ab-cdef-0123-456789abcdef</span></p> | ||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'>GuidValue eq 01234567-89ab-cdef-0123-456789abcdef</p> | ||
|
||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'><span | ||
class=string>Int64Value eq</span><span | ||
style='color:black'> <span class=string>0</span></span></p> | ||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'>Int64Value eq 0</p> | ||
|
||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'><span | ||
style='color:black'>ColorEnumValue eq <code>Sales.Pattern'Yellow'</code>,</span></p> | ||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'>ColorEnumValue eq <code>Sales.Pattern'Yellow'</code>,</p> | ||
|
||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'><span | ||
style='color:black'>ColorEnumValue eq <code>'Yellow'</code>,</span></p> | ||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'>ColorEnumValue eq <code>'Yellow'</code>,</p> | ||
|
||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'><span | ||
class=string>geo.distance(Location,geography'SRID=0;Point(142.1 | ||
64.1)')</span></p> | ||
<p class=Code style='margin:0in;margin-bottom:.0001pt;background:#D9D9D9'>geo.distance(Location,geography'SRID=0;Point(142.1 | ||
64.1)')</p> | ||
|
||
</div> | ||
|
||
|
@@ -3771,8 +3745,8 @@ <h4>##subsubsubsec Annotation Values in Expressions</h4> | |
background:#D9D9D9;margin-left:.3in;margin-right:.3in'> | ||
|
||
<p class=Code style='margin:0in;margin-bottom:.0001pt;page-break-after:avoid; | ||
background:#D9D9D9'><span style='color:black'>http://host/service/[email protected]/any(m:m/severity | ||
eq <code>'</code>error<code>'</code>)</span></p> | ||
background:#D9D9D9'>http://host/service/[email protected]/any(m:m/severity | ||
eq <code>'</code>error<code>'</code>)</p> | ||
|
||
</div> | ||
|
||
|
Oops, something went wrong.