You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by ch...@galaxia.dataway.ch on 2000/08/29 22:45:45 UTC

C2 weird XSP bug?

Hi,

There's something weird about the XSP processor in C2, specifically the
xsp:page tag. I have

<?xml version="1.0"?>
<xsp:page language="java" xmlns:xsp="http://xml.apache.org/cocoon/xsp">
	<page>lala</page>
</xsp:page>

This gives me an exception org.apache.cocoon.ProcessingException.

If I add the namespace

xmlns:xsp-request="http://xml.apache.org/cocoon/xsp/request"

the thing works. It also works when I use

xmlns:xsp-response="http://xml.apache.org/cocoon/xsp/response"

It even works with

xmlns:xsp-response="http://www.microsoft.com"

although then the namespace doesn't have the semantics it's supposed to.

It's only when neither xsp-request nor xsp-response are set that the
error appears.

What's going on?

regards
anthony