2013-04-14 36 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"> 
相關問題