cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruben_In...@sonynetservices.com
Subject RE: XSP error
Date Tue, 15 Oct 2002 12:41:37 GMT
Hi,
with IE 6.0 should work.. no idea

Ruben



|---------+----------------------------->
|         |           <Sylvain.Thevoz@sw|
|         |           isscom.com>       |
|         |                             |
|         |           10/15/2002 02:26  |
|         |           PM                |
|         |           Please respond to |
|         |           cocoon-users      |
|         |                             |
|---------+----------------------------->
  >--------------------------------------------------------------------------------------------------------------|
  |                                                                                      
                       |
  |       To:       <cocoon-users@xml.apache.org>                                  
                             |
  |       cc:                                                                            
                       |
  |       Subject:  RE: XSP error                                                        
                       |
  >--------------------------------------------------------------------------------------------------------------|




Thank you, it works if I serialize the output to html.

But why it doesn't work? I use IE 6.0.

Sylvain

-----Message d'origine-----
De: Ruben_Inoto@sonynetservices.com
[mailto:Ruben_Inoto@sonynetservices.com]
Date: mardi, 15. octobre 2002 14:23
À: cocoon-users@xml.apache.org
Objet: Re: XSP error


Hi Sylvain,
it looks that the browser cannot show the XML with that namespace applying
its XSL...
try serializing the output to 'html'



|---------+----------------------------->
|         |           <Sylvain.Thevoz@sw|
|         |           isscom.com>       |
|         |                             |
|         |           10/15/2002 01:32  |
|         |           PM                |
|         |           Please respond to |
|         |           cocoon-users      |
|         |                             |
|---------+----------------------------->
  >
--------------------------------------------------------------------------------------------------------------|

  |
|
  |       To:       <cocoon-users@xml.apache.org>
|
  |       cc:
|
  |       Subject:  XSP error
|
  >
--------------------------------------------------------------------------------------------------------------|





Hello,

I try to test my first XSP page but I have this error:

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and
then click the Refresh button, or try again later.
--------------------------------------------------------------------------------


The namespace prefix is not allowed to start with the reserved string
"xml". Error processing resource 'http://localhost:8080/cocoon/helloworld'.
Line 2,
Position 11

<document xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:xsp="
http://apache.org/xsp">
----------^


the sitemap fragment looks like:
<map:pipeline>
    <map:match pattern="helloworld">
        <map:generate src="helloworld.xsp" type="serverpages"/>
        <map:serialize type="xml"/>
    </map:match>
</map:pipeline>

and the helloworld.xsp looks like:
<xsp:page xmlns:xsp="http://apache.org/xsp">
    <xsp:logic>
        String text="Hello World";
    </xsp:logic>
    <document>
        <xsp:expr>text</xsp:expr>
    </document>
</xsp:page>


Anyone has an idea?
Thank you
Sylvain

---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message