Error <document xmlns='http://ocrsdk.com/schema/resultDescription-1.0.xsd'> was not expected

When using the CLOUD OCR SDK ProcessFields API method you may encounter an error code InvalidArgument and message <document xmlns='http://ocrsdk.com/schema/resultDescription-1.0.xsd'> was not expected.

The cause of this error is the wrong XSD schema specified inside the XML file that stores the processing parameters.

A correct schema for the Settings file is https://www.ocrsdk.com/schema/taskDescription-1.0.xsd (instead of https://www.ocrsdk.com/schema/resultDescription-1.0.xsd ) 

You may find an example of correct  XML Settings file attached 

 

Was this article helpful?

3 out of 3 found this helpful

Have more questions? Submit a request

Comments

1 comment

  • Avatar
    Brian King

    Thank you so much Borys...I was bashing my head trying to figure out why my XML was wrong. Turns out it was just a schema. Thanks!

    0

Please sign in to leave a comment.

Recently viewed