Hello there
I get the same error:
************************
org.apache.cocoon.components.language.LanguageException: Error
compiling id_ranges_xsp:
ERROR 1 (org/apache/cocoon/www/id_ranges/xsp/id_ranges_xsp.java):
...
);
_xspAttr.clear();
// start error (lines 1674-1674) "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/id_ranges/xsp/id_ranges_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 1700-1700) "xspAttr cannot be resolved"
this._esql_printObject(_esql_query.getResultSet().getObject(_esql_i), xspAttr);
// end error
break;
}
default:
...
Line 1674, column 0: xspAttr cannot be resolved
Line 1700, column 0: xspAttr cannot be resolved
********************
However, the file mentioned below (esql.xsl) is not available as there
is a misspellinmg in the path. The path is
/src/blocks/databases/java/org/apache/cocoon/components/language/markup/xsp/java/
So, let's see if these cocoon will make me happy again....
Cheers
Markus
On 11/23/05, Nathaniel Alfred <[EMAIL PROTECTED]> wrote:
> Damn it, the ESQL logicsheet escaped my renaming exercise. Our pre-release
> testing really sucks...
>
> Fix for 2.1.9-dev and trunk committed.
>
> You can patch it relatively easy in a 2.1.8 source distribution. Edit
> src/blocks/xsp/databases/java/org/apache/cocoon/components/language/markup/xsp/java/esql.xsl
> and change xspAttr to _xspAttr in these two lines:
>
> line 697: this._esql_printObject(_esql_struct[_esql_k],xspAttr);
> line 708:
> this._esql_printObject(_esql_query.getResultSet().getObject(_esql_i),
> xspAttr);
>
> Sorry about the mess,
> Alfred.
>
> -----Original Message-----
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Joerg Heinicke
> Sent: Dienstag, 22. November 2005 13:34
> To: [email protected]
> Subject: Re: "xspAttr cannot be resolved" in Cocoon 2.1.8
>
>
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> This message is for the named person's use only. It may contain confidential,
> proprietary or legally privileged information. No confidentiality or
> privilege is waived or lost by any mistransmission. If you receive this
> message in error, please notify the sender urgently and then immediately
> delete the message and any copies of it from your system. Please also
> immediately destroy any hardcopies of the message. You must not, directly or
> indirectly, use, disclose, distribute, print, or copy any part of this
> message if you are not the intended recipient. The sender's company reserves
> the right to monitor all e-mail communications through their networks. Any
> views expressed in this message are those of the individual sender, except
> where the message states otherwise and the sender is authorised to state them
> to be the views of the sender's company.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]