unknown declaration type %1

Cause:

This error may appear if you are using a bad syntax for you comments, such as "<!invalid comment>" The proper syntax for comments is <!-- your comment here -->.

Example:

textexample textexample

Bad:
textexample
textexample
Good:
textexample textexample

Solution:

textexample textexample

References: