Set an error if an XML file contains font markup

This fixes a small memory leak when processing invalid AppData files.