Inspectopedia
 
2024.3

Root file tag must have an 'id' attribute

Error
New
Last modified: 03 December 2024

Detects missing or incorrect topic IDs in XML files. Every XML topic must have the id attribute in the root <topic> tag with the value equal to the topic file name without the extension.

The quick fix either adds or corrects the ID to match the topic file name.

For example, if the topic file name is some_intro.topic, then the root <topic> tag must have id="some_intro".