バージョン 0.8.4 とバージョン 0.9.1 の間で、ウィジェットのパーサーに何か変更がありましたか? 最近更新したところ、.wgt ファイルをアップロードできなくなりました。次のエラーが表示されます: Error uploading the following components: TestWidget.wgt: Error parsing config.xml descriptor file: No valid parser found
.
まったく同じファイルが WireCloud v 0.8.4 でも問題なく動作します。この問題は、オペレーターのアップロード時には発生せず、問題なく動作します。
0.8.4 で動作する config.xml は次のとおりです。
<?xml version="1.0" encoding="UTF-8"?>
<Template xmlns="http://wirecloud.conwet.fi.upm.es/ns/template#">
<Catalog.ResourceDescription>
<Vendor>Example Com</Vendor>
<Name>widget.chart</Name>
<Version>0.0.1</Version>
<DisplayName>Chart</DisplayName>
<Author>newbird</Author>
<Mail>newbird@ecample.com</Mail>
<Description>A chart</Description>
<ImageURI>images/arrow.png</ImageURI>
<iPhoneImageURI>images/arrow.png</iPhoneImageURI>
<WikiURI>doc/index.html</WikiURI>
</Catalog.ResourceDescription>
<Platform.Wiring>
<InputEndpoint name="data" type="text" label="Data"
action_label="data" description="Insert data here"
friendcode="text"/>
</Platform.Wiring>
<Platform.Link>
<XHTML href="index.html" content-type="text/html" cacheable="false"
use-platform-style="true"/>
</Platform.Link>
<Platform.Rendering width="3" height="8"/>
</Template>