Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.16.0, 1.20.0, 1.19.1
-
None
-
CentOS 7.5, RedHat 7.9
Temurin - 11.0.17+8
Description
NiFi environment was upgraded from 1.15.1 to 1.19.1. The following situation has occurred with the ValidateXml processor:
ValidateXml processor works correctly on 1.15.1 and validatexml.invalid.error attribute gives an detail information about the error.
ValidateXml processor works on 1.19.1 but validatexml.invalid.error attribute does not give an detail information about the error. validatexml.invalid.error attriubute only contains “Validation failed” text.
Similar problem was talked in cloudera community and Eduu said that:
===========
Hi @ChuckE using NiFi 1.15.2 seems to add the error detail in the "validatexml.invalid.error" attribute.
For example --> "cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type 'HotelCode"
This seems to be an issue starting from NiFi 1.16.3, maybe a bug?
You can use NiFi 1.15.2 or custom code as @SAMSAL suggested.
===========
Attachments
Issue Links
- is caused by
-
NIFI-9901 Implement Module for Common XML Utilities
- Resolved
- links to