@@ -0,0 +1,1168 @@
+package com.stanfy.gsonxml.issues;%0A%0Aimport com.stanfy.gsonxml.GsonXml;%0Aimport com.stanfy.gsonxml.GsonXmlBuilder;%0Aimport com.stanfy.gsonxml.XmlParserCreator;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.xmlpull.v1.XmlPullParser;%0Aimport org.xmlpull.v1.XmlPullParserFactory;%0A%0Aimport java.math.BigDecimal;%0Aimport java.util.List;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0A/**%0A * Issue EmptyList.%0A */%0Apublic class IssueEmptyList %7B%0A%0A  private GsonXml gsonXml;%0A%0A  static class A %7B%0A    List%3CI%3E B;%0A    List%3CI%3E C;%0A  %7D%0A%0A  static class I %7B%0A    BigDecimal v;%0A  %7D%0A%0A  @Before%0A  public void init() %7B%0A    XmlParserCreator parserCreator = new XmlParserCreator() %7B%0A      public XmlPullParser createParser() %7B%0A        try %7B%0A          return XmlPullParserFactory.newInstance().newPullParser();%0A        %7D catch (Exception e) %7B%0A          throw new RuntimeException(e);%0A        %7D%0A      %7D%0A    %7D;%0A%0A    gsonXml = new GsonXmlBuilder()%0A        .setXmlParserCreator(parserCreator)%0A        .create();%0A  %7D%0A%0A  @Test%0A  public void reproduce() %7B%0A    A a = gsonXml.fromXml(%22%3CA%3E%3CB%3E%3C/B%3E%3CC%3E%3C/C%3E%3C/A%3E%22, A.class);%0A    assertEquals(%22%7B%5C%22B%5C%22:%5B%5D,%5C%22C%5C%22:%5B%5D%7D%22, gsonXml.getGson().toJson(a));%0A  %7D%0A%0A%7D%0A

Add test with two empty lists in xml.