uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John David Osborne (Campus)" <ozb...@uab.edu>
Subject Re: Multiple References to an Array
Date Mon, 01 Jul 2013 17:39:02 GMT
Thanks Thilo, that was helpful.

Is this (1.0) the standard you were referring to?
http://docs.oasis-open.org/uima/v1.0/uima-v1.0.html

 -John


On 6/20/13 7:09 AM, "Thilo Goetz" <twgoetz@gmx.de> wrote:

>On 06/19/2013 10:14 PM, John David Osborne (Campus) wrote:
>> Does anybody know what the underlying reason that this WARNING is
>>generated?
>>
>> WARNING: Warning: multiple references to an array.  Reference identity
>>will not be preserved in XMI.
>> 6/19/13 2:22:12 PM - 11:
>>org.apache.uima.cas.impl.XmiCasSerializer$XmiCasDocSerializer.reportWarni
>>ng(211):
>>
>> Specifically, how do I figure out which references to which array and
>>why is this a problem? (I actually don't care about generating the XMI,
>>but I think when I deploy an AS service it automatically tries to write
>>and or instantiate some XMI).
>>
>>   -John
>>
>>
>
>The underlying reason is that the XMI datastructure we use
>for encoding arrays
>is not an "object" that you can refer to, while UIMA arrays
>_are_ objects you can refer to.  So the array will not be
>serialized once, but many times in all the places it is
>referenced.  When the CAS is unmarshalled, as many distinct
>arrays will be created, and you can't tell if two feature
>structures refer to the same array any more.  If you don't
>mind that, you don't need to worry about this message.
>
>If you want to understand why UIMA is doing such a thing
>(and I'm not defending it, just explaining), you'll have
>to start digging into the OASIS standard.
>
>--Thilo
>


Mime
View raw message