--- a/spec/latest/json-ld-api/index.html Wed Jul 10 17:09:37 2013 +0200
+++ b/spec/latest/json-ld-api/index.html Wed Jul 10 17:53:41 2013 +0200
@@ -3288,8 +3288,8 @@
If <i>datatype</i> is <tref>null</tref>, set it to
<code>xsd:boolean</code>.</li>
<li>Otherwise, if <i>value</i> is a <tref>number</tref> with a non-zero fractional
- part or <i>value</i> is a <tref>number</tref> and <i>datatype</i> equals
- <code>xsd:double</code>, convert <i>value</i> to a
+ part (the result of a modulo‑1 operation) or <i>value</i> is a <tref>number</tref>
+ and <i>datatype</i> equals <code>xsd:double</code>, convert <i>value</i> to a
<tref>string</tref> in <tref>canonical lexical form</tref> of
an <code>xsd:double</code> as defined in [[!XMLSCHEMA11-2]]
and described in
@@ -3297,7 +3297,8 @@
If <i>datatype</i> is <tref>null</tref>, set it to
<code>xsd:double</code>.</li>
<li>Otherwise, if <i>value</i> is a <tref>number</tref> with no non-zero
- fractional part or <i>value</i> is a <tref>number</tref> and <i>datatype</i>
+ fractional part (the result of a modulo‑1 operation) or <i>value</i>
+ is a <tref>number</tref> and <i>datatype</i>
equals <code>xsd:integer</code>, convert <i>value</i> to a
<tref>string</tref> in <tref>canonical lexical form</tref> of
an <code>xsd:integer</code> as defined in [[!XMLSCHEMA11-2]]
@@ -3651,12 +3652,12 @@
JSON-native <tref title="number">numbers</tref> are automatically
type-coerced to <code>xsd:integer</code> or <code>xsd:double</code>
depending on whether the <tref>number</tref> has a non-zero fractional part
- or not, the boolean values <tref>true</tref> and <tref>false</tref> are
- coerced to <code>xsd:boolean</code>, and <tref title="string">strings</tref>
- are coerced to <code>xsd:string</code>. The numeric or boolean values
- themselves are converted to <tdef>canonical lexical form</tdef>, i.e., a
- deterministic string representation as defined in
- [[!XMLSCHEMA11-2]].</p>
+ or not (the result of a modulo‑1 operation), the boolean values
+ <tref>true</tref> and <tref>false</tref> are coerced to <code>xsd:boolean</code>,
+ and <tref title="string">strings</tref> are coerced to <code>xsd:string</code>.
+ The numeric or boolean values themselves are converted to
+ <tdef>canonical lexical form</tdef>, i.e., a deterministic string
+ representation as defined in [[!XMLSCHEMA11-2]].</p>
<p>The <tref>canonical lexical form</tref> of an <em>integer</em>, i.e., a
<tref>number</tref> with no non-zero fractional part or a <tref>number</tref>
--- a/spec/latest/json-ld/index.html Wed Jul 10 17:09:37 2013 +0200
+++ b/spec/latest/json-ld/index.html Wed Jul 10 17:53:41 2013 +0200
@@ -2759,8 +2759,8 @@
<code>_:</code>.</li>
<li>A <tdef>JSON-LD value</tdef> is a <tref>typed value</tref>, a <tref>string</tref> (which is interpreted
as <tref>typed value</tref> with type <code>xsd:string</code>), a <tref>number</tref>
- (<tref title="number">numbers</tref> with a non-zero fractional part are interpreted as
- <tref title="typed value">typed values</tref> with type <code>xsd:double</code>, all other
+ (<tref title="number">numbers</tref> with a non-zero fractional part (the result of a modulo‑1 operation)
+ are interpreted as <tref title="typed value">typed values</tref> with type <code>xsd:double</code>, all other
<tref title="number">numbers</tref> are interpreted as <tref title="typed value">typed values</tref>
with type <code>xsd:integer</code>), <tref>true</tref> or <tref>false</tref> (which are interpreted as
<tref title="typed value">typed values</tref> with type <code>xsd:boolean</code>),