Now with file attached!


From: Batlin, Alex
Sent: 01 November 2005 17:42
To: '[email protected]'
Subject: TT template output limit of ~60000 chars

I think I have discovered a hard limit for TOTAL tt template output i.e. not per block or per variable, but total combined output of the whole script. I believe that limit to be around the 60,000 chars limits.
 
TEST CASE is attached as a file.
 
The file outputs roughly 500 chars as initial output, and then has two loops that output identical content - used to show that the OUTPUT is limited at script template level, not individual block or variable level.. Within each loop there are 10 lines, each 50 chars long i.e. 500 chars per loop itteration. The first loop runs 50 times. If you run the second loop 58 times (e.g. under 60000 chars) output is produced, if you run it 59 times (e.g. total of 199, so => 60,000 chars) then zero total output is produced:
 
with 118 iterations:
 
P:\>get http://tt:80/tt.pl?PREPROCESS=c:/tt-templates/bug- test-case.xml
 
<rss>
...
</rss>
 
[glorious output]
 
with 119 iterations:
 
 
[nothing]
 
Is this a real problem or am I doing something wrong? If it is real, can this limit be extended?

Best Regards,

Alex.


Alex Batlin
UBS-IB IT Prd IMS SETS ClearQuest
[tel] +44 20 7568 9817
[fax] +44 20 7568 1240
[email] [EMAIL PROTECTED]
[addr] 1 Golden Lane, London, EC1Y 0RR
 
 
<?xml version="1.0"?>

[%
	USE date;
%]

[%result%]

<rss version="2.0">
<channel>
<title>SETS ClearQuest: IMS DevCon DES: Issues</title>
<link>http://devcon-des</link>
<description>List of IMS DevCon DES Issues</description>

<language>en</language>
<image><title>UBS Investment Bank</title><url>http://logo.swissbank.com/cp_logo.gif</url><link>http://devcon-des</link></image>
<managingEditor>[EMAIL PROTECTED]</managingEditor>
<webMaster>[EMAIL PROTECTED]</webMaster>
<category>ClearQuest</category>
<ttl>10</ttl>
<generator>http://nldn1658pap:666/cqsupt/cqtt.pl?PREPROCESS=c:/apache/apache2/htdocs/sets/engineering/xml/cq-rss-issues.xml</generator>
<pubDate>[%date.format%]</pubDate>

[%
	count = 0;
	WHILE count < 50;
		count = count + 1
%]
<12/><12/><12/><12/><12/><12/><12/><12/><12/><12/>
<12/><12/><12/><12/><12/><12/><12/><12/><12/><12/>
<12/><12/><12/><12/><12/><12/><12/><12/><12/><12/>
<12/><12/><12/><12/><12/><12/><12/><12/><12/><12/>
<12/><12/><12/><12/><12/><12/><12/><12/><12/><12/>
<12/><12/><12/><12/><12/><12/><12/><12/><12/><12/>
<12/><12/><12/><12/><12/><12/><12/><12/><12/><12/>
<12/><12/><12/><12/><12/><12/><12/><12/><12/><12/>
<12/><12/><12/><12/><12/><12/><12/><12/><12/><12/>
<12/><12/><12/><12/><12/><12/><12/><12/><12/><12/>
[%
	END;
%]

[%
	count = 0;
	WHILE count < 69;
		count = count + 1
%]
<12/><12/><12/><12/><12/><12/><12/><12/><12/><12/>
<12/><12/><12/><12/><12/><12/><12/><12/><12/><12/>
<12/><12/><12/><12/><12/><12/><12/><12/><12/><12/>
<12/><12/><12/><12/><12/><12/><12/><12/><12/><12/>
<12/><12/><12/><12/><12/><12/><12/><12/><12/><12/>
<12/><12/><12/><12/><12/><12/><12/><12/><12/><12/>
<12/><12/><12/><12/><12/><12/><12/><12/><12/><12/>
<12/><12/><12/><12/><12/><12/><12/><12/><12/><12/>
<12/><12/><12/><12/><12/><12/><12/><12/><12/><12/>
<12/><12/><12/><12/><12/><12/><12/><12/><12/><12/>
[%
	END;
%]

</channel>
</rss>
Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

Reply via email to