[ZPT] ZPT Status

Guido van Rossum guido@digicool.com
Fri, 23 Mar 2001 16:53:17 -0500


> I had hoped to have Beta 1 ready today, but didn't make it.  I would now
> like to shoot for end-of-day Monday.
> 
> 1. HTMLTALParser is now incorporated into ZPT, and mostly works (see
> below).

I hope you can pick up the checkins I made today -- I've implemented
on-error and the HTML parser now requires explicit close tags (or the
<foo.../> form) for tags that have TAL or METAL attributes.

> 2. The Product no longer forces you to import Zope or ZODB in order to
> do unit tests, since ZPT has been refactored to separate ZMI from core
> functionality.
> 
> 3. ZPT now stands for Zope Page Template.  A reviewer suggested it, Paul
> and I really like it, and Jim doesn't care, so I went ahead and changed
> it (not in the Wiki yet).  As part of the refactoring for #2, I made a
> whole new product, which I'm about to check in as
> Packages/Products/PageTemplates.
> 
> Problems I still need help with:
> 
> - If use-macro fails, it seems to omit the entire macro except for
> slots, instead of leaving the existing text alone.

I'll look into this.

> - I think we shouldn't be adding slashes to empty tags ('<br>' => '<br
> />'), and we definitely should not be abbreviating non-empty tags
> ('<td></td>' => '<td />').

Ditto.

--Guido van Rossum (home page: http://www.python.org/~guido/)