[
https://issues.apache.org/jira/browse/JENA-418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13610929#comment-13610929
]
Andy Seaborne commented on JENA-418:
------------------------------------
Just returning the fn when scheme length is 1 (windows) ignores the directory
setting of the LocatorFile.
LocatorFile x = new LocatorFile("C:/DIR") ;
System.out.println(x.toFileName("C:foo")) ;
should be C:/DIR/foo
Currently it's C:/DIR/C:foo and with the patch: C:foo.
TestLocators has the insufficient test coverage.
> Test riot.stream.TestStreamManager.fm_open_10() fails on windows 8
> ------------------------------------------------------------------
>
> Key: JENA-418
> URL: https://issues.apache.org/jira/browse/JENA-418
> Project: Apache Jena
> Issue Type: Bug
> Components: ARQ
> Environment: Windows 8
> Reporter: Brian McBride
> Priority: Minor
> Attachments: org.apache.jena.riot.stream.LocatorFile-2.patch,
> org.apache.jena.riot.stream.LocatorFile.patch
>
>
> riot.stream.LocatorFile does not recognize a windows absolute pathname (e.g.
> C:\foobar) as an absolute path.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira