[ https://issues.apache.org/jira/browse/JENA-889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14354611#comment-14354611 ]
Jan Vlug commented on JENA-889: ------------------------------- Is this example of any use for you: package int_.nato.niris.owl.ais; import org.apache.jena.atlas.web.TypedInputStream; import org.apache.jena.riot.system.stream.LocatorClassLoader; class TestLocatorClassLoader { public static void main(String[] args) { LocatorClassLoader locatorClassLoader = new LocatorClassLoader(ClassLoader.getSystemClassLoader()); TypedInputStream is = locatorClassLoader.open("foo.ttl"); System.out.println(is); is = locatorClassLoader.open("file:foo.ttl"); System.out.println(is); } } The output is: org.apache.jena.atlas.web.TypedInputStream@73a1e9a9 null > FileManager/LocationMapper does not work with file: prefix for > LocatorClassLoader > --------------------------------------------------------------------------------- > > Key: JENA-889 > URL: https://issues.apache.org/jira/browse/JENA-889 > Project: Apache Jena > Issue Type: Bug > Components: Jena > Affects Versions: Jena 2.12.1 > Reporter: Jan Vlug > > I tried to use a LocationMapper configuration file as described at: > https://jena.apache.org/documentation/notes/file-manager.html. This worked > fine in an old Jena version. But now I upgraded to 2.12.1 it seems that I > have to omit the file: prefix in the mapped URL. -- This message was sent by Atlassian JIRA (v6.3.4#6332)