You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Fadi Mohsen (Jira)" <ji...@apache.org> on 2021/12/22 22:47:00 UTC

[jira] [Commented] (CXF-8632) StaxTransformFeature deep-dropping doesn't work with any element

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

Fadi Mohsen commented on CXF-8632:
----------------------------------

What is the purpose of AppConfig.staxTransformFeature inner code?
your application works just fine if you comment away the transformation mapping:


{code:java}
    @Bean
    public StaxTransformFeature staxTransformFeature() {
        return new StaxTransformFeature();
//        var transformFeature = new StaxTransformFeature();
//        Map<String, String> transformation = Map.of("{http://www.jpworks.com/employee}skippedElement", "");
//        transformFeature.setInTransformElements(transformation);
//        return transformFeature;
    } {code}

> StaxTransformFeature deep-dropping doesn't work with any element
> ----------------------------------------------------------------
>
>                 Key: CXF-8632
>                 URL: https://issues.apache.org/jira/browse/CXF-8632
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>            Reporter: AleskeiMironov
>            Priority: Major
>         Attachments: ws-employee-soapcxf.zip
>
>
> I've run a problem when StaxTransformFeature deep-dropping stop in 
> handleDeepDrop method and has stuck.
> ( org.apache.cxf.staxutils.transform.InTransformReader#handleDeepDrop )
>  
> expected result: the element skippedElement should be removed
> actual: the request has stuck
>  
> example project: [^ws-employee-soapcxf.zip]
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)