uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Lally (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Commented: (UIMA-616) Ecore2UimaTypeSystem makes unjustified assumptions about URIs
Date Fri, 09 Nov 2007 14:59:50 GMT

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

Adam Lally commented on UIMA-616:

Looks fine to me too.

Do we need an ICLA on file to commit this?  I think according to our Contribution Policy,
we do, even though a fairly small amount of code changed.

Aaron, see http://www.apache.org/licenses/#clas for how to file your ICLA (Individual Contributor
License Agreement) with Apache.

> 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.3
>            Reporter: Aaron Kaplan
>            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
> 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.

View raw message