On 19-07-2009 at 19:58:26 Jacek Karczmarczyk <jkar...@gmail.com> wrote:

The exception is:

PHPTAL_ParserException Object
    [srcFile] => ...path/views/layouts/default.html
    [srcLine] => 5
    [message:protected] => Unsupported attribute 'rel'
    [string:private] =>
    [code:protected] => 0
    [file:protected] => ...path/views/layouts/default.html
    [line:protected] => 5
    [trace:private] => Array
            [0] => Array
[file] => ...path/phptal-1.2/PHPTAL/Dom/SaxXmlParser.php
                    [line] => 206

OK, I've found it. XML parser somehow sees this attribute in the PHPTAL namespace (as if it was tal:rel="stylesheet"), and tal:rel *is* unsupported PHPTAL attribute.

I've added additional checks in SVN. Can you test it?

Do you use 3rd party extensions for PHPTAL? (custom special attributes?)

Can you send me the template that triggers this error? (privately if you wish)

regards, Kornel

PHPTAL mailing list

Reply via email to