You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by "Johansson, Justin (Contractor)" <Ju...@dsto.defence.gov.au> on 2008/04/07 09:04:38 UTC

File scheme in UIMA C++

Does anybody know if UIMA C++ is supposed to support file: scheme in
URI's?
getSofaDataStream() fails for me when trying to read data from a local
file.

Error number  : 5066
Recoverable   : No
Error         : Scheme handler for the 'file' scheme not registered.
Cannot access 'file:///C:/Workspace/UimaAerial/data/in/HU-230.raw'.
   While      : Error accessing Sofa Data Stream.
   While      : No detailed message available
   While      : No detailed message available
   While      : No detailed message available

Thanks to all & esp. Eddie who answered previous questions
Justin

IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914.  If you have received this email in error, you are requested to contact the sender and delete the email.



Re: File scheme in UIMA C++

Posted by Eddie Epstein <ea...@gmail.com>.
C++ has no built in URI scheme handlers, so uimacpp has a mechanism for
registering a shared library as a scheme handler. See details in
$UIMACPP_HOME/examples/readme.html.

Eddie

On Mon, Apr 7, 2008 at 3:04 AM, Johansson, Justin (Contractor) <
Justin.Johansson@dsto.defence.gov.au> wrote:

> Does anybody know if UIMA C++ is supposed to support file: scheme in
> URI's?
> getSofaDataStream() fails for me when trying to read data from a local
> file.
>
> Error number  : 5066
> Recoverable   : No
> Error         : Scheme handler for the 'file' scheme not registered.
> Cannot access 'file:///C:/Workspace/UimaAerial/data/in/HU-230.raw'.
>   While      : Error accessing Sofa Data Stream.
>   While      : No detailed message available
>   While      : No detailed message available
>   While      : No detailed message available
>
> Thanks to all & esp. Eddie who answered previous questions
> Justin
>
> IMPORTANT: This email remains the property of the Australian Defence
> Organisation and is subject to the jurisdiction of section 70 of the CRIMES
> ACT 1914.  If you have received this email in error, you are requested to
> contact the sender and delete the email.
>
>
>