Code Inspections in XML
This topic lists all PhpStorm code inspections available in XML.
You can toggle specific inspections or change their severity level on the Editor | Inspections page of the IDE settings Ctrl+Alt+S.
Inspection | Description | Default Severity |
---|---|---|
Reports a deprecated XML element or attribute. | Warning | |
Reports a duplicate | Error | |
Reports an element with empty contents. | Warning | |
Reports a discrepancy in an XML file with the specified DTD or schema detected by the Xerces validator. | Error | |
Reports a redundant assignment of the default value to an XML attribute. | Warning | |
Reports an unbound namespace prefix in XML. | Warning | |
Reports an unresolved | Error | |
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. | Error | |
Reports an unresolved file reference in XML. | Error | |
Reports an unused namespace declaration or location hint in XML. | Warning | |
Reports a root tag name different from the name specified in the | Error | |
Reports XML validation problems in the results of a batch code inspection. | Error |