On 25.09.2009, at 01:19, Rafał Miłecki wrote:

I was using following XHTML code:

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="/css" ?>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="pl">

but when updated to PHPTAL 1.2.0 I got:
Parse error: syntax error, unexpected T_STRING in /tmp/ tpl_4abc0c0d_szablon__U5CE19YacxN2YAA1ltr9vg.php on line 7

Where 7th line is of course:
<?xml-stylesheet type="text/css" href="/css" ?>

Can I somehow use <?xml-stylesheet with PHPTAL?

I've committed workaround for this to SVN.

You can avoid the problem by disabling short_tag in php.ini.

regards, Kornel

PHPTAL mailing list

Reply via email to