Marshall Schor created UIMA-4917:
------------------------------------
Summary: xmi and xcas serialization of Arrays of specific FS types
fails
Key: UIMA-4917
URL: https://issues.apache.org/jira/browse/UIMA-4917
Project: UIMA
Issue Type: Bug
Components: Core Java Framework
Affects Versions: 2.8.1SDK
Reporter: Marshall Schor
Priority: Minor
It is difficult but possible to create instances of Feature structures of type
MyType[] - that is, arrays of Feature Structures of specific types. (Contrast
with creatting ArrayFS which are like TOP[]).
These FSs, if present in the CAS, cannot be serialized to XMI / XCAS because
the general design of the serialized form is to encode each type as an XML
element whose name is the type. The name of these types is the name of the FS
type of the component of the array, suffixed with the characters "[]". But
those characters are invalid as part of the XML element name.
This is marked as "minor" as it hasn't been observed yet, in actual practice.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)