File tree 1 file changed +15
-5
lines changed
1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -5477,13 +5477,23 @@ <h3>Algorithm</h3>
5477
5477
< code > xsd:double</ code > and its
5478
5478
< a > lexical form</ a >
5479
5479
is a valid < code > xsd:integer</ code > or < code > xsd:double</ code >
5480
- according [[XMLSCHEMA11-2]], set < var > converted value</ var >
5481
- to the result of converting the
5482
- < a > lexical form</ a >
5483
- to a JSON < a > number</ a > .</ li >
5480
+ according to [[XMLSCHEMA11-2]],
5481
+ < ol >
5482
+ < li > attempt to convert the < a > lexical form</ a > to a < a > JSON number</ a >
5483
+ according to
5484
+ [[RFC8785]] < a data-cite ="RFC8785#name-serialization-of-numbers ">
5485
+ JSON Serialization Scheme (JCS) 3.2.2.3 Serialization of Numbers
5486
+ </ a > procedure;
5487
+ </ li >
5488
+ < li >
5489
+ If the conversion is successful, set < var > converted value</ var >
5490
+ to its result.
5491
+ </ li >
5492
+ </ ol >
5493
+ </ li >
5484
5494
</ ol >
5485
5495
</ li >
5486
- < li class ="changed "> Otherwise, if < a > processing mode</ a > is not `json-ld-1.0`,
5496
+ < li class ="changed "> If < a > processing mode</ a > is not `json-ld-1.0`,
5487
5497
and < var > value</ var > is a < a > JSON literal</ a > ,
5488
5498
set < var > converted value</ var > to the result of
5489
5499
turning the lexical value of < var > value</ var >
You can’t perform that action at this time.
0 commit comments