cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aki Yoshida (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-4753) stax outTransform cannot deep-drop an element that has some attributes
Date Mon, 14 Jan 2013 19:24:12 GMT

     [ https://issues.apache.org/jira/browse/CXF-4753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aki Yoshida resolved CXF-4753.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.8.0
                   2.7.3
                   2.6.6
                   2.5.9
    
> stax outTransform cannot deep-drop an element that has some attributes
> ----------------------------------------------------------------------
>
>                 Key: CXF-4753
>                 URL: https://issues.apache.org/jira/browse/CXF-4753
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.7.2
>            Reporter: Aki Yoshida
>            Assignee: Aki Yoshida
>             Fix For: 2.5.9, 2.6.6, 2.7.3, 2.8.0
>
>
> When trying to remove a specific element and its child elements (i.e., deep-drop) using
stax transform feature, it fails to remove the element when there are some attributes present
in that element.
> This error is indicated by the following exception stack trace:
> javax.xml.stream.XMLStreamException: Trying to write an attribute when there is no open
start element.
> 	at com.ctc.wstx.sw.BaseStreamWriter.throwOutputError(BaseStreamWriter.java:1522)
> 	at com.ctc.wstx.sw.BaseStreamWriter.reportNwfStructure(BaseStreamWriter.java:1551)
> 	at com.ctc.wstx.sw.BaseNsStreamWriter.writeAttribute(BaseNsStreamWriter.java:226)
> 	at org.apache.cxf.staxutils.DelegatingXMLStreamWriter.writeAttribute(DelegatingXMLStreamWriter.java:79)
> 	at org.apache.cxf.staxutils.transform.OutTransformWriter.writeAttribute(OutTransformWriter.java:442)
> 	at org.apache.cxf.staxutils.StaxUtils.writeStartElement(StaxUtils.java:682)
> 	at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:574)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message