Table of contents
|Notice! This page describes the nature of the error using a hypothetical example and not the erroneous data of the input test file. You should however be able to apply this information to your error case.|
Element has child elements even thought schema defines it to be a simple element. In other words element can only contain value - not other elements.
In this case <PmtInfId> element is defined in the schema as simple type element which should only contain string value and not other elements. The error can be corrected by removing any child elements and giving valid value e.g.
Explanation of the error message given by the validator:
Where elem1 can not contain other elements but only values.