assertEquals("", attributes.get(2).getValue());
}
public void testElementSimpleAttributesMoreWhitespace() throws DecodingException {
List<XMLParticle> particles = new ArrayList<XMLParticle>();
particles.add(new XMLParticle("<balanced attr1 = \"1\" attr2=' 2 ' ns:at_tr3= \" \" />"));
XMLElement xmlElement = (XMLElement) xmlRawToFragmentConverter.convert(particles);
assertNotNull(xmlElement);
assertEquals("balanced", xmlElement.getName());
List<Attribute> attributes = xmlElement.getAttributes();