Elxis CMS Forum

Support => Elxis 4.x/5.x DEV => Topic started by: babis1 on September 27, 2012, 12:35:44

Title: xml error after editing an article
Post by: babis1 on September 27, 2012, 12:35:44
i was going to to edit an article parameters and after saving i take that error in browser
Code: [Select]
XML Parsing Error: undefined entity
Location: http://www.mysite.com/category/taj-mahal.html
Line Number 67, Column 133:

The Taj Mahal is also called the Taj and is a symbol of love and is known for its monumental beauty. Taj is one of the main tourist hotspot in India and anyone who comes to visit India definitely takes a tour of the Taj. The beauty of the Taj goes beyond words and it is said that the place looks magnificent during the full moon night. It is a true dedication to love and romance. The word Taj Mahal means Crown Palace in English and it is made up off mainly white marbles and some colorful gemstones.</p>

also when i go to edit the text from an article via editor, after saving, it gives me some  html tags and characters in the source (button source editor) like &nbsp; , the text is not copy paste
Title: Re: xml error after editing an article
Post by: webgift on September 27, 2012, 17:23:44
Change the Document Type from Global settings Doc Type to HTML5 or make the changes in order to be compatible with the current DOC TYPE.
Title: Re: xml error after editing an article
Post by: babis1 on September 27, 2012, 18:06:52
its ok with html 5 option
Title: Re: xml error after editing an article
Post by: datahell on September 27, 2012, 19:53:08
If you use an XHTML doctype the document should be 100% valid XML, else you will get parsing errors.
Elxis serves XHTML documents with content type application/xhtml+xml