Description
Currently if invalid XML is validated in the ValidateXML processor without a schema being provided the 'validatexml.invalid.error' attribute only contains "Reading stream failed". This is not helpful as to why this failed.
A case in point is the unit test testInvalidXMLContentStructure in TestValidateXml.
Instead of "Reading stream failed" it could have
ParseError at [row,col]:[1,22] Message: The element type "this" must be terminated by the matching end-tag "</this>".
which would be more useful in diagnosing what went wrong.
Attachments
Issue Links
- links to