You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Fabien POULARD (JIRA)" <ui...@incubator.apache.org> on 2008/10/22 13:30:46 UTC

[jira] Updated: (UIMA-1210) XmiCollectionReader fails when it encounters unknown types

     [ 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
                xmicollectionreader-desc.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.