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 areaValidation focus
PipelinesNode structure, transition targets, and XML shape.
Jobs and steptypesRequired attributes, step references, and malformed values.
MetadataSystem objects, custom objects, preferences, and site-scoped XML.
Cartridge overlaysDuplicate 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.

On this page