2013-04-14 37 views
0

我一直在使用aws-mturk-clt工具集。最近,我回到了我的项目,该项目一直在努力,但现在当我尝试使用loadHITs.sh命令提交的HIT我收到此错误:XML错误aws-mturk-clt-1.3.1 - 找不到元素声明

[-1,-1] cvc-elt.1: Cannot find the declaration of element 'ExternalQuestion'

据我可以告诉,一切都没有在我的项目改变代码和目录结构。 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> 

我检查了架构url,并且架构仍然存在,似乎是正确定义的。

让我知道任何进一步的信息需要。谢谢!

回答

0

问题是由于之前执行的全局搜索替换,我使用https来引用架构。当我恢复到http问题消失:

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