[jdom-interest] possible bug in removeContent()
Brett McLaughlin
brett at newInstance.com
Thu Jul 12 10:21:03 PDT 2001
>
> prints:
>
> ...t1
> ...t2
>
> Should the consecutive text nodes be merged as per xml spec like when you
do
> addContent(), ie should the output be "...t1t2"
Where is this per the XML spec?
I see this as correct behavior, even more so when we have a Text node, which
is coming soon. Now if we had some sort of normalize() behavior, like DOM,
then maybe put them together, but I don't think it should happen
automatically.
-Brett
More information about the jdom-interest
mailing list