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ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ