title: Simple XML framework on android, class attribute
body: <p>Ive got a weird problem with simplexml framework on android. Im trying to read and fill an object called weatherdata from a xml source.</p>
  
  <p>XML File (no control on this one): </p>
  
  <pre><code>&lt;weatherdata&gt;
      &lt;product class="pointData"&gt;
          ....
      &lt;/product&gt;
  &lt;/weatherdata&gt;
  </code></pre>
  
  <p>So my java file looks like : </p>
  
  <pre><code>@Root(name = "weatherdata", strict=false)
  public class Weatherdata {
  
      @Element(name="product", required = true)
      protected ProductType product;
  </code></pre>
  
  <p>But I get a very weird error :</p>
  
  <pre><code>01-14 14:22:28.919: W/System.err(18011): java.lang.ClassNotFoundException: pointData in loader dalvik.system.PathClassLoader
  </code></pre>
  
  <p>If i try to class=ProductType.class in the @Element field, it doesn't care. Even when I create the pointData class in my projet with a constructor, the error doesnt change. It looks like "class" as a reserved keyword mess with simple xml framework 2.6.2.</p>
  
  <p>I can't change the xml. Any idea how I could solve that ? thanks ahead.</p>