W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2000

Tidy and LINK element of RSS XML files

From: David P. Heitmeyer <heitmey@fas.harvard.edu>
Date: Fri, 7 Jan 2000 11:09:33 -0500 (EST)
To: html-tidy@w3.org
Message-ID: <Pine.OSF.4.10.10001070959010.22871-100000@is10.fas.harvard.edu>
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>
<link>http://www.news.perl.org/</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>http://www.news.perl.org/</link>
<width>119</width>
<height>30</height>
</image>
 
<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, 7 January 2000 11:09:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:43 GMT