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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: IDL?

[ Lists Home | Date Index | Thread Index ]
  • From: David Megginson <ak117@freenet.carleton.ca>
  • To: xml-dev@ic.ac.uk
  • Date: Sat, 27 Dec 1997 07:42:27 -0500

Peter Murray-Rust writes:

 > >1) (My suggestion.)  A pre-DOM interface, defining the events returned
 > >   by an XML parser, and providing enough information to build a DOM
 > >   tree (PIs, attributes, elements, data, DOCTYPE declarations, etc.).
 [...]
 > By "pre-DOM" I assume you mean:
 > 	- valid only until the DOM comes into effect
 > 	- (possibly) a subset of DOM functionality.

Actually, I am using it in a linear-processing model (you must view
this with a monospaced font like Courier):

* David's Model:

  PARSER --> SAX-J --> DOM --> [tree-based user application]
               |
               --------------> [event-based user application]

In other words, a DOM builder would be just another an event-based
SAX-J application.

 > >2) (Tim's suggestion.)  A post-DOM interface, for people who don't
 > >   want to learn the complexity of the DOM, and providing only the
 > >   minimum possible information (elements, attributes, and data).
 > 
 > By "post-DOM" I assume you mean "will not be onsoleted by the DOM", rather
 > than "cannot be put into operation until the DOM.

In this case, I am using a slightly different model:

* Tim's Model:

  PARSER --> DOM --> SAX-J --> [event-based user application]
              |
              ---------------> [tree-based user application]

In other words, SAX-J would be just a simpler event-based API for the
DOM.

I don't see a very pressing need for the latter -- tree structures are
familiar to coders, whether or not know anything about XML -- but I
would be happy to implement it if requested (I do not want to exclude
PI's, however, since that will exclude the possiblity of using
architectural forms and other standards working on top of XML).

Is this what everyone else is expecting?


All the best,


David

-- 
David Megginson                 ak117@freenet.carleton.ca
Microstar Software Ltd.         dmeggins@microstar.com
      http://home.sprynet.com/sprynet/dmeggins/

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)


  • Follow-Ups:
    • RE: IDL?
      • From: Jonathan Robie <jwrobie@mindspring.com>
    • RE: IDL?
      • From: Peter Murray-Rust <peter@ursus.demon.co.uk>
  • References:
    • RE: IDL?
      • From: Andrew Layman <andrewl@microsoft.com>
    • RE: IDL?
      • From: David Megginson <ak117@freenet.carleton.ca>
    • RE: IDL?
      • From: Peter Murray-Rust <peter@ursus.demon.co.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