hoijui opened a new issue, #2973: URL: https://github.com/apache/jena/issues/2973
### Version 5.4.0-SNAPSHOT ### Question I am maintaining an open source [RDF/OWL linter] based on Jena. One of the things it checks, is whether all literals have types explicitly set. Until now it was based on Jena 2, now I am updating it to Jena 5, which automatically adds `xsd:string` as the datatype, if none is explicitly given (where Jena 2 stored `null`). I am using `org.apache.jena.rdf.model.test.ModelTestBase.statement( final Model m, final String fact )` to create the model like so: ```java Statement source = statement(m, "a P 'untypedString'"); // ... or ... Statement source = statement(m, "a P 'untypedString'xsd:string"); ``` The above now both result in the same model. Any ideas how I could detect the difference in these two, without re-implementing all of the parsing? -- 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]
