[ZPT] ZPT - tal-attributes in html-output ?

Jim Fulton jim@digicool.com
Mon, 02 Apr 2001 13:36:32 -0400


"R. David Murray" wrote:
> 
> On Mon, 2 Apr 2001, Geir Bækholt wrote:
> > Does this mean that we will see such an option (or the attributes
> > removed) by 1.1 ??
> >
> > they probably won't validate with w3c either (although this is a
> > heavily discussed xml-namespace-issue at w3)
> 
> This sounds like a significant concern.  My impression is that part of
> the whole point of TAL is that it *is* valid XML. 

The term "valid" in XML (and SGML) has a meaning that is more
specific than you may realize.  The term "valid" means that a 
document conforms to a DTD.  TAL cannot be "valid" in this sense, 
because it doesn't conform to a specific DTD. It happens that 
xml namespaces and DTDs are currently (at least the last time I checked ;)
incompatable. 

Page templates *are* well formed, which is all most editors care
about. Further, the output is well formed.

There is *some* (though for most practical purposes, not much)
value in ommiting tal/metal attributes from page-template 
output, so that the attributes don't cause otherwise valid output
to be invalid. That is why we've decided to change this behavior
in 1.1.

> Can you expand on
> what the argument is about, or set my mind at ease <grin>?

If the description above doesn't help, then, if you can, 
just trust me and relax. ;)

Jim

--
Jim Fulton           mailto:jim@digicool.com   Python Powered!        
Technical Director   (888) 344-4332            http://www.python.org  
Digital Creations    http://www.digicool.com   http://www.zope.org