Re: [PHPTAL] 1.2 and unknown attributes

2009-07-19 Thread Kornel LesiƄski

On 19.07.2009, at 18:52, Jacek Karczmarczyk wrote:


Hi there,
I've just tried tal 1.2 in my app and it shows me the error  
"Unsupported

attribute 'rel'" in line:



Two questions:
- I assume this is a bug and will be fixed, right?



PHPTAL shouldn't reject any attributes. Are you sure you're getting  
this error from PHPTAL? Can you quote error in full with reference to  
file/line that throws it?


Remember that although PHPTAL outputs HTML5, it does not allow HTML5  
as input. Input must be well-formed XML.


- what about code like this:  - there's  
of course

no attr "myattr" but I want to use anyway - will it be possible?


In HTML5 only  is allowed (but PHPTAL doesn't  
enforce this).


--
regards, Kornel




___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal


[PHPTAL] 1.2 and unknown attributes

2009-07-19 Thread Jacek Karczmarczyk
Hi there,
I've just tried tal 1.2 in my app and it shows me the error "Unsupported
attribute 'rel'" in line:



Two questions:
- I assume this is a bug and will be fixed, right?
- what about code like this:  - there's of course
no attr "myattr" but I want to use anyway - will it be possible?

I'm going to use HTML5 output, but I suppose these questions applied also to
XHTML and XML

regards
jk


___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal