Hi all, I just upraded an app from Cocoon 2.1.7 to 2.1.8-dev (SVN as of today) because of bug #.
Unfortunately, this introduced a new problem. I am using this page: <page xmlns:sql="http://apache.org/cocoon/SQL/2.0"> <title>Tabelle</title> <content> <para>Inhalt der Tabelle:</para> <execute-query xmlns="http://apache.org/cocoon/SQL/2.0"> <query name="department"> select * from <sql:substitute-value sql:name="tablename"/> </query> </execute-query> </content> </page> The space character in between the 'from' and the <sql:substitute-value sql:name="tablename"/> disappears during processing, which obviously leads to an SQL string such as select * fromMyTableName instead of select * from MyTableName which in turn leads to the database complaining about an SQL syntax error. In 2.1.7 this worked. By best guess would be this must have something to do with preserving whitespace, but I am not sure where to start searching. Ideas or hints anyone? Changing this to <query name="department"> select * from <sql:substitute-value sql:name="tablename"/> </query> (newline instead of just a whitespace) doe not change anything. Regards, Torsten --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
