Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/12.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
aws-mturk-clt-1.3.1的XML错误-找不到元素声明_Xml_Amazon Web Services_Mechanicalturk - Fatal编程技术网

aws-mturk-clt-1.3.1的XML错误-找不到元素声明

aws-mturk-clt-1.3.1的XML错误-找不到元素声明,xml,amazon-web-services,mechanicalturk,Xml,Amazon Web Services,Mechanicalturk,我已经使用aws mturk clt工具集有一段时间了。我最近回到了我的项目,它一直在工作,但现在当我尝试使用loadHITs.sh命令提交点击时,我收到以下错误: [-1,-1]cvc elt.1:找不到元素的声明 “外部问题” 据我所知,我的项目代码和目录结构与以前的工作方式相比没有任何变化。XML架构在external_hit.question中引用: <?xml version="1.0"?> <!-- Note the inclusion of the $urls v

我已经使用aws mturk clt工具集有一段时间了。我最近回到了我的项目,它一直在工作,但现在当我尝试使用
loadHITs.sh
命令提交点击时,我收到以下错误:

[-1,-1]cvc elt.1:找不到元素的声明 “外部问题”

据我所知,我的项目代码和目录结构与以前的工作方式相比没有任何变化。XML架构在external_hit.question中引用:

<?xml version="1.0"?>
<!-- Note the inclusion of the $urls variable which is defined as a field 
in the input file.  Apache Velocity is the template engine that is used to 
perform the merging of variables into template files.  You can learn more 
about Velocity's capabilities at http://velocity.apache.org. -->
<ExternalQuestion xmlns="https://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2006-07-14/ExternalQuestion.xsd">
    <ExternalURL>http://XXX.XXX.XXX.XXX/webpage.jsp</ExternalURL>
    <FrameHeight>600</FrameHeight>
</ExternalQuestion>

http://XXX.XXX.XXX.XXX/webpage.jsp
600
我检查了模式url,该模式仍然存在,并且似乎定义正确


如果需要进一步的信息,请告诉我。谢谢

问题在于,由于之前执行的全局搜索替换,我使用https来引用模式。当我恢复到http时,问题消失了:

<ExternalQuestion xmlns="http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2006-07-14/ExternalQuestion.xsd">