Skip to content

Commit

Permalink
Add requirements for the L2V mapping of xsd:float and xsd:double.
Browse files Browse the repository at this point in the history
Fixes #85.
  • Loading branch information
gkellogg committed Nov 21, 2024
1 parent 8fcd2b7 commit 1f0b49f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1242,6 +1242,12 @@ <h3>The XML Schema Built-in Datatypes</h3>
<tr><td><a data-cite="xmlschema11-2#NCName"><code>xsd:NCName</code></a></td><td>XML NCNames</td></tr>
</table>

<p>The <a>lexical-to-value mapping</a> for <a data-cite="xmlschema11-2#float"><code>xsd:float</code></a>
and <a data-cite="xmlschema11-2#double"><code>xsd:double</code></a>
MUST use a method consistent with <a data-cite="XMLSCHEMA11-2#f-doubleLexmap">doubleLexicalMap</a>,
which MUST strictly conform to the rounding method described in
<a data-cite="XMLSCHEMA11-2#f-floatPtRound">floatPtRound</a> [[XMLSCHEMA11-2]].</p>

<p>The other built-in XML Schema datatypes are unsuitable
for various reasons and SHOULD NOT be used:</p>

Expand Down

0 comments on commit 1f0b49f

Please sign in to comment.