Hello,

Hi for everyone on list. Short notice about me, because thats my first
post here. My name is Robert, I'm php (and several other plangs)
developer from Poland. In addition I'm involved in Polish Linux Users
Group (in audit committee) and Polish Free and Open Software Fundation
(experts advice).

I notice today strange problem with PHPTAL, when I start to use
nederlands national characters in template.
I get such error:

Exception thrown while processing template
>From /var/www/test-nt/deny/files/index-main.html around line 34
exception 'PHPTAL_ParserException' with message 'Tag closure mismatch, expected 
< /div > (opened in line 34) but found < /iv> >' in 
/var/www/test-nt/deny/files/index-main.html:34
Stack trace:
#0 /var/www/test-nt/deny/lib/PHPTAL/PHPTAL/Dom/SaxXmlParser.php(194): 
PHPTAL_Dom_DocumentBuilder->onElementClose('iv>')
#1 /var/www/test-nt/deny/lib/PHPTAL/PHPTAL.php(1113): 
PHPTAL_Dom_SaxXmlParser->parseString(Object(PHPTAL_Dom_DocumentBuilder), 
'parse()
#3 /var/www/test-nt/deny/lib/PHPTAL/PHPTAL.php(651): PHPTAL->prepare()
#4 /var/www/test-nt/index.php(62): PHPTAL->execute()
#5 {main}


Line which make error looks like this:
<div class="box_title">Kopiëren van een rapport</div>

so the close tag is correct. Whole error disaperar when I change "ë"
into "e". Template file is UTF-8 (no BOM).

someone know ansver what can be wrong? Maybe its something with
configuration of PHP?
PHP version - PHP 5.2.12

regards,
Robert
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to