> From: Christopher Kohlhaas [mailto:[EMAIL PROTECTED]] > > Hello Cocooners, > > I've come along the following whitespace problem in esql.xsl and xsp.xsl > > The esql fragment: > > <esql:query>select * from test_table where id = > <esql:parameter> > <xsp:expr>id</xsp:expr> > </esql:parameter> > </esql:query> > > produces the following code > > _esql_query.getPreparedStatement().setString(1, String.valueOf("" > + " " > + (id) > + " ")); > > I found a similiar problem with the following expression > > <xsp:attribute name="name"> > <esql:get-string column="name"/> > </xsp:attribute> > > Is this intended or a bug?
I think it is intended (especially in the xsp:element). You may want to generate white space symbols, which are no different in XML from non-white space symbols. White spaces play important role in plain text output generation. Vadim --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]