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)XML Source Attribute | XML Source Attribute | | | The name of the attribute containing XML to be validated. If this property is blank, the FlowFile content will be validated. Supports Expression Language: true (will be evaluated using variable registry only) |
Relationships:
Name | Description |
---|
valid | FlowFiles that are successfully validated against the schema, if provided, or verified to be well-formed XML are routed to this relationship |
invalid | FlowFiles that are not valid according to the specified schema or contain invalid XML are routed to this relationship |
Reads Attributes:
None specified.Writes Attributes:
Name | Description |
---|
validatexml.invalid.error | If 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:
Required Permission | Explanation |
---|
reference remote resources | Schema configuration can reference resources over HTTP |
Input requirement:
This component requires an incoming relationship.System Resource Considerations:
Resource | Description |
---|
MEMORY | While this processor supports processing XML within attributes, it is strongly discouraged to hold large amounts of data in attributes. In general, attribute values should be as small as possible and hold no more than a couple hundred characters. |