Marshall Schor created UIMA-4015:
------------------------------------

             Summary: logic hole in obscure case in MetaDataObject_impl
                 Key: UIMA-4015
                 URL: https://issues.apache.org/jira/browse/UIMA-4015
             Project: UIMA
          Issue Type: Bug
          Components: Core Java Framework
    Affects Versions: 2.6.0SDK
            Reporter: Marshall Schor
            Assignee: Marshall Schor
            Priority: Minor
             Fix For: 2.6.1SDK


While reviewing the changes in MetaDataObject_impl, I noticed a path in 
writePrimitiveValue, which wraps the primitive value with an "element-kind", 
like <element-kind>value</element-kind>.  For JSON serialization, this is { 
"element-kind" : value }.  But for JSON this wrapping is not done if the value 
is a string.  There's a logic bug in this case (which may not occur in 
practice?) - the skipping of the writing of the closing } is not done, needs 
fixing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to