@@ -0,0 +1,1199 @@
+package com.fasterxml.jackson.dataformat.xml.failing;%0A%0Aimport java.util.*;%0A%0Aimport com.fasterxml.jackson.dataformat.xml.*;%0Aimport com.fasterxml.jackson.dataformat.xml.annotation.*;%0A%0Apublic class AttributeFailIssue108Test extends XmlTestBase%0A%7B%0A    static class Foo %7B%0A        @JacksonXmlElementWrapper(useWrapping = false)%0A        public List%3CBar%3E firstBar = new ArrayList%3CBar%3E();%0A        @JacksonXmlElementWrapper(useWrapping = false)%0A        public List%3CBar%3E secondBar = new ArrayList%3CBar%3E();%0A    %7D%0A%0A    static class Bar %7B%0A        public String value;%0A%0A        @JacksonXmlProperty(isAttribute = true)%0A        public int id;%0A    %7D%0A%0A    public void testIdsFromAttributes() throws Exception %7B%0A        XmlMapper xmlMapper = new XmlMapper();%0A        Foo foo = new Foo();%0A        Bar bar1 = new Bar();%0A        bar1.id = 1;%0A        bar1.value = %22FIRST%22;%0A        foo.firstBar.add(bar1);%0A        Bar bar2 = new Bar();%0A        bar2.value = %22SECOND%22;%0A        bar2.id = 2;%0A        foo.secondBar.add(bar2);%0A        String string = xmlMapper.writeValueAsString(foo);%0A        Foo fooRead = xmlMapper.readValue(string, Foo.class);%0A        assertEquals(foo.secondBar.get(0).id, fooRead.secondBar.get(0).id);%0A    %7D%0A%7D%0A

Test for #108