Skip to main content

valid-xml-data

Overview

This rule belongs to the xml-validation ruleset and states that:

An XML data must start and terminate appropriately. It must follow all standards defined in the official W3C specification.

PropertyValue
EnabledYes
Maximum SeverityBlocking
MessageProvided XML data is invalid.
CodeXML_V001
TypeValidation
Rule SystemSyntax
Broad CategoryXML Data
Tagsxml preliminary checks validation data

Suggested Fixes

  • Make sure that all XML tags are opened and closed correctly.
  • Make sure there are no less or extra XML tags.
  • Ensure that XML nodes are assigned valid names as per the W3 standards.
  • Ensure that XML attributes follow the correct syntax.
  • Ensure that all XML namespace prefixes have a declaration.

For More Information