[ZPT] Why does this cause a page template to be invalid? (longish)

Godefroid Chapelle gotcha@swing.be
Fri, 22 Mar 2002 15:40:17 +0100


At 15:31 22/03/2002, you wrote:
>>You could use :
>><tal:m_aspire_mainmacro 
>>metal:use-macro="here/ASPIRE_MainTemplate/macros/ASPIRE_mainMacro">
>><tal:f_aspire_mainbody metal:fill-slot="ASPIRE_mainbody">
>><div class=Section1>
>><p class=MsoNormal>..all MSWord junk;-)..</p>
>></div>
>></tal:f_aspire_mainbody>
>></tal:m_aspire_mainmacro>
>>where you can both have readable code and take advantage of the XHTML (or 
>>HTML 4) validation made by ZPT parser.
>
>That would be well-formedness checking, not validation. It seems unlikely 
>that any <tal> element would be validated as conforming to the standards 
>by http://validator.w3.org/ .

You are right : validation is not the correct word. But how would you state 
that the ZPT does check that you do not enclose block elements in inline 
elements ?

I think well-formedness is weaker. Just checking the correct form of 
elements; attributes and so on ?
--

Godefroid Chapelle

BubbleNet sprl
rue Victor Horta, 18 / 202
1348 Louvain-la-Neuve
Belgium

Tel + 32 (10) 459901
Mob + 32 (477) 363942

TVA 467 093 008
RC Niv 49849