Aaron,
I talked to Dan who knows how the StAX framework does it's parsing and
he says that it was fairly good whitespace control.
We are using StaX in the work that Shane has done and maybe you could
evaluate if this is just another framework that doesn't preserve
formatting and maybe you could integrate your ideas into StaX if they
don't as we have a investment already in StAX directly in the work
Shane has done and the work Brett has done on the modello side.
The other thing is that do you think you could make your parser comply
to the pull parser API? Then we could try to plug it into the work
we've already done?
But I think looking at StAX and possibly trying to patch that to be
smarter about formatting, if necessary, might be a better route for us.
On 31-Jul-08, at 12:19 PM, Aaron Digulla wrote:
Michael McCallum schrieb:
there is already <http://www.xom.nu/> that is worth considering...
its goal is
correctness and roundtripability ;-)... its mature and stable... i
have used
it and been very happy
xom doesn't preserve whitespace in elements (no XML parser besides
DecentXML can do that) and it doesn't preserve CDATA and entities.
Also, you can create elements with special whitespace between the
element attributes, for example.
Regards,
--
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://darkviews.blogspot.com/ http://www.pdark.de/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
jason at sonatype dot com
----------------------------------------------------------
Our achievements speak for themselves. What we have to keep track
of are our failures, discouragements and doubts. We tend to forget
the past difficulties, the many false starts, and the painful
groping. We see our past achievements as the end result of a
clean forward thrust, and our present difficulties as
signs of decline and decay.
-- Eric Hoffer, Reflections on the Human Condition
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]