Home » HTML » HTML_Template_Flexy » Bug #1458
Parsing failes with attibutes using underscore
Details
| Submitted | 2004-05-20 23:23 UTC |
|---|---|
| From | info at rhalff dot com |
| Assigned | alan_k |
| Status | Closed |
| Package | HTML_Template_Flexy |
| PHP Version | 5.0.0RC2 (Release Candidate 2) |
| OS | linux |
| Roadmaps | (Not assigned) |
Comments
[2004-05-20 23:23 UTC] info at rhalff dot com
Description:
------------
Im was trying to use the kupu-editor template along with flexy, this editor is using (valid) xml attribute names with underscores.
It's probably a choise whether to support it or not since it's not part of xhtml or html, but I report this as a bug anyways.
Reproduce code:
---------------
A template with attribute names which use underscores:
<iframe id="kupu-editor" frameborder="0" src="fulldoc.html" dst="fulldoc.html" reloadsrc="0" usecss="1" strict_output="1" content_type="application/xhtml+xml" scrolling="auto">
Expected result:
----------------
HTML_Template_Flexy::Syntax error in Template line:310
Actual result:
--------------
ERROR in File /usr/lib/php/PEACH/App/Core/Kupu/Templates/kupu.html on Line 310 Position:13673: unexpected something: (_) character: 0x5f
HTML_Template_Flexy::Syntax error in Template line:310
[2004-06-02 15:51 UTC] info at rhalff dot com
The expected result is not the syntax error btw, but in my
case the kupu editor, but you probably figured that out :)