Skip to content

Commit d4e9b9e

Browse files
#656 Specify 0 and 1 as valid Boolean literals in RDF to Object conversion algorithm
1 parent c6657bf commit d4e9b9e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

index.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5474,8 +5474,11 @@ <h3>Algorithm</h3>
54745474
of <var>value</var> equals <code>xsd:boolean</code>, set
54755475
<var>converted value</var> to <code>true</code> if the
54765476
<a>lexical form</a>
5477-
of <var>value</var> matches <code>true</code>, or <code>false</code>
5478-
if it matches <code>false</code>. If it matches neither,
5477+
<ins cite="#change_5">
5478+
of <var>value</var> matches <code>"true"</code> or <code>"1"</code>, or <code>false</code>
5479+
if it matches <code>"false"</code> or <code>"0"</code>.
5480+
</ins>
5481+
If it matches neither,
54795482
set <var>type</var> to <code>xsd:boolean</code>.</li>
54805483
<li>Otherwise, if the
54815484
<a>datatype IRI</a>

0 commit comments

Comments
 (0)