ValidateXml

Description:

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

Tags:

xml, schema, validation, xsd

Properties:

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
Supports Expression Language: true (will be evaluated using variable registry only)

Relationships:

NameDescription
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:

NameDescription
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.

Restricted:

This component is not restricted.

Input requirement:

This component requires an incoming relationship.

System Resource Considerations:

None specified.