Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/79.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 根元素必须格式正确:mTurks_Html_Mechanicalturk - Fatal编程技术网

Html 根元素必须格式正确:mTurks

Html 根元素必须格式正确:mTurks,html,mechanicalturk,Html,Mechanicalturk,我正在通过mechanicalTurks进行调查。当我在网页中运行此代码时,它不会出错;但是,当我尝试将我的点击发布到时,我得到以下错误: [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 r

我正在通过mechanicalTurks进行调查。当我在网页中运行此代码时,它不会出错;但是,当我尝试将我的点击发布到时,我得到以下错误:

[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>

说明
方向

1。XXXX

2。XXXX ONEresponse

项目:${Examples}

方向

1) XXXXXX
2) XXXXXXXX:XXXXXXXXXXX
3) 三十三和;XXXX TIPXXXXXXX应用
线高:20px;>8);以上都没有

字段集{ 填充:10px; 背景:#fbfb; 边界半径:5px; 边缘底部:5px; }
您没有关闭不同的参数。例如,在以下行中:

<input name="question" type="radio" value="1" />1) XXXXXX<br />
1)XXXXXX
文本不能以
开头

您应该使用XML进行编码。查看CLT文件中示例的Amazon包含