You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Aaron Kaplan (JIRA)" <ui...@incubator.apache.org> on 2007/11/07 12:03:50 UTC
[jira] Created: (UIMA-616) Ecore2UimaTypeSystem makes unjustified
assumptions about URIs
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.
[jira] Commented: (UIMA-616) Ecore2UimaTypeSystem makes unjustified
assumptions about URIs
Posted by "Adam Lally (JIRA)" <ui...@incubator.apache.org>.
[ 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 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.
[jira] Updated: (UIMA-616) Ecore2UimaTypeSystem makes unjustified
assumptions about URIs
Posted by "Aaron Kaplan (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron Kaplan updated UIMA-616:
------------------------------
Attachment: (was: 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
>
> 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.
[jira] Closed: (UIMA-616) Ecore2UimaTypeSystem makes unjustified
assumptions about URIs
Posted by "Thilo Goetz (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thilo Goetz closed UIMA-616.
----------------------------
Resolution: Fixed
Patch applied, thanks!
> 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.
[jira] Updated: (UIMA-616) Ecore2UimaTypeSystem makes unjustified
assumptions about URIs
Posted by "Aaron Kaplan (JIRA)" <ui...@incubator.apache.org>.
[ 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.
[jira] Commented: (UIMA-616) Ecore2UimaTypeSystem makes unjustified
assumptions about URIs
Posted by "Thilo Goetz (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540769 ]
Thilo Goetz commented on UIMA-616:
----------------------------------
Patch looks good to me, but I know too little about the ecore stuff. Adam?
> 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.
[jira] Assigned: (UIMA-616) Ecore2UimaTypeSystem makes unjustified
assumptions about URIs
Posted by "Thilo Goetz (JIRA)" <ui...@incubator.apache.org>.
[ 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.
[jira] Updated: (UIMA-616) Ecore2UimaTypeSystem makes unjustified
assumptions about URIs
Posted by "Marshall Schor (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marshall Schor updated UIMA-616:
--------------------------------
Fix Version/s: 2.2.2
> 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
> Fix For: 2.2.2
>
> 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.
[jira] Commented: (UIMA-616) Ecore2UimaTypeSystem makes unjustified
assumptions about URIs
Posted by "Thilo Goetz (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541378 ]
Thilo Goetz commented on UIMA-616:
----------------------------------
We don't need an ICLA for that small a change. However, if you think you might continue to make contributions (which I hope you do), it would be good to file an ICLA. They take a little bit to register, so the sooner the better.
> 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.
[jira] Updated: (UIMA-616) Ecore2UimaTypeSystem makes unjustified
assumptions about URIs
Posted by "Aaron Kaplan (JIRA)" <ui...@incubator.apache.org>.
[ 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.