* Marc Portier:
> The argumentation of the fix, namely to make the value-binding
> remove an element upon 'save' seems, currently, to be that this
> avoids after re-'load' some weird formatting result (from "" to
> "1/1/1970") in the i18n transformer caused by some external
> date-parser suggested in a patch that isn't applied?
You may be right that the date problem may not happen with
SimpleDateFormat because it is lenient by default. This has
nothing to do with the i18n transformer however, but with the
FormattingDateConvertor.
Now it's up to you to decide whether empty string is garbage or
not. For me, it is. Then your proposal to add an option to
instruct CForms to remove the XML node or to leave it empty makes
sense.
Anyway I should have been more careful when committing this
incompatible change, as you're right most Cocoon users may not
have been impacted by this problem.
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/