Closed Aklakan closed 1 year ago
Seems to be fixed by changing one line in IRIxResolverUtils
:
public static IRIxResolver newIRIxResolverAsGiven(String baseIri) {
IRIxResolver result = baseIri == null
? IRIxResolver.create().noBase().resolve(true /* WAS FALSE */).allowRelative(true).build()
: ...
When a base IRI is set after initializing the resolver, future IRIs seem to become resolved correctly. As long as the base is not set, IRIs remain relative.
Dumping data loaded using
rpt integrate file.ttl
where
file.ttl
has the contentReturns
<TriplesMap1>
without being prefixed by the base IRI. The bug appears to be somewhere inRDFDataMgrRx.createIteratorTriples
. Also, by now Jena has the improved AsyncParser so it may be better to switch to it.