Code Inspections in XML
This topic lists all DataGrip code inspections available in XML.
You can toggle specific inspections or change their severity level on the Editor | Inspections page of the IDE settings Control+Alt+S.
Reports a deprecated XML element or attribute.
Symbols can be marked by XML comment or documentation tag with text 'deprecated'.
Reports a duplicate
Reports XML elements without contents.
<user> <name></name> </user>
After the quick-fix is applied:
<user> <name/> </user>
Reports a discrepancy in an XML file with the specified DTD or schema detected by the Xerces validator.
Reports a redundant assignment of the default value to an XML attribute.
Reports an unbound namespace prefix in XML.
Reports an unresolved
Reports inconsistency in a DTD-specific reference, for example, in a reference to an XML entity or to a DTD element declaration. Works in DTD an XML files.
Reports an unresolved file reference in XML.
Reports an unused namespace declaration or location hint in XML.
Reports a root tag name different from the name specified in the
Reports XML validation problems in the results of a batch code inspection.