[Home] [By Thread] [By Date] [Recent Entries]

  • From: David Megginson <ak117@f...>
  • To: xml-dev@i...
  • Date: Sun, 28 Dec 1997 20:21:12 -0500

Paul Prescod writes:

 > > In other words, a DOM builder would be just another an event-based
 > > SAX-J application.
 > 
 > I don't think that this model is possible. It would require SAX to support
 > all of the information that the DOM needs. That would knock the "Simple"
 > right out of SAX.

Not necessarily.  A level-one DOM does not require that much, and we
could elect not to deliver certain information (like comments).  I am
not suggesting that we deliver the information required for the
XML-specific DTD nodes.

If we omit comments, then SAX-J would have to return only the
following information:

- elements
- attributes
- PIs
- texts

This should be sufficient for building a useful DOM.  Strictly by the
book, we specify whether each attribute was specified or defaulted,
and we should specify which text is ignorable whitespace.



All the best,


David

-- 
David Megginson                 ak117@f...
Microstar Software Ltd.         dmeggins@m...
      http://home.sprynet.com/sprynet/dmeggins/

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...)


  • Follow-Ups:
    • RE: IDL?
      • From: Peter Murray-Rust <peter@u...>
  • References:
    • RE: IDL?
      • From: David Megginson <ak117@f...>
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member