I am using IBM Rational Application Developer (RAD) 8.0.2 on Windows 7
I open a java class in the Visual Editor
The class extends javax.swing.JPanel
The JPanel contains my class which extends javax.swing.JTextField
When I select the text field and click the right mouse button, I get a popup menu which has a Copy item.
When I choose Copy, the RAD log file contains:
java.lang.RuntimeException: An invalid XML character (Unicode:0xFFFF) was found ...
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl$Escape.convert(Unknown Source)
The text field does contain the invalid XML character (on purpose).
I managed to locate the source code for method "convert" of class "Escape"
and so discovered why the exception is thrown.
My question is: How can I get the Copy to work with my text field class
that contains the character 0xFFFF ?