Re: [xsl] Re: "Non-whitespace text is not allowed in this position in the stylesheet!" error

Subject: Re: [xsl] Re: "Non-whitespace text is not allowed in this position in the stylesheet!" error
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Wed, 12 Sep 2007 14:11:38 +0100
On 9/12/07, Mark Peters <flickrmeister@xxxxxxxxx> wrote:
> Hi Everyone,
>
> What does the "Non-whitespace text is not allowed in this position in
> the stylesheet!" error mean? I've poked around in the archives for
> this newsgroup and online in general, but haven't found an explanation
> for the error, or examples thereof. I'd be happy to provide my
> stylesheet, but if I understand what could cause the error, maybe I
> could find the issue myself. The stylesheet validates without any
> warnings.

Perhaps it's the BOM before the prolog... Hard to tell without
anything to go on, such as where "this position" is referring to!

IIRC, editing with notepad and parsing with older versions of Xerces
can cause this.

-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

Current Thread