cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Klaus Bertram <bert...@n-bis.de>
Subject Re: [Solution] Re: <input:param> causes exception
Date Fri, 18 Jun 2004 15:26:43 GMT
Ups,
I thought that the declaration for a logic sheet must only match to the 
cocoon.xconf

could it be that xsp-input was in ver 2.04
and now only input is valid

Klaus

Andreas Hartmann wrote:

> Andreas Hartmann wrote:
> 
>> Hi Cocoon community,
>>
>> what's wrong with this XSP snippet?
>>
>> <input:get-attribute>
>>   <input:param name="name">foo</input:param>
>>   <input:param name="module">list</input:param>
>> </input:get-attribute>
>>
>> It causes a ProcessingException in ServerPagesGenerator.setup().
> 
> 
> The logicsheet contained an additional declaration of the
> input module namespace before the used declaration:
> 
>   xmlns:xsp-input="http://apache.org/cocoon/xsp/input/1.0"
>   [...]
>   xmlns:input="http://apache.org/cocoon/xsp/input/1.0"
> 
> The first one was matched by the "get-namespace-prefix" template
> in logicsheet-util.xsl. Because no appropriate parameter tag
> was found, the stylesheet terminated.
> 
> BTW, I consider this as a Cocoon bug, because using namespace
> prefixes to resolve anything in XML is not useful. Isn't it
> possible to rely just on namespace URIs in logicsheet-util.xsl?
> 
> -- Andreas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message