You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Thilo Goetz (JIRA)" <ui...@incubator.apache.org> on 2007/11/19 11:22:43 UTC

[jira] Assigned: (UIMA-616) Ecore2UimaTypeSystem makes unjustified assumptions about URIs

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

Thilo Goetz reassigned UIMA-616:
--------------------------------

    Assignee: Thilo Goetz

> Ecore2UimaTypeSystem makes unjustified assumptions about URIs
> -------------------------------------------------------------
>
>                 Key: UIMA-616
>                 URL: https://issues.apache.org/jira/browse/UIMA-616
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.1, 2.2, 2.2.1
>            Reporter: Aaron Kaplan
>            Assignee: Thilo Goetz
>            Priority: Minor
>         Attachments: namespaceUri2Uimanamespace.patch
>
>
> Ecore2UimaTypeSystem.namespaceUri2UimaNamespace() throws a NullPointerException when it processes a URI for which uri.getPath() is null.  This is the case for URNs, e.g. urn:mpeg:mpeg7:schema:2001 .
> Also, the same function fails to filter out hyphens, which are allowed in XML namespaces but not in UIMA Types.  I get the following error somewhere later on:
> Warning: CAS could not be created from the output type system.  The following problem occurred:
> Invalid type name "schemas.sapir-mpeg7extensions-2007-07.AnnotatedTextContentType".  Type names must start with a letter and consist only of letters, digits, or underscores.
> I'll attach a patch if I can figure out how...

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