[Bioperl-l] RSS feed weirdness from the wiki

Chris Fields cjfields at uiuc.edu
Mon Apr 24 15:06:18 EDT 2006


That's the problem.  When I removed the extra line from the saved XML and
threw it into my newsreader (Sage in Firefox) everything looks fine.  Trying
to access the feed directly in Sage gets the same XML error message as
before.  Directly accessing the RSS feed from Firefox (not using Sage) also
gives the same error.  The fact that it works in IE doesn't surprise me too
much; probably looser in how strict XML is validated.

When I Googled this before, it comes up as a common error associated with
WordPress and plugins.  

http://www.stepanoff.org/wordpress/2006/01/03/be-careful-with-new-plugins/

I'm guessing that some XML validators (including those with Firefox) are so
strict that docs containing extra empty space before the XML declaration are
declared invalid.  Maybe the plugin generating the output is to blame?

Chris

> -----Original Message-----
> From: Mauricio Herrera Cuadra [mailto:arareko at campus.iztacala.unam.mx]
> Sent: Monday, April 24, 2006 1:22 PM
> To: Chris Fields
> Cc: bioperl-l at lists.open-bio.org; 'Jason Stajich'
> Subject: Re: [Bioperl-l] RSS feed weirdness from the wiki
> 
> Seems to me like the problem is the new line character at the start of
> the XML files. The <?xml ...> tag must be in the first line, not at the
> second. Are these files auto-generated from some template which may
> contain the error?
> 
> Mauricio.
> 
> Chris Fields wrote:
> > Jason,
> >
> > I'm getting this error when trying the rss feed from the "Recent
> Changes"
> > page on the wiki using Firefox 1.5.0.2.  It looks like FireFox doesn't
> like
> > the extra empty line before the xml declaration, which is a common
> problem
> > apparently from checking (Googled it).  I think this may be a Firefox
> issue
> > with RSS feeds as I don't see it on (ick) IE on Windows.  Haven't tried
> with
> > Safari yet.
> >
> > XML Parsing Error: xml declaration not at start of external entity
> > Location:
> > http://www.bioperl.org/w/index.php?title=Special:Recentchanges&feed=rss
> > Line Number 2, Column 1:
> >
> > <?xml version="1.0" encoding="utf-8"?>
> > ^
> >
> > Christopher Fields
> > Postdoctoral Researcher - Switzer Lab
> > Dept. of Biochemistry
> > University of Illinois Urbana-Champaign
> >
> >
> > _______________________________________________
> > Bioperl-l mailing list
> > Bioperl-l at lists.open-bio.org
> > http://lists.open-bio.org/mailman/listinfo/bioperl-l
> >
> 
> --
> MAURICIO HERRERA CUADRA
> arareko at campus.iztacala.unam.mx
> Laboratorio de Genética
> Unidad de Morfofisiología y Función
> Facultad de Estudios Superiores Iztacala, UNAM





More information about the Bioperl-l mailing list