Error parsing XHTML: The content of elements must consist of well-formed character data or markup

The error is caused by missing of starting/ending markup tags or incorrect usage of XML characters. The scenarios could be:

  • < the start of a tag.
  • > the end of a tag.
  • ” the start and end of an attribute value.
  • ‘ the alternative start and end of an attribute value.
  • & the start of an entity (which should ends with ;).
  • ; character inside Javascript for/while loop.

oliver

Leave a Reply

Your email address will not be published. Required fields are marked *


*