Thanks. I will take a look at it and then I get back to you.
Cheers,
Mario
> On 25 Sep 2019, at 20:46 , Marshall Schor wrote:
>
> Here's code that works that serializes in 1.1 format.
>
> The key idea is to set the OutputProperty OutputKeys.VERSION to "1.1".
>
> XmiCasSerializer
Here's code that works that serializes in 1.1 format.
The key idea is to set the OutputProperty OutputKeys.VERSION to "1.1".
XmiCasSerializer xmiCasSerializer = new XmiCasSerializer(jCas.getTypeSystem());
OutputStream out = new FileOutputStream(new File ("odd-doc-txt-v11.xmi"));
try {
Hi Peter,
Just one more thing that came to my mind. Is there a particular reason for
throwing a java.lang.Error instead of an exception?
Normally that is something only thrown by the JVM when it’s really impossible
to continue the process, e.g. out of memory, linkage errors or fatal VM
Thanks Marshall,
If you prefer then I can also have a look at it, although I probably need to
finish something first within the next 3-4 weeks. It would probably get me
faster started if you could share some of your experimental sample code.
Cheers,
Mario
> On 24 Sep 2019, at