On 7/13/11 5:10 PM, Thilo Götz wrote:
No, because it's not valid XML. If you just serialize it
out regardless, you will have problems at the other end
because your XML parser will barf.
If I recall correctly, you can tell the serializer to
replace illegal characters with the Unicode replacement
char without complaining. Would that be an option?
Yes, the user just needs to import plain text, if such automatic conversions
are problematic for him, he can always use a different tool to solve
the problem and then provide the Cas Editor with XMI files.
Depending on the text he might want to just delete the character, instead
of replacing it.
I will have a look at the API and then enable this option.
Thanks for pointing out.
I guess most people do not have this issue anyway, but the user here
just copied over some text from a pdf, placed it in a text file and
imported it.
Jörn