title: Parse HTML data in Java including &lt and &gt tags?
body: <p>I want to parse HTML text in Java.</p>
  
  <p>I have tried to parse HTML data using <strong>javax.swing.text.html.HTMLEditorKit</strong>. It helped me to  get data from HTML. But I have a HTML data like - </p>
  
  <pre><code>&amp;lt;span class="TitleServiceChange" &amp;gt;Service Change&amp;lt;/span&amp;gt;
                      &amp;lt;span class="DateStyle"&amp;gt;
                      &amp;amp;nbsp;Posted:&amp;amp;nbsp;12/16/2012&amp;amp;nbsp; 8:00PM
                      &amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;
                    &amp;lt;P&amp;gt;
  </code></pre>
  
  <p>with surrounding <strong>'&amp;lt'</strong> and <strong>'&amp;gt'</strong>  instead of <strong>'&lt;'</strong> and <strong>'>'</strong></p>
  
  <p>While parsing the above text I am getting the error - </p>
  
  <pre><code>Parsing error: start.missing body ? ? at
  </code></pre>
  
  <p>Please suggest me to resolve my problem.
  Thanks in advance.</p>