[pmwiki-users] RSS fails with XML Parsing Error

V.Krishn mistyfire at autograf.pl
Mon Mar 14 21:48:21 CST 2005


On Monday 14 March 2005 14:08, pmichaud at pobox.com wrote:
> Message: 2
> Date: Sun, 13 Mar 2005 21:45:43 -0600
> From: "Patrick R. Michaud" <pmichaud at pobox.com>
> Subject: Re: [pmwiki-users] RSS fails with XML Parsing Error
> To: John Rector <johnrector at mac.com>
> Cc: pmwiki-users at pmichaud.com
> Message-ID: <20050314034543.GI6196 at pmichaud.com>
> Content-Type: text/plain; charset=us-ascii
>
> On Thu, Mar 10, 2005 at 01:59:52AM -0800, John Rector wrote:
> > I do have a problem, however. I've turned on RSS output in
> > local/config.php. When I enter a command like
> >
> > https://.../pmwiki/pmwiki.php?n=Main.RecentChanges?action=rss
> >
> > in Firefox 1.0 on Linux or Safari on Mac OS X, I get the message
> >
> > XML Parsing Error: xml processing instruction not at start of external
> > entity
> > Location: https://.../pmwiki/pmwiki.php?n=Main.RecentChanges?action=rss
> > Line Number 2, Column 1:
> > <?xml version="1.0"?>
> > ^
> >
> > Any idea why this occurs?
>
> Sure, "Line Number 2" is a big clue.  I'm guessing there some
> extra blank spaces or lines after the trailing '?>' in your
I am not quite sure of all the implications of having a extra blank spaces or 
lines after the trailing '?>' in .php files, But scripts/wikistyles.php(upto 
beta26) surely does have one. ;-))

V.Krishn
> config.php, or perhaps some other configuration file.  As a result,
> the XML output isn't occurring at the extreme beginning of the file,
> and the various browsers are (rightfully) complaining about that.
>
> Pm



More information about the pmwiki-users mailing list