[kepler-dev] XML-Schema

Chad Berkley berkley at nceas.ucsb.edu
Tue Apr 20 13:16:31 PDT 2010


Hi Ivens,

Your request is a bit confusing because there are different types of XML 
generated by Kepler.  The moml that is generated when you create a 
workflow has only a DTD.  The XML generated when you create or upload a 
KAR file is defined by the schema Jing linked to.

chad


Ivens wrote:
> Jing,
>  
> In fact, I would like to validade the XML generated by kepler.
> But I can only do it against the dtd available.
>  
> Isn't there any XML-Schema?
>  
> Thanks
> Ivens
> 
> On Tue, Apr 20, 2010 at 5:04 PM, Jing Tao <tao at nceas.ucsb.edu 
> <mailto:tao at nceas.ucsb.edu>> wrote:
> 
>     Hi, Ivens:
> 
>     This is kar xml schema. You may download it from:
> 
>     https://code.kepler-project.org/code/kepler/branches/releases/release-branches/core-2.0/src/org/kepler/kar/karxml/KARFile.xsd
> 
>     By the way, we haven't added the element "customAttributes" yet.
> 
>     Thanks,
> 
>     Jing
> 
> 
>     Jing Tao
>     National Center for Ecological
>     Analysis and Synthesis (NCEAS)
>     735 State St. Suite 204
>     Santa Barbara, CA 93101
> 
> 
>     On Tue, 20 Apr 2010, Ivens wrote:
> 
>         Chad,
> 
>         I was reading another discussion and I found the XML-Schema below:
> 
> 
>         <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>
> 
> 
>         I would like to find something similar (and not the DTD).
>         Can you help me?
> 
>         Thanks,
>         Ivens
> 
>         On Tue, Apr 20, 2010 at 4:22 PM, Chad Berkley
>         <berkley at nceas.ucsb.edu <mailto:berkley at nceas.ucsb.edu>>wrote:
> 
>             Hi Ivens,
> 
>             I'm not sure what schema you are referring to.  Kepler uses
>             several
>             different DTDs and Schemas for different subsystems.  If you
>             are talking
>             about the MoML schema for workflows and components, there is
>             a DTD on the
>             Berkeley website here:
>             http://ptolemy.eecs.berkeley.edu/xml/dtd/MoML_1.dtd
>             (Christopher, please correct me if this is not the most
>             current).
> 
>             Let me know if this is not what you are looking for.
> 
>             thanks,
>             chad
> 
> 
>             Ivens wrote:
> 
>                  Hi everybody,
> 
> 
>                 I would like to download the XML-Schema of Kepler.
>                 But I couldn't find it on Internet.
>                  Where can I find it?
> 
> 
>                 Thank You,
>                 Ivens
> 
> 
>                 ------------------------------------------------------------------------
> 
>                 _______________________________________________
>                 Kepler-dev mailing list
>                 Kepler-dev at kepler-project.org
>                 <mailto:Kepler-dev at kepler-project.org>
>                 http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
> 
> 
> 
> 


More information about the Kepler-dev mailing list