[TYPO3-50-general] [TYPO3-team-core-v5] Templating Engine

Martin Ficzel martin.ficzel at gmx.de
Fri Oct 24 16:06:50 CEST 2008


Ernesto Baschny [cron IT] schrieb:
> Christopher Hlubek wrote: on 24.10.2008 12:56:
>> 2008/10/24 Ernesto Baschny [cron IT] <ernst at cron-it.de>:
>>> Ok, but I don't see any way to make a valid XML document if you want to
>>> create a (non-XML) HTML 3.2 template without escaping xmlEntities.
>> Who wants to create an HTML 3.2 template with TYPO3 v5 in let's say 2009?
>>
>> I think the most common task is creating XHTML templates (95%+),
>> that's where validation should be possible and auto-completion is most
>> useful. All other non-XML formats are more exotic and not very common.
>> They should be possible without a doubt, but validation and
>> auto-completion is not an issue there (at least in my opinion). And
>> maybe the DEV3 IDE could be convinced to perform auto-completion even
>> on that.
> 
> HTML 3.2 was just an example. I was talking about any non-XML template
> which might contain "<", ">" or "&" strings, which are special
> characters in XML. This include text-templates, javascript passages etc.
> They have to be escaped, but I guess CDATA should be enough to do it.
> 
> Cheers,
> Ernesto

I think that the templates should be all valid in their own format. so xml templates 
should be xml-valid. a latex template wont be valid with cdata sections but it can include 
{page:title} markers without breaking.

Thats why i also like the that <f3:... and {fe:... are both working. I think nearly all 
possible target formats will allow at least one of the notations without breaking the 
templates.

Regards, Martin


More information about the TYPO3-project-5_0-general mailing list