Hi radzmar,I have resolved the issue. My system requires me to validate
the PDF file via verifying xsd file's field against the PDF
file.Initially I constantly getting errors and I thought the $record was
the root cause.After some finding, i found that it was due to some
optional field having minOccurs=1 attribute which actually is the reason
of errors.Still thanks for the help. Much appreciated!