Hi Pavel,
>> looks like fix for that issue was reverted and I didn't update original
>> issue (sorry for that) - reopened.
>
> thanks, I haven't looked at the CVS to see the actual commits...
>
>>>
>>> Secondly, even though the jsr-222 specs and Binder API docs says that
>>> it should preserve XML comments and formatting, calling the updateXML
>>> method yields reformatted XML with many whitespaces (in fact almost
>>> all whitespaces) and all comments removed.
>>>
>>
>> feel free to file a new issue, preferably with a testcase
>
> okay, I will try to produce a minimal failing case.
>
>>> Thirdly, I need to have pretty-formatted XML. With Marshaller, I can
>>> do this with the jaxb.formatted.output property, but Binder ignores
>>> that. Do you have any ideas how to deal with pretty-formatting wrt the
>>> Binder implementation?
>>>
>>
>> that should work - do you get PropertyException when you try
>> Binder.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true); ?
>
I've created a simple testproject, which demonstrates 3 different
issues with the binder. I cannot open a new issue on java.net, since
I'm not an observer of this project. I'm attaching the project here,
it's pretty small.
thanks,
Adam