cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <>
Subject [jira] [Commented] (CXF-5392) Custom Marshalling Validation Event Handler
Date Tue, 19 Nov 2013 17:43:21 GMT


Daniel Kulp commented on CXF-5392:

This patch is good for 2.7.x.  Current behavior would be retained, new property for new behavior.

For 3.0, I'm going to change this slightly.   The current "jaxb-validation-event-handler"
will apply to both reader/writer.   I've then added a reader properly (like your writer property)
that can be used to configure them separately.

> Custom Marshalling Validation Event Handler
> -------------------------------------------
>                 Key: CXF-5392
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: JAXB Databinding
>    Affects Versions: 2.7.7
>            Reporter: Joe Wertz
>            Assignee: Daniel Kulp
>              Labels: features
>         Attachments: apacheCXF-trunk-CustomMarshallingEventValidator.patch
> The current JAXB implementation allows a custom unmarshalling validation event handler
configured by the property: 
> jaxb-validation-event-handler
> There should also be a custom marshalling validation event handler property like: 
> jaxb-writer-validation-event-handler
> Almost the entire structure for such a property already seems to exist, with the only
lacking implementation in the DataWriterImpl. The only thing I'd like to know before implementing
and submitting some code is what the property should be called exactly.

This message was sent by Atlassian JIRA

View raw message