Class ValidateXsdNamespaceDefinition

Assembly: redb.Route.dll

Leaf definition that validates the exchange body against an XSD schema with a target namespace.

public sealed class ValidateXsdNamespaceDefinition : ProcessorDefinition, IProcessorDefinition

Inheritance

Object→ProcessorDefinition→ValidateXsdNamespaceDefinition

Implements

Inherited Members

Properties

TargetNamespace

Gets the target XML namespace (may be null).

public string? TargetNamespace { get; }

ThrowOnFailure

Gets whether a validation failure throws an exception.

public bool ThrowOnFailure { get; }

XsdContent

Gets the XSD content string.

public string XsdContent { get; }

Methods

CreateProcessor(IRouteContext)

Compile this node into a runtime processor.

public override IProcessor CreateProcessor(IRouteContext context)

Constructors

ValidateXsdNamespaceDefinition(string?, string, bool)

Creates a validate definition with a namespace-qualified XSD.