• Welcome to Simple Machines Community Forum. Please login or sign up.

named entities in templates are not allowed using xml

Started by Chen Zhen, March 01, 2014, 03:54:56 AM

Previous topic - Next topic

Chen Zhen

  I found some issues with the xml template. Currently no xml pages can be rendered properly due to the use of named entities within the templates. The solution is to change all the named entities to numbered entities which should resolve the issue.  This also applies to the SMF 2.1 branch on github but I am not about to post all those edits  :-\  I do realize some will work in XML but others will not including the   that is currently in most of the default templates.


" = "
&  = &

Also the xml template throws an error for lack of style attributes. I already posted a fix for that as a pull request on guthub for the SMF 2.1 branch but the same applies here.

My SMF Mods & Plug-Ins


"Either you repeat the same conventional doctrines everybody is saying, or else you say something true, and it will sound like it's from Neptune." - Noam Chomsky