[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Appendix C: Zope Page Templates Reference

webmaster at zope.org webmaster at zope.org
Mon Nov 24 11:31:13 EST 2003


A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/AppendixC.stx#3-24

---------------

      Since the 'on-error' statement is only invoked when an error occurs,
      it does not appear in the list.  

        % Anonymous User - Nov. 24, 2003 11:31 am:
         Add:

         It may not be apparent that there needs to be an ordering.  The reason that there must
         be one is that TAL is XML based.  The XML specification specifically states that 
         XML processors are free to rewrite the terms.  In particular, you cannot assume that
         attributes of an XML statement will be processed in the order written, particularly if
         there is another preprocessor involved.  To avoid needless proliferation of tags, and
         still permit unambigous execution of complex TAL, a precedence order was chosen according
         to the following rationalle.



More information about the ZDP mailing list