Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
Jena 4.0.0
-
None
Description
Report: users@ 2021-04-27.
Model model = ModelFactory.createDefaultModel(); String data = "<urn:uuid:4f115b8c-5300-4e4d-84f4-1a7593e5fd57> < http://ex.org/a> <http://ex.org/b> ."; try (ByteArrayInputStream in = new ByteArrayInputStream(data.getBytes(StandardCharsets.UTF_8))) { RDFDataMgr.read(model, in, Lang.NTRIPLES); }
Gives error:
org.apache.jena.riot.RiotException: [line: 1, col: 1 ] Bad IRI: Not a valid UUID string: urn:uuid:4f115b8c-5300-4e4d-84f4-1a7593e5fd57 at org.apache.jena.riot.system.ErrorHandlerFactory$ErrorHandlerStd.error(ErrorHandlerFactory.java:146) ...
Attachments
Issue Links
- links to