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

   `LiteralLabel.valueMode` should be "lazy" but as the comment says, further 
work is needed on the test suite. Looks like it got left in "safe" mode. 
   
   The idea is that if the value isn't needed it isn't calculated. This happens 
on the parser path including database loading.
   Model API use passing in a value is "eager" by nature. #2050.
   
   `JenaParameters#enableEagerLiteralValidation` is only controlling whether 
exceptions are thrown or ill-formed literals are allowed. It ought to be be 
removed and the default behaviour (false) be the only behaviour.
   
   In RDF 1.0, the position of the standard was more that ill-formed literals 
made everything illegal. But that means a processor must have an understanding 
of all datatypes including custom ones.
   
    In RDF 1.1, ill-formed literals are treated as local errors. They cause 
parser warnings.
   
   Generally, I think `JenaParameters` should go away -- #2049.
   I don't have much faith in running with non-default settings.
   
   The OWL related flag can move to somewhere in OntModel code. Ditto the Inf 
related one.
   


-- 
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