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>
已提问 2 年前75 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则