title: Syntax error on token ",", Identifier expected after this token
body: <p>I'm getting an eclipse error stating:</p>
  
  <pre><code>Syntax error on token ",", Identifier expected after this token
  </code></pre>
  
  <p>on the line: </p>
  
  <pre><code>@Element(name="Video", =false)
  </code></pre>
  
  <p>Has anyone encountered this before? I did a google and SO search and I wasn't able to come up with much. </p>
  
  <h2>Source:</h2>
  
  <pre><code>public class Post extends Activity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          this.requestWindowFeature(Window.FEATURE_NO_TITLE);
          setContentView(R.layout.testparse);
           @Element(name="Title",required=false)
              String title;
  
              @Element(name="Video", =false)
              String video;
  
      }
      private void doParse()
      {
                  // static body here, but you can pass a Stream to the serializer too
          String xmlBody = "&lt;response&gt;&lt;cmd&gt;getPosts&lt;/cmd&gt;&lt;success&gt;1&lt;/success&gt;&lt;NumberOfSongs&gt;4&lt;/NumberOfSongs&gt;&lt;Posts&gt;&lt;Post&gt;&lt;Title&gt;Stream&lt;/Title&gt;&lt;Video/&gt;&lt;/Post&gt;&lt;Post&gt;&lt;Title&gt;Movies&lt;/Title&gt;&lt;Video/&gt;&lt;/Post&gt;&lt;Post&gt;&lt;Title&gt;Music&lt;/Title&gt;&lt;Video/&gt;&lt;/Post&gt;&lt;Post&gt;&lt;Title&gt;Hello world!&lt;/Title&gt;&lt;Video/&gt;&lt;/Post&gt;&lt;/Posts&gt;&lt;/response&gt;";
  
          Serializer serializer = new Persister();
          PostResponse response = null;
          try {
              response = serializer.read(PostResponse.class, xmlBody);
          } catch (Exception e) {
              e.printStackTrace();
          }
  
          // something interesting with the classes now
  
      }
  } 
  </code></pre>