[Typo3-dev] Validating TypoScript - Schema vs. DTD

Dimitri Tarassenko mitka at mitka.us
Wed Nov 30 14:15:00 CET 2005


Elmar,

On 11/30/05, Elmar Hinz <elmar.DOT.hinz at team.minus.red.dot.net> wrote:

> But your idea could work. It could be done with a few some simple checks.
> * If the property is a number it will be converted to the array.
> * If the value of a property is in the cObjects array : HTML, TEXT,
> PAGE, etc. then it gets the Element name itself.
>
> In fact that could work.

How about

page.10 = HTML
page.10.value = HTML

? One of nice TS ambiguities is that type definition has the same
syntax as value assignment ;)

--
Dimitri Tarassenko


More information about the TYPO3-dev mailing list