Le dimanche 12 avril 2009 à 16:16 +0100, php...@jakeman.plus.com a
> To follow up my own posting, I've found it's possible to get the W3C
> validator to accept tal: and metal: attributes by using a DOCTYPE that
> points to a custom DTD. It's not ideal as you have to specify each
> combination of element and attribute that you have actually used.
> However it does work and a correct PHPTAL file is passed as fully
> valid. Once XHTML v2 is available, maybe the validators will
> respect namespaces and we can specify tal: and metal: so that they are
> For notes on using custom DTDs, see WDG at
Thanks for this information, do you have created a custom DTD for PHPTAL
with all the attributes list ?
This will be cool if you can share it :-)
PHPTAL mailing list