You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2005/09/09 13:57:58 UTC

DO NOT REPLY [Bug 36573] New: - SQLTransformer swallowing whitespace on substitute-value

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.