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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to