RE: Convert DTD to IDL ?

Subject: RE: Convert DTD to IDL ?
From: "Frank A. Christoph" <christo@xxxxxxxxxxxxxxxxxx>
Date: Sat, 14 Mar 1998 01:22:53 +0900
>> Yes, I am working in a similar vein, I have been thinking of the
>> document instance as the state information for instantiating an
>> object and the CORBA/idl as defining the interface.


This is a very good idea that I have toyed around with myself.  The second
biggest problem with SGML in my mind is that it defines a data format rather
than an object interface.  This is precisely the reason that entities
references between documents are handled so badly, and HyTime tree pathlocs,
etc. are so useless.  If you define an interface to the document, then it is
possible to change the internal structure (alter the implementation) without
affecting document clients.  I think it is also possible to do something
like this with so-called architectures, but architectures are a mess without
even a hint of a well-defined semantics.

If this notion of document interfaces had existed when DSSSL was drawn up,
maybe DSSSL construction rules would be dispatching on the methods rather
than matching on the element names, etc.  DSSSL style sheets would be a
client of the document interface.

There is, incidentally, a dual way of attacking this problem; you abstract
over the "inputs" to the document rather than its "outputs" (the methods),
which turns it into sort of a very large lambda-function.  From this point
of view, DSSSL's construction rules are more sensible, because they resemble
pattern-matching as found in functional languages.  In fact, I have even
seen some work done on context-dependent pattern-matching, which looks a
little bit like a construction rule that matches a qualified element.

--FC




 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Convert DTD to IDL ?
    • linas - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id KAA11164Fri, 13 Mar 1998 10:26:51 -0500 (EST)
      • Gavin Nicol - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id LAA05861Tue, 17 Mar 1998 11:21:54 -0500 (EST)
        • linas - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id KAA27114Wed, 18 Mar 1998 10:02:47 -0500 (EST)
          • Gavin Nicol - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id KAA27766Wed, 18 Mar 1998 10:34:29 -0500 (EST)
      • <Possible follow-ups>
      • Frank A. Christoph - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id LAA12032Fri, 13 Mar 1998 11:17:05 -0500 (EST) <=
        • linas - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id XAA20545Fri, 13 Mar 1998 23:02:19 -0500 (EST)
      • Reynolds, Gregg - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id KAA28055Wed, 18 Mar 1998 10:41:03 -0500 (EST)
      • Gavin Nicol - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id MAA29667Wed, 18 Mar 1998 12:19:34 -0500 (EST)