OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   XML and MONDO

[ Lists Home | Date Index | Thread Index ]
  • From: "Mark L. Fussell" <fussellm@alumni.caltech.edu>
  • To: xml-dev@ic.ac.uk
  • Date: Mon, 1 Dec 1997 14:32:50 -0800 (PST)


I have had a couple negative reactions to posting the MONDO notes on 
XML-Dev, so I will stop until I have a code release.  I thought I would 
explain the one issue: What does MONDO have to do with XML?

MONDO uses XML as an encoding format for recipes (recipes are similar to 
an event stream but reduced to an even simpler core [e.g. like LISP]).  
Internally, MONDO does not care about what the textual encoding is but 
XML is the most likely to gain widespread acceptance for use with MONDO.

Now if MONDO uses XML, why were all my examples in a different markup
(which MONDO calls OML)?  Simply for brevity and ability to directly show
what is happening (or so I thought).  The transformation between OML and
XML is trivial (they both encode exactly the same
event-stream/data-structure as far as MONDO is concerned).  This is
described in detail in Chapter 4 & 5 & ?11 (an appendix) of the MONDO
Design document.  For example, two common examples are (in XML): 

    <Period>
        <start><Date iso="1997-10-01"/></start>
        <end><Date/></end>
    </Period>

    <Model><types><List>
        <Type name="Date" description = "A Gregorian Calendar Date">
	    <properties><List>
		<Property name="day">
                     <type><TypeReference name="Number"/></type>
                </Property>
		<Property name="month">
                     <type><TypeReference name="Month"/></type>
                </Property>
		<Property name="year">
                     <type><TypeReference name="Number"/></type>
                </Property>

		<Property name="iso">
                     <type><TypeReference name="String"/></type>
                </Property>
            <List></properties>

            <constructors><List>
                 <Constructor><List></List></Constructor>
                 <Constructor><List><String>iso</String></List></Constructor>
            </List></constructors>
        </Type>
    </List></types></Model>

What MONDO's Builder (can be considered a generalization of a 
GroveBuilder) sees would be identical whether in the above or OML.  This 
is part of the benefits of its architecture.  

Aspects of that overall architecture is what I was "promoting" and 
soliciting feedback on, not OML itself.  Again, I probably made the wrong 
choice to put the examples in OML when posting to an XML group, so I 
apologize for that.  

--Mark
mark.fussell@chimu.com





xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS