Community

ProcessField XML error ruby sdk

Hi, I am trying to work with reading values from checkboxes and radio buttons I tried creating an XML file

    <?xml version="1.0" encoding="UTF-8"?>
<document xmlns="http://ocrsdk.com/schema/taskDescription-1.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ocrsdk.com/schema/taskDescription-1.0.xsd http://ocrsdk.com/schema/taskDescription-1.0.xsd">
    <fieldTemplates>
        <checkmark id="checkmarkField">
      <type>square</type>
    </checkmark>
    </fieldTemplates>

    <page>
        <checkmark template="checkmarkField" id="cm1" />
    </page>
</document>

And the output returned is

<?xml version=\"1.0\" encoding=\"utf-8\"?><error><message language=\"english\">Internal Server Error</message></error>

What am I doing wrong? Please help.

0

Comments

1 comment

  • Avatar
    Anastasia Galimova

    It's necessary to specify the checkmark region, for example:

    <checkmark template="checkmarkField" id="cm1" left="200" top="10" right="220" bottom="30" />
    
    0
    Comment actions Permalink

Please sign in to leave a comment.