[ 
https://issues.apache.org/jira/browse/CXF-5392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13826726#comment-13826726
 ] 

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: https://issues.apache.org/jira/browse/CXF-5392
>             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
(v6.1#6144)

Reply via email to