uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-1080) [Patch] Wrong usage of URL in XmiWriterCasConsumer
Date Mon, 14 Apr 2014 20:50:15 GMT

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

Marshall Schor commented on UIMA-1080:
--------------------------------------

This may have been superceded by Jiras UIMA-1748 and UIMA-2097.  Please check to see if this
patch is still required.

> [Patch] Wrong usage of URL in XmiWriterCasConsumer
> --------------------------------------------------
>
>                 Key: UIMA-1080
>                 URL: https://issues.apache.org/jira/browse/UIMA-1080
>             Project: UIMA
>          Issue Type: Improvement
>          Components: InternalTools
>    Affects Versions: 2.2.2, 2.3
>            Reporter: Richard Eckart de Castilho
>            Priority: Minor
>         Attachments: UIMA-1080.patch
>
>
> The XmiWriterCasConsumer wraps the value of SourceDocumentInformation.getUri() in an
URL to extract the path. This only works if the value returned by getUri() is actually an
URL starting with http, ftp or some other known protocol. It does not work if a framework
user puts some self-defined URIs in there, such as annolab://default/myfile. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message