[kepler-users] XML-Schema

Christopher Brooks cxh at eecs.berkeley.edu
Thu Mar 25 08:09:25 PDT 2010


Hi Ivan,
For information about validating MoML, see
http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-users/2010-January/001871.html

_Christopher

On 3/25/10 6:40 AM, Ivens wrote:
> Hi Bertram and Christopher,
> I study Computer Science and I'm using XSLT to process (and re-create)
> the XML generated by kepler.
> Because of that, I need to validate the new XML,
> Until now, to make sure my new XML is valid, I just try to open the file
> using Kepler, but it could be easily done if I had the XML-Schema that
> Kepler uses (if it exists).
> I've already found the DTD.
> Thank You for your help,
> Ivens
>
> On Wed, Mar 24, 2010 at 6:09 PM, Bertram Ludaescher
> <ludaesch at ucdavis.edu <mailto:ludaesch at ucdavis.edu>> wrote:
>
>     Hi Christopher:
>
>     Thanks for sending the links!
>     I guess I should clarify my statement: When I said, I view MOML as
>     an internal format, I meant:
>      From a Kepler POV, this is a format that first and foremost the
>     workflow engine needs to understand.
>     Also an actor or package developer may need to understand MOML.
>     But I don't expect the typical end users to understand MOML.
>     They want to run (and maybe design and evolve) workflows and
>     in-silico experiments focusing their attention e.g. on genomics,
>     ecology, phylogeny and the associated methods, algorithms etc.
>
>     Conversely, I don't have a good use case that would have them work
>     with the MOML directly (say looking at the file and editing it). For
>     "workflow engineers" (that put together packages, or new ways of
>     doing workflows, etc) this may be a different story.
>
>     cheers
>
>     Bertram
>
>
>     On Wed, Mar 24, 2010 at 1:48 PM, Christopher Brooks
>     <cxh at eecs.berkeley.edu <mailto:cxh at eecs.berkeley.edu>> wrote:
>
>         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
>         <http://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>
>             <mailto: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>
>             <mailto: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
>             <mailto: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
>
>         _______________________________________________
>         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
>
>
>

-- 
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