Skip to content

Commit 9851d50

Browse files
anatoly-scherbakovgkellogg
authored andcommitted
#656 Specify 0 and 1 as valid Boolean literals in RDF to Object conversion algorithm
1 parent f32a438 commit 9851d50

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
@@ -5503,8 +5503,11 @@ <h3>Algorithm</h3>
55035503
of <var>value</var> equals <code>xsd:boolean</code>, set
55045504
<var>converted value</var> to <code>true</code> if the
55055505
<a>lexical form</a>
5506-
of <var>value</var> matches <code>true</code>, or <code>false</code>
5507-
if it matches <code>false</code>. If it matches neither,
5506+
<ins cite="#change_5">
5507+
of <var>value</var> matches <code>"true"</code> or <code>"1"</code>, or <code>false</code>
5508+
if it matches <code>"false"</code> or <code>"0"</code>.
5509+
</ins>
5510+
If it matches neither,
55085511
set <var>type</var> to <code>xsd:boolean</code>.</li>
55095512
<li>Otherwise, if the
55105513
<a>datatype IRI</a>

0 commit comments

Comments
 (0)