[
https://issues.apache.org/jira/browse/UIMA-616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aaron Kaplan updated UIMA-616:
------------------------------
Attachment: namespaceUri2Uimanamespace.patch
> 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 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.