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
Comments
1 comment
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!
Please sign in to leave a comment.