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.

asked 17 Feb '14, 14:26

waqar's gravatar image

waqar
112


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

<checkmark template="checkmarkField" id="cm1" left="200" top="10" right="220" bottom="30" />
link

answered 17 Feb '14, 18:19

Anastasia%20Galimova's gravatar image

Anastasia Ga... ♦♦
790112

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×49
×37
×3

Asked: 17 Feb '14, 14:26

Seen: 1,296 times

Last updated: 17 Feb '14, 18:19

© 2016 ABBYY. All rights Reserved. www.ABBYY.com | Privacy Policy | Legal