@@ -0,0 +1,1013 @@
+package com.fasterxml.jackson.dataformat.xml.failing;%0A%0Aimport java.util.List;%0A%0Aimport com.fasterxml.jackson.dataformat.xml.*;%0Aimport com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;%0A%0Apublic class TestIssue47Attribute extends XmlTestBase%0A%7B%0A    public static class Response%0A    %7B%0A        @JacksonXmlProperty(localName = %22wrapper%22)%0A        public List%3CItem%3E items;%0A    %7D%0A%0A    public static class Item%0A    %7B%0A        public String id;%0A        public String a;%0A        public String b;%0A    %7D%0A%0A    public void testEmptyStringFromElemAndAttr() throws Exception%0A    %7B%0A        final XmlMapper MAPPER = new XmlMapper();%0A        String xml = %22%3Cresponse%3E%3Cwrapper%3E%3Citem id=%5C%221%5C%22%3E%3Ca%3Ex%3C/a%3E%3Cb%3Ey%3C/b%3E%3C/item%3E%3Citem id=%5C%222%5C%22%3E%3Ca%3Ey%3C/a%3E%3Cb%3Ex%3C/b%3E%3C/item%3E%3C/wrapper%3E%3C/response%3E%22;%0A        Response res = MAPPER.readValue(xml, Response.class);%0A%0A//System.out.println(MAPPER.writeValueAsString(res));%0A        assertNotNull(res.items);%0A        assertNotNull(res.items.get(0));%0A        assertNotNull(res.items.get(0).id);%0A    %7D%0A%7D%0A

Add a (failing) unit test for Issue#47