uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Kaplan (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Created: (UIMA-616) Ecore2UimaTypeSystem makes unjustified assumptions about URIs
Date Wed, 07 Nov 2007 11:03:50 GMT
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.2, 2.1, 2.3
            Reporter: Aaron Kaplan
            Priority: Minor


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.


Mime
View raw message