Trying to post HITs through API, gets "Cannot find the declaration of element 'HTMLQuestion'." error?

0

There is a declaration for the HTMLQuestion but it keeps throwing this error. Any thoughts?

<HTMLQuestion xmlns="http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2011-11-11/HTMLQuestion.xsd">
<HTMLContent><![CDATA[
<!-- YOUR HTML BEGINS -->
<!DOCTYPE html>
<html>
<body>
<script src="https://assets.crowd.aws/crowd-html-elements.js"></script>

<crowd-form>
    <p>We are conducting an academic survey about social networks. We need to understand your opinion about social networks. Select the link below to complete the survey. At the end of the survey, you will receive a code to paste into the box below to receive credit for taking our survey.</p>


    <p>
    	<strong>Survey Link: </strong>
    	<!-- NOTE: Update with your survey link in both places here -->
    	<a href="https://google.com" target="_blank"><span font-size:="" helvetica="" style="caret-color: rgb(50, 54, 58); color: rgb(50, 54, 58); font-family: " text-size-adjust:="">https://google.com</span></a>
    </p>
	<p>
		<strong>Provide the survey code here:</strong>
    	<crowd-input name="surveycode" label="e.g. 123456"></crowd-input>
    </p>
	<p>
		<strong>Provide the survey batch # here:</strong>
    	<crowd-input name="surveybatch" label="e.g. 123456"></crowd-input>
    </p>
</crowd-form>
</body>
</html>
<!-- YOUR HTML ENDS -->
]]></HTMLContent>
</HTMLQuestion>
asked 2 years ago73 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions