diff options
author | David Robillard <d@drobilla.net> | 2011-03-07 03:39:02 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-07 03:39:02 +0000 |
commit | dc07e86bc7416e494401d242db91a85ca0a84526 (patch) | |
tree | f189b160f0a7d2bd186447dd0caad842e776edaa /src/value.c | |
parent | 711b26e71b0dcc160616fa015793a0e57acc8a8c (diff) | |
download | lilv-dc07e86bc7416e494401d242db91a85ca0a84526.tar.gz lilv-dc07e86bc7416e494401d242db91a85ca0a84526.tar.bz2 lilv-dc07e86bc7416e494401d242db91a85ca0a84526.zip |
Suppose xsd:double numeric literals.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3045 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/value.c')
-rw-r--r-- | src/value.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/value.c b/src/value.c index 104c977..b37050d 100644 --- a/src/value.c +++ b/src/value.c @@ -119,7 +119,8 @@ slv2_value_new_from_node(SLV2World world, SordNode node) if (datatype_uri) { if (sord_node_equals(datatype_uri, world->xsd_boolean_node)) type = SLV2_VALUE_BOOL; - else if (sord_node_equals(datatype_uri, world->xsd_decimal_node)) + else if (sord_node_equals(datatype_uri, world->xsd_decimal_node) + || sord_node_equals(datatype_uri, world->xsd_double_node)) type = SLV2_VALUE_FLOAT; else if (sord_node_equals(datatype_uri, world->xsd_integer_node)) type = SLV2_VALUE_INT; |