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>
preguntada hace 2 años75 visualizaciones
No hay respuestas

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas