[XOM-interest] Exposing XMLHandler
Elliotte Harold
elharo at metalab.unc.edu
Fri Sep 28 04:25:40 EDT 2007
Alan Gutierrez wrote:
This is the best description I've heard yet of why you want to do this.
Thanks. I'll think abut it.
> Taking a step back.
>
> XOM provides a means to create an XOM document by sending events to a
> ContentHandler and LexicalHadnler. The XOM implementations of
> ContentHandler and LexicalHandler are exposed. They are made
> available to client programs through an implementation of XMLReader.
> This is something that I've described.
>
This is an accident, not a deliberate decision, and arguably it's a bug.
I think I agree with you that XOMHandler is pretty well exposed now.
However rather than expose it completely, I may close the hole that
exposed this in the first place. If you do convince me there's a
significant use case here, my suspicion is there should be a separate
handler class in the nu.xom.converters package rather than exposing the
one in the core.
--
Elliotte Rusty Harold elharo at metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
More information about the XOM-interest
mailing list