JetBrains Rider 2018.2 Help

Code Inspections in XML

Inspection

Description

Default Severity

XML tag empty body

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

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

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

Duplicate ID

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

Error

Unresolved ID

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

Error

Wrong root element

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

Error

Unbound XML namespace prefix

This inspection checks for unbound namespace prefixes in XML.

Warning

Unused XML schema declaration

Checks for unused namespace declarations and location hints in XML

Warning

File path resolving in XML

Highlights unresolved file references in XML.

Error

Redundant default attribute value assignment

This inspection checks for redundant default XML attribute value assignment.

Warning

XML highlighting

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

Error

Last modified: 28 November 2018