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

  • From: David Megginson <ak117@f...>
  • To: xml-dev@i...
  • Date: Mon, 29 Dec 1997 11:53:11 -0500

Gavin Nicol writes:

 > >If we omit comments, then SAX-J would have to return only the
 > >following information:
 > >
 > >- elements
 > >- attributes
 > >- PIs
 > >- texts
 > 
 > I would recommend that you also leave in comments. That would allow
 > you to build a DOM representation, and write it out again such that
 > it would be very close to the original.

My guess is that the level-one DOM includes comments only to support
messed-up HTML-related tools that hide what should be processing
instructions in comments.  I don't know if we really want to dirty
ourselves with this in XML, unless we can come up with a compelling
reason.


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


  • References:
    • RE: IDL?
      • From: David Megginson <ak117@f...>
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member