W3C home > Mailing lists > Public > www-dom-xpath@w3.org > May 2000

Re: [dom-xpath] XPath or? (was RE: Announcing www-dom-xpath@w3.org)

From: Scott Boag/CAM/Lotus <Scott_Boag@lotus.com>
Date: Tue, 2 May 2000 16:10:15 -0400
To: www-dom-xpath@w3.org
Message-ID: <OF22A814CC.9D791D98-ON852568D3.006DF823@lotus.com>

"Michael Champion" <Mike.Champion@SoftwareAG-USA.com> wrote:
> The main argument for putting it *in* the
> DOM is efficiency - one can do a lot inside a DOM implementation to
support
> indexing/inverted lists/etc. that would make XPath queries work well that
> would be much harder *on top of* the DOM.

You can still do that, and throw a DOMImplNotSupportedException or some
such if an implementation can't work with generic DOM APIs.  You get more
choices in terms of handling generic DOMs using one design, and less
choices using the other.

> Anyway, I'm
> not sure what "lesson" JDOM has for DOM;

Don't get me wrong, I don't like JDOM in a big way.  But I think it's a
message.  People are finding the DOM overly complex.  Things like the
StyleSheet interface, which should never have gone into the DOM, in my
opinion, are adding to this.

-scott
Received on Tuesday, 2 May 2000 16:30:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:43:07 UTC