[Zope] structured-text perfomance problem

Андрей Пучин Андрей Пучин
Fri, 30 Nov 2001 16:14:46 +0300


Hi!

I try to render a lot of HTML-text using:

<dtml-in "getHTML()">
  <dtml-var sequence-item>
</dtml>

where sequence-item is single paragraph of HTML. If i do this, the
text isn't displayed correctly. The end of array returned by getHTML()
not displayed... it looks like this:

            <p><DIV ID="COMMENT"><P ALIGN="JUSTIFY"><SPAN><FONT COLOR="Fuchsia"><I><A HREF="346,0" onClick="gotoLink(this)">См. комментарий к статье 37 Конституции РФ</A></I></FONT></SPAN></P></DIV></p>

            <p><DIV ID="COMMENT"><PRE></PRE></DIV></p>

            <p><DIV ID="COMMENT"><A NAME="348"></A><P ALIGN="CENTER"><B>Статья 38</B></P></DIV></p>

            <p><DIV ID="COMM
                           ^^^^^^^^^ here it breaks

When the fmt=structured-text is specified for dtml-var tag all text
displayed correctly, but it takes too long time.

Do you now any perfomance tricks&tips???

Regard,
Andrew