Re: [PHPTAL] Validation of XHTML - Solution

2009-05-18 Thread Guillaume Lecanu
Le dimanche 17 mai 2009 à 20:32 +0800, Tjerk Meesters a écrit : It would be much easier if you could just add tal: and metal: inside the %coreattrs definition ;-) Hi everybody, With the help of Tjerk Chris, I have created a XHTML STRICT 1.0 custom DTD for PHPTAL. I have attached it

Re: [PHPTAL] Validation of XHTML - Solution

2009-05-18 Thread Tjerk Meesters
That's awesome :-) A few more pointers: 1) it might be somewhat nicer to place phptal attributes in their own group: !ENTITY % phptalattrs tal:define%Text; #IMPLIED tal:condition %Text; #IMPLIED ... tal:block %Text; #IMPLIED ...

Re: [PHPTAL] Validation of XHTML - Solution

2009-05-18 Thread Guillaume Lecanu
Le lundi 18 mai 2009 à 16:05 +0800, Tjerk Meesters a écrit : That's awesome :-) A few more pointers: 1) it might be somewhat nicer to place phptal attributes in their own group: !ENTITY % phptalattrs tal:define %Text; #IMPLIED tal:condition %Text;

[PHPTAL] Guillaume

2009-05-18 Thread Kornel Lesiński
Hi Guillaume, I can't send you e-mails privately - your e-mail server doesn't want to talk to mine [82.70.200.180]. Do you have another e-mail address or can I send response to the mailing list? -- regards, Kornel ___ PHPTAL mailing list

Re: [PHPTAL] Validation of XHTML - Solution

2009-05-18 Thread Guillaume Lecanu
Le lundi 18 mai 2009 à 09:57 +0100, Kornel Lesiński a écrit : On 18-05-2009 at 09:23:24 Guillaume Lecanu guilla...@lya.fr wrote: I have no knowledges in DTD specifications, how can we said the tal:block is available anywhere in the code ? I'm afraid that DTD isn't able to express it

Re: [PHPTAL] Validation of XHTML - Solution

2009-05-18 Thread Kornel Lesinski
On 18 May 2009, at 11:05, Guillaume Lecanu wrote: Here is the final XHTML STRICT custom DTD for PHPTAL. Nothing is ever final :) You can probably trim it down significantly by only overriding values in XHTML DTD, and including XHTML DTD as an entity. Here's an example that adds Safari's

Re: [PHPTAL] Validation of XHTML - Solution

2009-05-18 Thread Guillaume Lecanu
Le lundi 18 mai 2009 à 11:22 +0100, Kornel Lesinski a écrit : On 18 May 2009, at 11:05, Guillaume Lecanu wrote: Here is the final XHTML STRICT custom DTD for PHPTAL. Nothing is ever final :) You right ! But I think it's already better and usable than before ;-) You can probably trim