XML Validation
Validate SFCC metadata and B2C XML from VS Code before committing or uploading
XML validation checks SFCC metadata files before they reach a sandbox. Use it for pipeline XML, job steps, system object metadata, custom object definitions, site preferences, and other B2C Commerce XML files that are easy to break with a small schema or structure mistake.
Supported Workflows
- Open an XML file and review inline diagnostics.
- Validate pipeline XML before opening or debugging the visual editor.
- Check metadata files before upload, clean upload, or code review.
- Use Problems panel navigation to move through every XML error in the workspace.
What To Check
| File area | Validation focus |
|---|---|
| Pipelines | Node structure, transition targets, and XML shape. |
| Jobs and steptypes | Required attributes, step references, and malformed values. |
| Metadata | System objects, custom objects, preferences, and site-scoped XML. |
| Cartridge overlays | Duplicate or overridden XML that may change runtime behavior. |
Platform Note
The current XML validation card on the homepage is marked macOS because that workflow is currently available there first. Windows and Linux support is planned separately.