Consider this JSON-LD:
{
  "@type": "fhir:Claim",
  "@id": "http://hl7.org/fhir/Claim/760152";,
  "Quantity.value": {
     "decimal": 123.45
  }
  "@context": {
    "fhir": "http://hl7.org/fhir/";,
    "xsd": "http://www.w3.org/2001/XMLSchema#";,
    "decimal": {
      "@id": "fhir:value",
      "@type": "xsd:decimal"
    }
    "Quantity.value": {
      "@id": "http://hl7.org/fhir/Quantity.value";
    }
  }
}

This is valid, but Jena logs an error: WARNING: Lexical form '1.2345E2' not
valid for datatype http://www.w3.org/2001/XMLSchema#decimal

I think this is a bug in Jena - or JsonLD-java?

Grahame




-- 
-----
http://www.healthintersections.com.au / grah...@healthintersections.com.au
/ +61 411 867 065

Reply via email to