: Conal Tuohy [mailto:[EMAIL PROTECTED]
Enviado el: martes, 20 de abril de 2004 0:39
Para: [EMAIL PROTECTED]
Asunto: RE: SAXParseException: Content is not allowed in prolog.
David, it sounds like your mystylesheet.xsl has some content in the prolog. Are you
sure there's nothing wrong there? It's
Carmona Perez, David wrote:
Hi all,
I have a problem with Cocoon that I find a little hard to debug.
My pipeline is something like:
map:read src=myfile.xml/
map:read
map:transform type=xinclude/
!--Till here XML received is well formed--
map:transform type=saxon src=mystylesheet.xsl/
Sorry, I meant map:generate instead of map:read
-Mensaje original-
De: Upayavira [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 19 de abril de 2004 16:37
Para: [EMAIL PROTECTED]
Asunto: Re: SAXParseException: Content is not allowed in prolog.
Carmona Perez, David wrote:
Hi all,
I have
: SAXParseException: Content is not allowed in prolog.
Sorry, I meant map:generate instead of map:read
-Mensaje original-
De: Upayavira [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 19 de abril de 2004 16:37
Para: [EMAIL PROTECTED]
Asunto: Re: SAXParseException: Content is not allowed in prolog
!!!
I've discovered this thanks to the LogTransformer.
-Mensaje original-
De: Carmona Perez, David
Enviado el: lunes, 19 de abril de 2004 16:49
Para: [EMAIL PROTECTED]
Asunto: RE: SAXParseException: Content is not allowed in prolog.
Sorry, I meant map:generate instead of map:read
-Mensaje
Carmona Perez, David wrote:
And receive the following exception (inside Xerces and Saxon):
org.xml.sax.SAXParseException: Content is not allowed in prolog.
First check your XML files for whitespace before the XML declaration
and text (including NBSPs) outside the document element, as described
in
David, it sounds like your mystylesheet.xsl has some content in the prolog. Are you
sure there's nothing wrong there? It's easy to accidentally insert some white space at
the start of the file or something.
-Original Message-
From: Carmona Perez, David [mailto:[EMAIL PROTECTED]
Sent: