[Zope] DTML error...

Thomas B. Passin tpassin@mitretek.org
Thu, 5 Apr 2001 10:15:46 -0400


Hostway Generic asks

>
> I'm having a problem with the following script, it gives me an error when
I
> save, that its missing a closing <dtml-sendmail> tag.
>
>...
> Message as follows:
> ------- end --------
>  ...
> What am I doing wrong?
>

I don't know about Zope's parser, but it's possible that the strings of
dashes
"-----" are the problem.  They are part of comment delimiters, and some
parsers don't understand that they are not comment delimiters when they are
in isolation, especially if there are an odd number of the dash characters.

Try changing them to equal signs "===========" and see if that eliminates
the error.

Cheers,

Tom P