On 10/22/2010 2:20 AM, Tim Cawley (JIRA) wrote:
>      [ 
> https://issues.apache.org/jira/browse/UIMA-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>  ]
>
> Tim Cawley updated UIMA-1848:
> -----------------------------
>
>     Attachment: data_nested.xmi
>                 data_flat.xmi
>
> I'm attaching two files that are both valid xmi.  One is a flat format the 
> other is a nested format.  The nested file has been created with an emf 
> application that reads and writes xmi.
>
> I have a class that can replace org.apache.uima.cas.impl.XmiCasDeserializer 
> that fixes the problem.  I'll put it up when its ready.

Thanks. -Marshall
>
>> XmiCasDeserializer needs to support both nested and flat forms of XMI.
>> ----------------------------------------------------------------------
>>
>>                 Key: UIMA-1848
>>                 URL: https://issues.apache.org/jira/browse/UIMA-1848
>>             Project: UIMA
>>          Issue Type: Improvement
>>          Components: Core Java Framework
>>            Reporter: Tim Cawley
>>            Priority: Minor
>>         Attachments: data_flat.xmi, data_nested.xmi
>>
>>
>> I use the XmiCasSerializer to write XMI files.  These files are read by an 
>> eclipse / EMF based application and modified.  The output is perfectly valid 
>> XMI but the file is nested not flat.  The Deserializer only reads flat, it 
>> would be very useful if it would read both flat and nested formats.
>> I have a sample implementation if you need it.

Reply via email to