---
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/1cc5681b8c76554833dc7a40097f33641882a372/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.
