Validating XML Files
If you are unable to open a file, it is possible that the file has invalid XML code (e.g., unclosed tags, starting tag is uppercase with a lowercase end tag). When you have files with invalid XML, they are added to the non-XML Topics window pane. Files such as these can be fixed by validating the file in Analyzer.
- Do one of the following, depending on the part of the user interface you are using:
- Ribbon Select the View ribbon. In the Explorer section select File List.
- Keyboard Shortcut Press CTRL+SHIFT+J.
The File List window pane opens.
Right-click on a file with invalid XML and select Validate XML.
The XML Validator dialog opens. The left side shows the markup for the original file, and the right side shows the markup for the file after the invalid XML has been fixed. You can switch to the WYSIWYG view by clicking Show Source Code to remove the check mark.
- (Optional) You can click Create Backup File if you want to keep a copy of the original file in your Backups window pane.
See About Backups.
- Click Save.