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 .
Inspection | Description | Default Severity |
---|---|---|
Deprecated elements |
This inspection checks for deprecated XML elements. |
![]() |
Duplicate ID |
This inspection checks for duplicate "id" attributes in XML. |
![]() |
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. |
![]() |
File path resolving in XML |
Highlights unresolved file references in XML. |
![]() |
Redundant default attribute value assignment |
This inspection checks for redundant default XML attribute value assignment. |
![]() |
Unbound XML namespace prefix |
This inspection checks for unbound namespace prefixes in XML. |
![]() |
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. |
![]() |
Unresolved ID |
This inspection checks for unresolved "id" attributes in XML. |
![]() |
Unused XML schema declaration |
Checks for unused namespace declarations and location hints in XML |
![]() |
Wrong root element |
This inspection checks if root tag name is the same as in <doctype>. |
![]() |
XML highlighting |
Highlights XML validation problems in the results of batch code inspection. |
![]() |
XML tag empty body |
Reports empty tag body. The validation works in XML / JSP / JSPX / HTML/ XHTML file types. |
![]() |