[kepler-dev] [Bug 4942] KarXmlGenerator generated a invalid kar xml if KarEntry has dependsOnModule element

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Tue Apr 20 12:07:59 PDT 2010


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4942

--- Comment #8 from Jing Tao <tao at nceas.ucsb.edu> 2010-04-20 12:07:59 PDT ---
Sean: yes it will support new attributes too:

Ben, Aaron and I discussed the possibility to add some arbitrary elements to
karEntryAttributes. We decided to modify the schema:
<xs:complexType name="karEntryType">
    <xs:sequence>
       <xs:element name="karEntryAttributes" type="karEntryAttributesType"/>
       <xs:element name="karEntryXML" type="xs:anyType" />
     </xs:sequence>
</xs:complexType>

<xs:complexType name="karEntryAttributesType">
    <xs:sequence>
       <xs:element name ="Name"  type="xs:string" />
       <xs:element name ="dependsOn" minOccurs="0" />
       <xs:element name ="dependsOnModule" minOccurs="0" />
       <xs:element name ="handler" />
       <xs:element name ="lsid" />
       <xs:element name ="type" />
       <xs:element name="customAttribute" type="xs:anyType" minOccurs="0"/>
    </xs:sequence>
</xs:complexType>

This schema still has some control on some elements (name, lsid and et al), it
also has the flexibility to add arbitrary elements under element
customAttribute.

If you have any objection, please let me know as soon as possible.

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Kepler-dev mailing list