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

Re: Access Languages are Tied to Schemas

  • From: "Mark L. Fussell" <fussellm@a...>
  • To: xml-dev@i...
  • Date: Thu, 20 Nov 1997 12:40:21 -0800 (PST)

identity state behavior

Jonathan Robie <jwrobie@m...> wrote
> The following properties of object models are easily represented in 
> SGML/XML:
> o       Identity
> o       State
> o       Type

I would disagree that even these items can be easily represented in 
SGML/XML (for example, State is more complicated than a particular set of 
attribute values).  I think it is more the other way around: SGML/XML has 
a particular model of Identity, State, and Type which an object model can 
easily represent.

But in any case, these items are (mostly) the core concept of OO (i.e. 
Objects) instead of being properties of object models.  Objects have 
Identity, State, and Behavior where the implementation of both state and 
behavior is encapsulated.  Object models describe the possible objects 
and structures that can exist in a system.  This will include describing[1]:

    Types:         The interfaces (methods, associations, and abstract 
                   state) that objects can have.  

    Associations:  The possible relationships between objects 
    Operations:    The messages an object can respond to
    State Models:  The possible state transitions for an object
    Attributes:    The simple associations (to basic value types) of an 
                   object

    Inheritance:   The similarities/relationships among types

DTDs can describe some of this modeling information, but not particularly 
well and really only for a limited set of object models.  Examples of 
weaknesses are: only one true association (content) which is a pure 
containment, all other attributes must be basic data types, limited 
cardinality control, likelihood of arbitrary ordering, inability (or 
difficulty) to express Type relationships, inability (or difficulty) for 
an Object to support more than one type.  These are weaknesses compared 
to the most basic modeling abilities of common modeling techniques (UML, 
Booch, HOOD, Syntropy, OORAM).

Thought about another way, DTDs are good models for textual input of 
information (what rules must be satisfied by the encoding) but this 
should be considered only a view onto the true information model.  
SGML/XML describes a construction view of an information model and 
provides the front-end to instantiating an Objectbase from that model.  

Using SGML/XML to try to describe any information model (via DTDs) will 
be over extending its abilities into areas where other tools/techniques 
are much better qualified.

--Mark
mark.fussell@c...

[1] An implementation of an object model (or an implementation model 
developed from a conceptual model) also uses classes, methods, and 
instance variables to satisfy the above descriptions within a particular 
system.  I am trying to use the most established and main-stream 
definitions of all these terms, but you may also want to see the 
references at the MONDO site for possible different definitions (e.g. 
Dictionary of Object Technology [Fireside+E 95]).

  i   ChiMu Corporation      Architectures for Information
 h M   info@c...         Object-Oriented Information Systems
C   u    www.chimu.com         Architecture, Frameworks, and Mentoring


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.