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 W3 specification.
Property | Value |
---|---|
Severity | Blocking |
Message | JSON data is invalid as a property key/identifier uses an invalid character. |
Code | XML_V001 |
Type | Validation |
Rule System | Syntax |
Broad Category | XML Data |
Tags | xml preliminary checks validation |
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.