You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ganael LAPLANCHE <gl...@jouve.fr> on 2002/09/18 11:52:47 UTC
XSL troubles
Hi !
I'm new to cocoon. I'm trying to use an xsl page to allow users to view
the xml one...
I modified the sitemap to use the dynamic-page2html.xsl. It works. But
when I try to use another xsl page, I get this error :
***********************************************************
type fatal
message org.xml.sax.SAXException: Invalid processing instruction name
(saxon:warning)
description org.apache.cocoon.ProcessingException: Could not read
resource
file:/var/tomcat4/webapps/cocoon/docs/test/indexedData/UMLV-2002-000001/UMLV-2002-000001-XML.xml: javax.xml.transform.TransformerException: org.xml.sax.SAXException: Invalid processing instruction name (saxon:warning)
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
***********************************************************
I don't understand what is invalid ? Could someone help me ?
Thank you very much,
Ganaël.
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: XSL troubles
Posted by Ganael LAPLANCHE <gl...@jouve.fr>.
Hi Barbara !
Here is a zip file containing all the xsl files (based on the TEI dtd).
The main one (the on I use) is called "teihtml.xsl"... If you can help me...
Thank you very much,
Ganaël.
----- Original Message -----
From: "Barbara Post" <ba...@ifrance.com>
To: <co...@xml.apache.org>
Sent: Wednesday, September 18, 2002 11:53 AM
Subject: Re: XSL troubles
Please provide your xsl code...
----- Original Message -----
From: "Ganael LAPLANCHE" <gl...@jouve.fr>
To: <co...@xml.apache.org>
Sent: Wednesday, September 18, 2002 11:52 AM
Subject: XSL troubles
Hi !
I'm new to cocoon. I'm trying to use an xsl page to allow users to view
the xml one...
I modified the sitemap to use the dynamic-page2html.xsl. It works. But
when I try to use another xsl page, I get this error :
***********************************************************
type fatal
message org.xml.sax.SAXException: Invalid processing instruction name
(saxon:warning)
description org.apache.cocoon.ProcessingException: Could not read
resource
file:/var/tomcat4/webapps/cocoon/docs/test/indexedData/UMLV-2002-000001/UMLV
-2002-000001-XML.xml: javax.xml.transform.TransformerException:
org.xml.sax.SAXException: Invalid processing instruction name
(saxon:warning)
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
***********************************************************
I don't understand what is invalid ? Could someone help me ?
Thank you very much,
Ganaël.
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: XSL troubles
Posted by Bertrand Delacretaz <bd...@codeconsult.ch>.
On Wednesday 18 September 2002 14:59, Ganael LAPLANCHE wrote:
> I've got a very stupid question : what is a "processing instruction" ???
Well there are no stupid questions I think, but existing resources will tell
you a lot. Try searching
"processing instruction" tutorial
on www.google.com, for example..
-Bertrand
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: XSL troubles
Posted by Ganael LAPLANCHE <gl...@jouve.fr>.
Many thanks Vadim :)
----- Original Message -----
From: "Vadim Gritsenko" <va...@verizon.net>
To: <co...@xml.apache.org>
Sent: Wednesday, September 18, 2002 3:38 PM
Subject: Re: XSL troubles
Vadim Gritsenko wrote:
> Ganael LAPLANCHE wrote:
>
>> Hi Vadim,
>>
>> I've got a very stupid question : what is a "processing instruction" ???
>>
>
> See: http://www.w3.org/TR/xml-c14n#ProcessingModel
Oops. This link better defines this stuff:
http://www.w3.org/TR/REC-xml#sec-pi
Vadim
> Example:
>
> <xsp:logicsheet location="logicsheets/hello.xsl"/>
>
>
> Vadim
>
>
>
>> Thank you for helping me...
>> Ganaël.
>
...
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: XSL troubles
Posted by Vadim Gritsenko <va...@verizon.net>.
Vadim Gritsenko wrote:
> Ganael LAPLANCHE wrote:
>
>> Hi Vadim,
>>
>> I've got a very stupid question : what is a "processing instruction" ???
>>
>
> See: http://www.w3.org/TR/xml-c14n#ProcessingModel
Oops. This link better defines this stuff:
http://www.w3.org/TR/REC-xml#sec-pi
Vadim
> Example:
>
> <xsp:logicsheet location="logicsheets/hello.xsl"/>
>
>
> Vadim
>
>
>
>> Thank you for helping me...
>> Ganaël.
>
...
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: XSL troubles
Posted by Vadim Gritsenko <va...@verizon.net>.
Ganael LAPLANCHE wrote:
>Hi Vadim,
>
>I've got a very stupid question : what is a "processing instruction" ???
>
See: http://www.w3.org/TR/xml-c14n#ProcessingModel
Example:
<xsp:logicsheet location="logicsheets/hello.xsl"/>
Vadim
>Thank you for helping me...
>Ganaël.
>
>
>----- Original Message -----
>From: "Vadim Gritsenko" <va...@verizon.net>
>To: <co...@xml.apache.org>
>Sent: Wednesday, September 18, 2002 2:50 PM
>Subject: Re: XSL troubles
>
>
>Barbara Post wrote:
>
>
>
>>Please provide your xsl code...
>>
>>
>>
>
>Hm. Why do you think the problem is in XSL and not in
>
> UMLV-2002-000001-XML.xml? Seems like he has invalid processing instruction
>name in there.
>
>
>Vadim
>
>
>
>
>
>>----- Original Message -----
>>From: "Ganael LAPLANCHE" <gl...@jouve.fr>
>>To: <co...@xml.apache.org>
>>Sent: Wednesday, September 18, 2002 11:52 AM
>>Subject: XSL troubles
>>
>>
>>
>>Hi !
>>
>>I'm new to cocoon. I'm trying to use an xsl page to allow users to view
>>the xml one...
>>
>>I modified the sitemap to use the dynamic-page2html.xsl. It works. But
>>when I try to use another xsl page, I get this error :
>>
>>***********************************************************
>>
>>type fatal
>>
>>message org.xml.sax.SAXException: Invalid processing instruction name
>>(saxon:warning)
>>
>>description org.apache.cocoon.ProcessingException: Could not read
>>resource
>>file:/var/tomcat4/webapps/cocoon/docs/test/indexedData/UMLV-2002-000001/UML
>>
>>
>V
>
>
>>-2002-000001-XML.xml: javax.xml.transform.TransformerException:
>>org.xml.sax.SAXException: Invalid processing instruction name
>>(saxon:warning)
>>
>>sender org.apache.cocoon.servlet.CocoonServlet
>>
>>source Cocoon servlet
>>
>>***********************************************************
>>
>>I don't understand what is invalid ? Could someone help me ?
>>
>>Thank you very much,
>>
>>Ganaël.
>>
>>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: XSL troubles
Posted by Ganael LAPLANCHE <gl...@jouve.fr>.
Thank you very much :)
But I don't understand why it doesn't work...
----- Original Message -----
From: "Ilya A. Kriveshko" <il...@kaon.com>
To: <co...@xml.apache.org>
Sent: Wednesday, September 18, 2002 3:01 PM
Subject: Re: XSL troubles
> Ganael LAPLANCHE wrote:
>
> >Hi Vadim,
> >
> >I've got a very stupid question : what is a "processing instruction" ???
> >
> >
> The tags at the beginning of the XML file that start with '<?' and end
> with '?>'. Like:
>
> <?xml version="1.0"?>
>
> or
>
> <?xml-stylesheet href="MyScript.dsl" type="text/dsssl"?>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: XSL troubles
Posted by Joerg Heinicke <jo...@gmx.de>.
Ilya A. Kriveshko wrote:
> Ganael LAPLANCHE wrote:
>
>> Hi Vadim,
>>
>> I've got a very stupid question : what is a "processing instruction" ???
>>
>>
> The tags at the beginning of the XML file that start with '<?' and end
> with '?>'. Like:
>
> <?xml version="1.0"?>
May I be pedantic? The above is not a processing instruction, it's the
XML declaration.
Regards,
Joerg
> or
>
> <?xml-stylesheet href="MyScript.dsl" type="text/dsssl"?>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: XSL troubles
Posted by "Ilya A. Kriveshko" <il...@kaon.com>.
Ganael LAPLANCHE wrote:
>Hi Vadim,
>
>I've got a very stupid question : what is a "processing instruction" ???
>
>
The tags at the beginning of the XML file that start with '<?' and end
with '?>'. Like:
<?xml version="1.0"?>
or
<?xml-stylesheet href="MyScript.dsl" type="text/dsssl"?>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: XSL troubles
Posted by Ganael LAPLANCHE <gl...@jouve.fr>.
Hi Vadim,
I've got a very stupid question : what is a "processing instruction" ???
Thank you for helping me...
Ganaël.
----- Original Message -----
From: "Vadim Gritsenko" <va...@verizon.net>
To: <co...@xml.apache.org>
Sent: Wednesday, September 18, 2002 2:50 PM
Subject: Re: XSL troubles
Barbara Post wrote:
>Please provide your xsl code...
>
Hm. Why do you think the problem is in XSL and not in
UMLV-2002-000001-XML.xml? Seems like he has invalid processing instruction
name in there.
Vadim
>----- Original Message -----
>From: "Ganael LAPLANCHE" <gl...@jouve.fr>
>To: <co...@xml.apache.org>
>Sent: Wednesday, September 18, 2002 11:52 AM
>Subject: XSL troubles
>
>
>
>Hi !
>
>I'm new to cocoon. I'm trying to use an xsl page to allow users to view
>the xml one...
>
>I modified the sitemap to use the dynamic-page2html.xsl. It works. But
>when I try to use another xsl page, I get this error :
>
>***********************************************************
>
>type fatal
>
>message org.xml.sax.SAXException: Invalid processing instruction name
>(saxon:warning)
>
>description org.apache.cocoon.ProcessingException: Could not read
>resource
>file:/var/tomcat4/webapps/cocoon/docs/test/indexedData/UMLV-2002-000001/UML
V
>-2002-000001-XML.xml: javax.xml.transform.TransformerException:
>org.xml.sax.SAXException: Invalid processing instruction name
>(saxon:warning)
>
>sender org.apache.cocoon.servlet.CocoonServlet
>
>source Cocoon servlet
>
>***********************************************************
>
>I don't understand what is invalid ? Could someone help me ?
>
>Thank you very much,
>
>Ganaël.
>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: XSL troubles
Posted by Vadim Gritsenko <va...@verizon.net>.
Barbara Post wrote:
>Please provide your xsl code...
>
Hm. Why do you think the problem is in XSL and not in
UMLV-2002-000001-XML.xml? Seems like he has invalid processing instruction name in there.
Vadim
>----- Original Message -----
>From: "Ganael LAPLANCHE" <gl...@jouve.fr>
>To: <co...@xml.apache.org>
>Sent: Wednesday, September 18, 2002 11:52 AM
>Subject: XSL troubles
>
>
>
>Hi !
>
>I'm new to cocoon. I'm trying to use an xsl page to allow users to view
>the xml one...
>
>I modified the sitemap to use the dynamic-page2html.xsl. It works. But
>when I try to use another xsl page, I get this error :
>
>***********************************************************
>
>type fatal
>
>message org.xml.sax.SAXException: Invalid processing instruction name
>(saxon:warning)
>
>description org.apache.cocoon.ProcessingException: Could not read
>resource
>file:/var/tomcat4/webapps/cocoon/docs/test/indexedData/UMLV-2002-000001/UMLV
>-2002-000001-XML.xml: javax.xml.transform.TransformerException:
>org.xml.sax.SAXException: Invalid processing instruction name
>(saxon:warning)
>
>sender org.apache.cocoon.servlet.CocoonServlet
>
>source Cocoon servlet
>
>***********************************************************
>
>I don't understand what is invalid ? Could someone help me ?
>
>Thank you very much,
>
>Ganaël.
>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: XSL troubles
Posted by Barbara Post <ba...@ifrance.com>.
Please provide your xsl code...
----- Original Message -----
From: "Ganael LAPLANCHE" <gl...@jouve.fr>
To: <co...@xml.apache.org>
Sent: Wednesday, September 18, 2002 11:52 AM
Subject: XSL troubles
Hi !
I'm new to cocoon. I'm trying to use an xsl page to allow users to view
the xml one...
I modified the sitemap to use the dynamic-page2html.xsl. It works. But
when I try to use another xsl page, I get this error :
***********************************************************
type fatal
message org.xml.sax.SAXException: Invalid processing instruction name
(saxon:warning)
description org.apache.cocoon.ProcessingException: Could not read
resource
file:/var/tomcat4/webapps/cocoon/docs/test/indexedData/UMLV-2002-000001/UMLV
-2002-000001-XML.xml: javax.xml.transform.TransformerException:
org.xml.sax.SAXException: Invalid processing instruction name
(saxon:warning)
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
***********************************************************
I don't understand what is invalid ? Could someone help me ?
Thank you very much,
Ganaël.
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>