afs commented on issue #1810:
URL: https://github.com/apache/jena/issues/1810#issuecomment-1483139184

   Presumably you are using the TDB1 or TDB2 as the database.
   
   In TDB2 some nodes are stored by value. (TDB1 has a slightly smaller set) 
Various forms of numbers (integers, decimals, floats, doubles) as well as 
xsd:dateTimes.
   
   For all these, the value is stored only if it is inside the coding range. 
Very large integers are not encoded.
   
   For dateTime the years must be within 0-7999 to be value-encoded.
   
   If value encoded, the lexical form is not preserved; a canonical form is 
returned. For xsd;dateTime, if the fractional seconds are zero, they are not 
added to the lexical form.
   
   `"2021-06-02T12:00:00.000+02:00"^^xsd:dateTime` gets encoded as a value, and 
with/without zero fractional seconds is not retained.
   
   `"9999-12-31T00:00:00.000+02:00"^^xsd:dateTime` is outside the range so the 
original lexical form is stored.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to