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