Created question in FIWARE Q/A platform on 12-05-2016 at 08:05
Please, ANSWER this question AT https://stackoverflow.com/questions/37178969/wirecloud-xml-parser-for-widgets
Question:
Wirecloud xml parser for Widgets
Description:
Has something changed in the parser for widgets between version 0.8.4 and version 0.9.1? We recently updated and now we cannot upload our .wgt files anymore. The following error gets displayed: Error uploading the following components: TestWidget.wgt: Error parsing config.xml descriptor file: No valid parser found.
The exact same file works just fine with WireCloud v 0.8.4.
This problem does not occure when uploading operators, they work just fine.
Here is our config.xml that worked with 0.8.4:
<?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>
2017-05-22 15:14|CREATED monitor | # answers= 1, accepted answer= True