try {
if(o!=null) {
// should be able to convert it back.
String s = typeObj.convertToLexicalValue(o,DummyContextProvider.theInstance);
// try round trip conversion.
Object o2 = typeObj.createValue(s,DummyContextProvider.theInstance);
if( o2==null || !o.equals(o2) )
roundTripError = true;
}
} catch( UnsupportedOperationException uoe ) {
// ignore this exception