admin管理员组文章数量:1323732
<table id="header" align="center">
<#assign PI = primaryId />
<#if (PI.getIdentified())><table id="header" align="center">
I run into the following error any help appreciated,I try to read some other related topics but I can't understand exactly what happen. The error pointed to <#assign PI = primaryId /> .
[Fatal Error] header.ftl:19:23: The content of elements must consist of well-formed character data or markup
<table id="header" align="center">
<#assign PI = primaryId />
<#if (PI.getIdentified())><table id="header" align="center">
I run into the following error any help appreciated,I try to read some other related topics but I can't understand exactly what happen. The error pointed to <#assign PI = primaryId /> .
[Fatal Error] header.ftl:19:23: The content of elements must consist of well-formed character data or markup
Share Improve this question edited Apr 8, 2015 at 19:22 user3710320 asked Apr 8, 2015 at 18:52 user3710320user3710320 3732 gold badges4 silver badges9 bronze badges 3- and where you get this error exactly, what is the code. – Zielu Commented Apr 8, 2015 at 19:10
- what about now the error points to exactly on the beginning of "<#assign" – user3710320 Commented Apr 8, 2015 at 19:24
- Hi zielu, Thank you in advance. I add the code, Any suggestion ? – user3710320 Commented Apr 8, 2015 at 19:33
1 Answer
Reset to default 3From the error message, you are trying to parse the FTL with an XML parser. Of course, FTL is not well-formed XML (though with the square bracket syntax, like [#assign ...]
it can be). Maybe you meant to parse the output of the template as XML, not the template itself.
本文标签: javascriptThe content of elements must consist of wellformed character data or markupStack Overflow
版权声明:本文标题:javascript - The content of elements must consist of well-formed character data or markup - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742121789a2421744.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论