[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XML and MONDO

  • From: "Mark L. Fussell" <fussellm@a...>
  • To: xml-dev@i...
  • Date: Mon, 1 Dec 1997 14:32:50 -0800 (PST)

XML and MONDO

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@c...





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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.