Details
Description
DomReader.getAttribute(String) does not escape the given attribute name. XppReader escapes it. Following a test case for reproducing this error.
public class DomReaderAttributeUnescapingTest {
@Test
public void xStream() throws Exception
private static class Serialized
{
private String _data;
public Serialized(String data)
{ _data = data; }public String getData()
{ return _data; } }
}
Fixed in head. Dom4JReader had the same bug. Thanks for reporting.