uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabien POULARD (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Updated: (UIMA-1210) XmiCollectionReader fails when it encounters unknown types
Date Wed, 22 Oct 2008 11:30:46 GMT

     [ https://issues.apache.org/jira/browse/UIMA-1210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Fabien POULARD updated UIMA-1210:

    Attachment: xmicollectionreader-java.patch

The two patches attached modify the java class and the descriptor to offer a boolean parameter
"FailOnUnknownType" set to true as default.

If the parameter "FailOnUnknownType" is set to true the if the collection reader encounters
an unknown type it will fail, otherwise it will silently ignore them.

> XmiCollectionReader fails when it encounters unknown types
> ----------------------------------------------------------
>                 Key: UIMA-1210
>                 URL: https://issues.apache.org/jira/browse/UIMA-1210
>             Project: UIMA
>          Issue Type: New Feature
>          Components: Examples
>    Affects Versions: 2.2.2
>         Environment: GNU/Linux Ubuntu Hardy Heron 8.04
> java version "1.6.0_07"
> Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
> Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
>            Reporter: Fabien POULARD
>            Priority: Trivial
>         Attachments: xmicollectionreader-desc.patch, xmicollectionreader-java.patch
> When XmiCollectionReader is used as CollectionReader and it encounters types that are
not present in the TypeSystems provided with the analysis engines, then it fails. There should
be an option to silently ignore those errors and still load the CAS.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message