[ 
https://issues.apache.org/jira/browse/JENA-418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13611672#comment-13611672
 ] 

Andy Seaborne commented on JENA-418:
------------------------------------

We can't provide perfect semantics for windows.  The use of a LocatorFile with 
a directory is to support relative filenames to be resolved.  So the best for 
Windows may well to be to treat a schemed filename as absolute as the base 
directory have also have a drive letter.  More complicated logic to deal with 
same/different drive letters can be added later as needed.  For now, clarifying 
the contract for a set thisDir is easier.

(Java7 Path.resolve may address these issues)

                
> 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

Reply via email to