GoLand 2020.3 Help

Code Inspections in XML

This topic lists all GoLand code inspections available in XML.

You can toggle specific inspections or change their severity level on the Editor | Inspections page of the Settings/Preferences Ctrl+Alt+S.

InspectionDescriptionDefault Severity
Deprecated elements

This inspection checks for deprecated XML elements.

The elements can be marked by XML comment or documentation tag with text "deprecated".

Warning Warning
Duplicate ID

This inspection checks for duplicate "id" attributes in XML.

Error Error
File does not pass external validation

Thoroughly checks XML files for DTD / schema compliance using Xerces validator. The validation works in XML or XHTML file types.

Error Error
File path resolving in XML

Highlights unresolved file references in XML.

Error Error
Redundant default attribute value assignment

This inspection checks for redundant default XML attribute value assignment.

Warning Warning
Unbound XML namespace prefix

This inspection checks for unbound namespace prefixes in XML.

Warning Warning
Unresolved DTD reference

Checks consistency of DTD specific references, e.g. references to XML entity or to DTD element declaration. The validation works in DTD or XML file types.

Error Error
Unresolved ID

This inspection checks for unresolved "id" attributes in XML.

Error Error
Unused XML schema declaration

Checks for unused namespace declarations and location hints in XML

Warning Warning
Wrong root element

This inspection checks if root tag name is the same as in <doctype>.

Error Error
XML highlighting

Highlights XML validation problems in the results of batch code inspection.

Error Error
XML tag empty body

Reports empty tag body. The validation works in XML / JSP / JSPX / HTML/ XHTML file types.

Warning Warning
Last modified: 08 March 2021