XMLConfiguration x3 = new XMLConfiguration(config);
assertEquals("Wrong element value", "value2.2", x3.getString("key2"));
assertEquals("Wrong attribute value", "USER2",
x3.getString("key2[@override]"));
StringWriter w = new StringWriter();
new FileHandler(x3).save(w);
String s = w.toString();
x3 = new XMLConfiguration();
new FileHandler(x3).load(new StringReader(s));
assertEquals("Wrong element value after load", "value2.2",
x3.getString("key2"));
assertEquals("Wrong attribute value after load", "USER2",
x3.getString("key2[@override]"));
}