I see XSTR-367 <http://jira.codehaus.org/browse/XSTR-367> has been closed.

I have a case where I read an attribute with the date format used in dates
strings in subsequent tags. I wanted to read this date format using a
SingleValueConverter that would store it in the context data holder, but
SingleValueConverter does not receive such context.

I'd like to know if it is possible to override this behaviour.

Example:

<root format="yyyy/MM/dd">
    <entry date="1980/01/09">
        <some-terribly-important-values>...
    </entry>
   ...
</root>

As it stands, the only solution I see is to construct a Converter for the
whole entry object. I wanted to avoid this since the entry is a complex
object and I want to keep the coding to marshall/unmarshall to a minimum.

I'd like to propose this scenario and ask for reopen of
XSTR-367<http://jira.codehaus.org/browse/XSTR-367>
.

Thanks,
Carlos.

Reply via email to