Tidy and LINK element of RSS XML files

Greetings,

I am attempting to use Tidy on RSS files and it seems to have eat the LINK
elements.

The element:
<link>http://www.news.perl.org/</link>becomes:
<link />

Can anyone shed light on this behavior?

many thanks,

David


Example of RSS before processing:
<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="0.91">

<channel>
<title>Perl News</title><description>News for the Perl Community</description><language>en</language>Nandor</copyright><lastBuildDate>Wed, 05 Jan 2000 12:26:09 EST</lastBuildDate><managingEditor>news@perl.org</managingEditor><webMaster>news@perl.org</webMaster><image>
<title>Perl News</title><url>http://www.news.perl.org/perl-news-small.gif</url><link>http://www.news.perl.org/</link><height>30</height>
<item>
<title>Linux Magazine Publishes Wall's Uncultured Perl</title><link>http://www.news.perl.org/perl-news.cgi?item=947093003%7C13831</link></item>

<item>
<title>New Modules  4 January 2000</title><link>http://www.news.perl.org/perl-news.cgi?item=947093012%7C13833</link></item>

[...cut...]

and after processing:

<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="0.91">
  <channel>
    <title>
      Perl News
    </title>
    <link />
    <description>
      News for the Perl Community
    </description>
    <language>
      en
    </language>
    <copyright>
      Copyright 2000, Chris Nandor
    </copyright>
    <pubDate>
      Wed, 05 Jan 2000 12:26:09 EST
    </pubDate>
    <lastBuildDate>
      Wed, 05 Jan 2000 12:26:09 EST
    </lastBuildDate>
    <managingEditor>
      news@perl.org
    </managingEditor>
    <webMaster>
      news@perl.org
    </webMaster>
    <image>
      <title>
        Perl News
      </title>
      <url>
        http://www.news.perl.org/perl-news-small.gif
      </url>
      <link />
      <width>
        119
      </width>
      <height>
        30
      </height>
    </image>
    <item>
      <title>
        Linux Magazine Publishes Wall's Uncultured Perl
      </title>
      <link />
    </item>

[...snip...]

David P. Heitmeyer
Web Systems Administrator
FAS Computer Services
email: heitmey@fas.harvard.edu
Phone: 617-495-1259
Fax:   617-495-1210

Received on Friday, 24 March 2000 12:46:20 UTC