我正在通过mechanicalTurks开展一项调查。当我在网页中运行此代码时,它运行没有错误;但是,当我尝试将我的HIT发布到sandbox时,我收到以下错误:
[Fatal Error] :3:2: The markup in the document following the root element must be well-formed.
[ERROR] Error creating HIT 1 (test): [3,2] The markup in the document following the root element must be well-formed.
我想这是我的.question
文件的问题,但我似乎无法找到错误。我在下面粘贴了我的.question
文件的示例版本:
<!-- Bootstrap v3.0.3 -->
<link href="https://s3.amazonaws.com/mturk-public/bs30/css/bootstrap.min.css" rel="stylesheet" />
<section class="container" id="Survey" style="margin-bottom:15px; padding: 10px 10px; font-family: Verdana, Geneva, sans-serif; color:#333333; font-size:0.9em;">
<div class="row col-xs-12 col-md-12"><!-- Instructions -->
<div class="panel panel-primary">
<div class="panel-heading"><strong>Instructions</strong></div>
<div class="panel-body">
<p><strong>DIRECTIONS</strong></p>
<p><strong>1. XXXX</strong></p>
<p><strong>2. XXXX <u>ONE</u>response</strong></p>
</div>
</div>
<!-- End Instructions --><!-- Survey Body -->
<div></div>
<label>ITEM:</label> ${Examples}
<fieldset>
<p style="line-height: 20px;"><u style="line-height: 20px;"><strong>directions</strong></u></p>
<p style="line-height: 20px;">
<input name="question" type="radio" value="1" />1) XXXXXX<br />
<input name="question" type="radio" value="2" /><span style="line-height: 20px; background-color: rgb(251, 251, 251);">2) XXXXX <u>XXX</u>:XXXX<em>XXX</em> XXX</span><br />
<input name="question" type="radio" value="3" /><span style="line-height: 20px; background-color: rgb(251, 251, 251);">3) XXXX<em>and;</em>XXXX <u>TIP</u>XXXX<em>XXX</em> apply</span><br />
<p style="line-height: 20px;"><input name="question" type="radio" value="8" />8);None of the above</p>
</fieldset>
</div>
</section>
<!-- End Survey Body --><!-- close container -->
<style type="text/css">fieldset {
padding: 10px;
background:#fbfbfb;
border-radius:5px;
margin-bottom:5px;
}
</style>
答案 0 :(得分:0)
你没有关闭不同的论点。例如,在行中:
<input name="question" type="radio" value="1" />1) XXXXXX<br />
您不能使用<b>
启动文字。
您应该使用XML进行编码。查看样本的亚马逊包含在CLT文件中。