[kepler-users] XML-Schema

Christopher Brooks cxh at eecs.berkeley.edu
Wed Mar 24 13:48:24 PDT 2010


Hi Ivens,
See
http://ptolemy.eecs.berkeley.edu/ptolemyII/ptIIfaq.htm#MoML

See also Chapter 7 of
http://www.eecs.berkeley.edu/Pubs/TechRpts/2008/EECS-2008-28.html

In Kepler, if you do "View -> XML View", of a blank model, you will see
the URL to the DTD

<?xml version="1.0" standalone="no"?>
<!DOCTYPE entity PUBLIC "-//UC Berkeley//DTD MoML 1//EN"
     "http://ptolemy.eecs.berkeley.edu/xml/dtd/MoML_1.dtd">
<entity name="Unnamed1" class="ptolemy.actor.TypedCompositeActor">
     <property name="_createdBy" class="ptolemy.kernel.attributes.VersionAttribute" value="8.1.devel">
     </property>
     <property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList">
     </property>
     <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:7796:187:1">
     </property>
</entity>

The DTD may also be found in ptII/ptolemy/moml/MoML_1.dtd, which is
found as ptolemy/src/ptolemy/moml/MoML_1.dtd.

We don't see MoML as an internal format, though currently only Ptolemy
and software based on Ptolemy use MoML.  MoML is a MIME type,
see
http://www.iana.org/assignments/media-types/model/vnd.moml+xml


_Christopher


On 3/24/10 1:30 PM, Bertram Ludaescher wrote:
> Hi Ivens:
>
> What do you mean by the XML-Schema of Kepler?
>
> There is an XML format for describing Kepler workflows (called MOML and
> derived from Ptolemy II's Model Markup Language of the same name).
>
> However, I view MOML as mostly an internal format (i.e. "not for public
> consumption" ;-)
> Having said that, the MOML DTD is available (and you'll probably get a
> link to it shortly).
>
> Again, the MOML DTD may be the answer, but we can't be sure until you
> tell a bit more what you're after.
>
> cheers
>
> Bertram
>
> On Wed, Mar 24, 2010 at 11:57 AM, Ivens <ivensportugal at gmail.com
> <mailto:ivensportugal at gmail.com>> wrote:
>
>     Kepler Development Team,
>
>     I would like to download the XML-Schema of Kepler.
>     But I couldn't find it on Internet.
>
>     Could you, please, send me?
>
>     Thank You,
>     Ivens
>
>     _______________________________________________
>     Kepler-users mailing list
>     Kepler-users at kepler-project.org <mailto:Kepler-users at kepler-project.org>
>     http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>
>
>
>
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

-- 
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841 fax:510.642.2718	      (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670



More information about the Kepler-users mailing list