uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-2490) XMI Serialization/Deserialization not handling null string array values
Date Thu, 01 Nov 2012 20:05:12 GMT

    [ https://issues.apache.org/jira/browse/UIMA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13488983#comment-13488983
] 

Marshall Schor commented on UIMA-2490:
--------------------------------------

Temporarily worked around this in the CasComparer class used for testing.
                
> XMI Serialization/Deserialization not handling null string array values
> -----------------------------------------------------------------------
>
>                 Key: UIMA-2490
>                 URL: https://issues.apache.org/jira/browse/UIMA-2490
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.4.0SDK
>            Reporter: Marshall Schor
>            Priority: Minor
>
> A string array with 2 elements, "class1" and NULL, gets serialized out the same way as
one with 2 elements "class1" and "".  The deserialization deserializes this as a 0-length
string.  There's no current way to serialize out a null value in a string array.  Special
handling was added for null valued FeatureStructure arrays, but not for String Arrays.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message