openminted / omtd-registry-api

Other
0 stars 0 forks source link

`xsi:type` attribute on command element #7

Closed reckart closed 7 years ago

reckart commented 7 years ago

@pennyl67 @courado do you have any idea why thecommand element receives a xsi:type attribute? No other elements has it.

    <ns1:distributionInfos>
      <ns1:componentDistributionInfo>
        <ns1:command xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">gate.creole.POSTagger</ns1:command>
        <ns1:operatingSystems>
          <ns1:operatingSystem>os-independent</ns1:operatingSystem>
        </ns1:operatingSystems>
      </ns1:componentDistributionInfo>
    </ns1:distributionInfos>
courado commented 7 years ago

Because in the xsd command has no type but the java classes know it's a string.

reckart commented 7 years ago

@courado @pennyl67 - so this should be fixed in the XSD then?

pennyl67 commented 7 years ago

It's one of the things that Stefanos has spotted and it's fixed now. I suppose the java classes must be regenerated to reflect the change.