Return-Path: X-Original-To: apmail-uima-dev-archive@www.apache.org Delivered-To: apmail-uima-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9B962D201 for ; Fri, 26 Oct 2012 18:15:12 +0000 (UTC) Received: (qmail 55914 invoked by uid 500); 26 Oct 2012 18:15:12 -0000 Delivered-To: apmail-uima-dev-archive@uima.apache.org Received: (qmail 55887 invoked by uid 500); 26 Oct 2012 18:15:12 -0000 Mailing-List: contact dev-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@uima.apache.org Delivered-To: mailing list dev@uima.apache.org Received: (qmail 55878 invoked by uid 99); 26 Oct 2012 18:15:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2012 18:15:12 +0000 Date: Fri, 26 Oct 2012 18:15:12 +0000 (UTC) From: "Benjamin Segal (JIRA)" To: dev@uima.apache.org Message-ID: <498717371.32821.1351275312430.JavaMail.jiratomcat@arcas> In-Reply-To: <1918769864.32747.1351273393475.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (UIMA-2486) XMI Delta CAS serialization does not write out FSes indexed in the Initial View which does not have a sofa MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/UIMA-2486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485083#comment-13485083 ] Benjamin Segal commented on UIMA-2486: -------------------------------------- The problem is in XmiCasSerializer, in writeViews(). The code currently skips writing out a view that does not have a sofa (which could only be the case for the _InitialView anyway). I have attached a patch which changes the serializer to write out the (initial) view even in cases where a sofa was not created. > XMI Delta CAS serialization does not write out FSes indexed in the Initial View which does not have a sofa > ---------------------------------------------------------------------------------------------------------- > > Key: UIMA-2486 > URL: https://issues.apache.org/jira/browse/UIMA-2486 > Project: UIMA > Issue Type: Bug > Reporter: Benjamin Segal > > I found a bug in the XMI CAS serializer where delta CAS serialization does not properly handle FSes that were modified in the _InitialView, where the _InitialView does not contain a sofa. This improper handling results in feature structures being recorded in the XMI, but are never indexed in the _InitialView. Since the FSes aren't indexed, XMI deserialization does not add these FSes to the _InitialView of the CAS. -- 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