UIMA-4685
- use URL interface

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/trunk@1755158 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/DocumentUimaImpl.java b/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/DocumentUimaImpl.java
index 1cd3d69..4d09197 100644
--- a/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/DocumentUimaImpl.java
+++ b/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/DocumentUimaImpl.java
@@ -245,7 +245,7 @@
     }

     File file = EFS.getStore(uri).toLocalFile(0, new NullProgressMonitor());

     try {

-      format = CasIOUtils.load(file, null, mCAS, withPartialTypesystem);

+      format = CasIOUtils.load(file.toURI().toURL(), null, mCAS, withPartialTypesystem);

     } catch (IOException e) {

       throwCoreException(e);

     }