---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [xml-validation](../index.md) / XmlDiagnosticSeverity

# Type Alias: XmlDiagnosticSeverity

> **XmlDiagnosticSeverity** = `"error"` \| `"fatal"` \| `"warning"`

Defined in: [packages/b2c-tooling-sdk/src/xml-validation/types.ts:11](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/b7ec7d4a1464ef7bbb6a5757ffd6f99a18a31bf6/packages/b2c-tooling-sdk/src/xml-validation/types.ts#L11)

Severity of a validation diagnostic. `fatal` means the document is not well-formed XML;
`error` means it is well-formed but does not conform to the schema.
