Skip to content

number with 0 fractional part should parse to an xsd:integer #177

@pchampin

Description

@pchampin

The following JSON-LD

{ "ex:value": 42.0 }

should result to the following triple

[] <ex:value> "42"^^xsd:integer.

but PyLD produces this instead:

[] <ex:value> "42e0"^^xsd:double.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions