Re: esql:getXXX - wrong diagnostics?

2003-07-01 Thread Joerg Heinicke
Ah, I misread this. But this can't be fixed until a complete refactoring 
of XSP. At the moment it's an XSLT transformation to a java file. The 
binding to the original XSP is completely lost.

Joerg

Erik Bruchez wrote:
Probably that Dmitry would have found a line number pointing to his 
 element in the XSP file useful.

-Erik

Joerg Heinicke wrote:

Why? You use a not existing column name and you get the message 
"Invalid column name". What's wrong with it?

Joerg

Dmitry Diskin wrote:

Hello

I have been struggling with the following problem for a while: if I 
specify non-existing column name in  tag, I get the following 
error message:

org.apache.cocoon.ProcessingException: Exception in 
ServerPagesGenerator.generate(): java.lang.RuntimeException: Error 
executing statement: select something from somewhere : 
java.sql.SQLException: Invalid column name

I think that is misleading, since the error is not in SQL, but in my 
XSp text. It was very hard to find it out.

Regards,
Dmitry.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: esql:getXXX - wrong diagnostics?

2003-07-01 Thread Erik Bruchez
Probably that Dmitry would have found a line number pointing to his 
 element in the XSP file useful.

-Erik

Joerg Heinicke wrote:

Why? You use a not existing column name and you get the message "Invalid 
column name". What's wrong with it?

Joerg

Dmitry Diskin wrote:

Hello

I have been struggling with the following problem for a while: if I 
specify non-existing column name in  tag, I get the following 
error message:

org.apache.cocoon.ProcessingException: Exception in 
ServerPagesGenerator.generate(): java.lang.RuntimeException: Error 
executing statement: select something from somewhere : 
java.sql.SQLException: Invalid column name

I think that is misleading, since the error is not in SQL, but in my 
XSp text. It was very hard to find it out.

Regards,
Dmitry.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: esql:getXXX - wrong diagnostics?

2003-07-01 Thread Joerg Heinicke
Why? You use a not existing column name and you get the message "Invalid 
column name". What's wrong with it?

Joerg

Dmitry Diskin wrote:
Hello

I have been struggling with the following problem for a while: if I 
specify non-existing column name in  tag, I get the following error message:

org.apache.cocoon.ProcessingException: Exception in 
ServerPagesGenerator.generate(): java.lang.RuntimeException: Error 
executing statement: select something from somewhere : 
java.sql.SQLException: Invalid column name

I think that is misleading, since the error is not in SQL, but in my XSp 
text. It was very hard to find it out.

Regards,
Dmitry.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]