[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: well-formedness error




Tom Myers wrote:


That's good; I think I would like to be able to use
text/xml rather than just application/atom+xml for cases like
  http://www.environmentalhealthnews.org/archives_rss.jsp
which can be subscribed to in bloglines _or_ viewed in my browser,
because it starts with a stylesheet reference:

<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl" media="screen" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";

you can achieve the same affect using "application/xml".

At the moment validator button blows up because it tries to validate the output of the stylesheet, but underneath is legal XML in UTF-8.

No, at the moment, the validator button blows up because it is linked to


http://feedvalidator.org/check?url=http://www.environmentalhealthnews.org/archives.jsp

instead of

http://feedvalidator.org/check?url=http://www.environmentalhealthnews.org/archives_rss.jsp

Another fix would be to include a feed autodiscovery link in the html page.

- Sam Ruby