> you can set the implementation and then it will use that.  Which I don't
think
> is done with all parsers. The only truely generic way to do is to program
to the
> dom interfaces and not to any implementation.
>
Some parsers aren't tied to a DOM.  Some may be.  I think it
is good to keep the parser separate from the DOM.

Sure, I can stick to using interfaces, but why can't the parser
as well?

Anyway, I think I've harped my point on enough messages to
let it be clear where I stand on this issue.  My main point is that
each module should be entirely separate from each other
module.  (There may be cases where for performance or other
reasons, this is too idealistic, but I think modularity of code
should always be among the primary goals of any design.)

- Tom


Reply via email to