Error <document xmlns=''> was not expected

When using the CLOUD OCR SDK ProcessFields API method you may encounter an error code InvalidArgument and message <document xmlns=''> 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 (instead of ) 

You may find an example of correct  XML Settings file attached 


Have more questions? Submit a request


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!


Please sign in to leave a comment.

Recently viewed