esql:getXXX - wrong diagnostics?

2003-07-01 Thread Dmitry Diskin
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]


Beautify XML?

2003-06-26 Thread Dmitry Diskin
Hello

Is there a way to get resulting XML document without those blank lines? 
For example, if I write:


  




  


in XML I get this:



  



  

  



  

  



  

  

How can I remove those empty lines? I do not want to write all 
attributes in one line in my XSP. :)

Dmitry.



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


esql:query problem

2003-06-25 Thread Dmitry Diskin
Hello

I noticed that if I insert any tag between closing  and 
opening  - nothing works. Is it a known situation and 
documented somewhere?

Example below doesn't work:

  
mypool

  
select * from something
  
  
  

  some data here

  
  

  
If I remove  tags - it works!

Dmitry.



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


Re: Error message not displayed

2003-06-25 Thread Dmitry Diskin
Hi Joerg,

Thanks for your answer. Would you mind to show me the example - I was 
unable to find it..

Dmitry.

Joerg Heinicke wrote:

That's a logging issue, so should be configurable in logkit.xconf. If 
you want to see it in the browser, you should add an error handler to 
the pipe. You can find samples in the Cocoon samples I guess.

Joerg

Dmitry Diskin wrote:

Hello

I have been struggling with blank page in my browser for a while, and 
the problem was in invalid  element - it was 
referring to non-existent template. No error message was displayed, 
except. I think that error.log is not enough for such type of error. 
Or I'm missing something and it can be configured to report such error 
on the screen?

Regards,
Dmitry.


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


Error message not displayed

2003-06-25 Thread Dmitry Diskin
Hello

I have been struggling with blank page in my browser for a while, and 
the problem was in invalid  element - it was 
referring to non-existent template. No error message was displayed, 
except. I think that error.log is not enough for such type of error. Or 
I'm missing something and it can be configured to report such error on 
the screen?

Regards,
Dmitry.


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