cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36573] New: - SQLTransformer swallowing whitespace on substitute-value
Date Fri, 09 Sep 2005 11:57:58 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36573>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36573

           Summary: SQLTransformer swallowing whitespace on substitute-value
           Product: Cocoon 2
           Version: Current SVN 2.1
          Platform: Macintosh
               URL: http://localhost:8888/samples/blocks/databases/transform
                    /
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: blocks
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: andrew@luminas.co.uk


The following code will fail:

<sql:query>
  SELECT id, name, description from department
  LIMIT <substitute-value sql:name="start"/>,<substitute-value sql:name="count"/>
</sql:query>

After the values are substituted, the output is:
  SELECT id, name, description from department
  LIMITn,m
... instead of 
  SELECT id, name, description from department
  LIMIT n,m

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message