You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Alessandro Vincelli <a....@w4b.it> on 2005/11/22 09:03:41 UTC

"xspAttr cannot be resolved" in Cocoon 2.1.8

I' am trying to pass to version 2.1.8 but I receive this error.

"xspAttr cannot be resolved"


I' m just viewed this new setting
       <parameter name="attr-interpolation" value="true"/>
       <parameter name="text-interpolation" value="true"/>

is this the problem?
I have already tried to change these values...

thanks in advance, Alessandro




error message:


Message: Error compiling contratti_index_xsp: ERROR 1 
(org/apache/cocoon/www/forms/contratti_index_xsp.java): ... ); 
_xspAttr.clear(); // start error (lines 751-751) "xspAttr cannot be 
resolved" this._esql_printObject(_esql_struct[_esql_k],xspAttr); // end 
error this.contentHandler.endElement( "", "sql-row-item", ... ERROR 2 
(org/apache/cocoon/www/forms/contratti_index_xsp.java): ... // postgres 
is broken as it doesn't allow getObject() // to retrieve any type (i.e. 
bit and bit varying) // so don't handle complex types different for 
postgres if (!_esql_connection.getURL().startsWith("jdbc:postgresql:")) 
{ // start error (lines 777-777) "xspAttr cannot be resolved" 
this._esql_printObject(_esql_query.getResultSet().getObject(_esql_i), 
xspAttr); // end error break; } default: ... Line 751, column 0: xspAttr 
cannot be resolved Line 777, column 0: xspAttr cannot be resolved

Description: org.apache.cocoon.ProcessingException: Language Exception 
at <map:serialize type="html"> - 
file:/var/webapps/cassagest/app.xmap:56:31 at <map:transform 
type="cinclude"> - file:/var/webapps/cassagest/app.xmap:53:55 at 
<map:transform> - file:/var/webapps/cassagest/app.xmap:41:54 at 
<map:transform> - file:/var/webapps/cassagest/app.xmap:66:38 at 
<map:transform> - file:/var/webapps/cassagest/app.xmap:65:40 at 
<map:transform type="cinclude"> - 
file:/var/webapps/cassagest/app.xmap:64:52 at <map:transform> - 
file:/var/webapps/cassagest/app.xmap:59:45 at <map:transform> - 
file:/var/webapps/cassagest/app.xmap:250:51 at <map:generate 
type="serverpages"> - file:/var/webapps/cassagest/app.xmap:239:85 at 
<map:mount> - file:/var/webapps/cassagest/sitemap.xmap:738:65




-- 
-------------------------------
Alessandro Vincelli
W4B - web for business s.r.l.
Firenze
via Pellicceria 10 - 50123
E-mail: a.vincelli@w4b.it
tel: 055-2654270

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


Re: "xspAttr cannot be resolved" in Cocoon 2.1.8

Posted by Joerg Heinicke <jo...@gmx.de>.
Alessandro Vincelli <a.vincelli <at> w4b.it> writes:

> I' am trying to pass to version 2.1.8 but I receive this error.
> 
> "xspAttr cannot be resolved"
> 
> I' m just viewed this new setting
>        <parameter name="attr-interpolation" value="true"/>
>        <parameter name="text-interpolation" value="true"/>
> 
> is this the problem?
> I have already tried to change these values...

At least it is related to these settings. When they were introduced xspAttr was
renamed to _xspAttr which now breaks:
http://issues.apache.org/jira/browse/COCOON-1691.

Jörg


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