Validates the contents of FlowFiles against a user-specified XML Schema file


xml, schema, validation, xsd


In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

NameDefault ValueAllowable ValuesDescription
Schema FileThe path to the Schema file that is to be used for validation

This property requires exactly one resource to be provided. That resource may be any of the following types: URL, file.

Supports Expression Language: true (will be evaluated using variable registry only)


validFlowFiles that are successfully validated against the schema are routed to this relationship
invalidFlowFiles that are not valid according to the specified schema are routed to this relationship

Reads Attributes:

None specified.

Writes Attributes:

validatexml.invalid.errorIf the flow file is routed to the invalid relationship the attribute will contain the error message resulting from the validation failure.

State management:

This component does not store state.


This component is not restricted.

Input requirement:

This component requires an incoming relationship.

System Resource Considerations:

None specified.