Java - Rome: I am trying to parse RSS feed but get a error on some channels
<p>I am trying to work with RSS and parse it. I found the Rome and I am trying to work with it by code:</p>
<pre><code>private SyndFeed parseFeed(String url) throws IllegalArgumentException, FeedException, IOException {
        return new SyndFeedInput().build(new XmlReader(new URL(url)));
    }


    public Boolean processRSSContent(String url) {
        try {
            SyndFeed theFeed = this.parseFeed(url);
            SyndEntry entry = theFeed.getEntries().get(0);
            ZonedDateTime entryUtcDate = ZonedDateTime.ofInstant(entry.getPublishedDate().toInstant(), ZoneOffset.UTC);
            String entryTitle = entry.getTitle();
            String entryText = entry.getDescription().getValue();
        }
        catch (ParsingFeedException e) {
            e.printStackTrace();
            return false;
        }
        catch (FeedException e) {
            e.printStackTrace();
            return false;
        }
        catch (IOException e) {
            e.printStackTrace();
            return false;
        }
    }
</code></pre>
<p>On some channels like <a href="http://feeds.bbci.co.uk/news/world/rss.xml" rel="nofollow noreferrer">http://feeds.bbci.co.uk/news/world/rss.xml</a> everything works fine, but on some other channels like <a href="http://habrahabr.ru/rss/" rel="nofollow noreferrer">http://habrahabr.ru/rss/</a> I get the error:</p>
<pre><code>Invalid XML: Error on line 5: The element type &quot;meta&quot; must be terminated by the matching end-tag &quot;&lt;/meta&gt;&quot;.
com.rometools.rome.io.ParsingFeedException: Invalid XML: Error on line 5: The element type &quot;meta&quot; must be terminated by the matching end-tag &quot;&lt;/meta&gt;&quot;. 
</code></pre>
<p>I took a look at the content behind this link and XML is really strange. But it's a popular site and I got this error on some other sites so I don't believe that XML there is a problem. What did I do wrong? How to read this RSS-channels?</p>