cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Hochsteger (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COCOON-1381) unwanted whitespace generated by <ft:output> with template.jx implementation of forms
Date Sat, 21 Jan 2006 09:58:44 GMT
    [ http://issues.apache.org/jira/browse/COCOON-1381?page=comments#action_12363508 ] 

Andreas Hochsteger commented on COCOON-1381:
--------------------------------------------

We face the same issues (using Cocoon 2.1.7) because we want to generate a plain text auto-reply
email which contains the entered form data.
We had to write all jx templates in a rather ugly form to minimize (but could not eleminate
completely) all additional whitespace, by chaining all XML elements without any space or linefeed
in between.
Unfortunately this is not really easy to maintain.

Andreas


> unwanted whitespace generated by <ft:output> with template.jx implementation of
forms
> -------------------------------------------------------------------------------------
>
>          Key: COCOON-1381
>          URL: http://issues.apache.org/jira/browse/COCOON-1381
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: Forms
>     Versions: 2.1.8
>  Environment: Operating System: All
> Platform: Macintosh
>     Reporter: Mark Lundquist
>     Assignee: Leszek Gawron

>
> The jx macros implementation of the cforms template language generates a lot of extra
whitespace.  
> This is OK most of the time, but I have a scenario where the product of an output widget
is used in an 
> XSLT transform to construct a html:a/@href, and the extra whitespace breaks that completey
— I had to 
> go back to using the FTT.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message