XML Declarations cause validation errors
Opened this issue · 1 comments
GoogleCodeExporter commented
If a template contains an XML declaration an error is generated:
<?xml version="1.0" encoding="iso-8859-15"?>
- syntax error, unexpected 'version'
I expect this is due to <? being classed as a PHP shorthand tag so not sure
what can be done about it.
Smarty 0.9.0.
Original issue reported on code.google.com by dashdroi...@gmail.com
on 5 Feb 2012 at 3:57
GoogleCodeExporter commented
A work around is to disable PHP short tags:
Windows -> Preferences -> PHP -> PHP Interpreter -> Uncheck "Use Short Tags"
Rebuild.
Original comment by dashdroi...@gmail.com
on 10 Feb 2012 at 11:22