[Zope] Syntax checker for Zope

Dennis Allison allison@sumeru.stanford.EDU
Mon, 19 May 2003 13:48:16 -0700 (PDT)


Thank's Andy, I'll take a look.  I tend to use more DTML than ZPT and the
pages we create are often complex ensembles of DTML and HTML where it's
hard to see the structure.  Anything that helps localize a syntax error
will be helpful.

On Mon, 19 May 2003, Andy McKay wrote:

> On Sat, 2003-05-17 at 08:27, Dennis Allison wrote:
> > Is there a syntax checking module for Zope, a program that can be used to
> > help find those bugs that generate inscrutable error messages and not a
> > hint as to where the real problem lies?  
> 
> ZChecker is an extremely crude start of one that is little more than a
> series of rules for objects. Since DTML can be such a pain there is
> almost zilch rules for that although I was going to add one that said
> "your DTML is too complex" :)
> 
> Currently the nicest feature is it runs your ZPT through HTML Tidy and
> tells you the errors, trying to get pychecker to work with Python
> Scripts made my head hurt, but that would be nice to add.
> 
> http://www.zope.org/Members/andym/ZChecker
> --
>   Andy McKay
>