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

Daniel Kulp commented on CXF-1546:
----------------------------------


This is a bug in StaxUtils.   We do:
        } else if (n instanceof Text) {
            writer.writeCharacters(((Text)n).getNodeValue());
        } else if (n instanceof CDATASection) {
            writer.writeCData(((CDATASection)n).getData());

but CDATASection is a subclass of Text so it always hits the first one and 
never the second one.  Flipping the two around fixes it.

Once SVN is up............................

> CDATA section markers removed from WSDL comments
> ------------------------------------------------
>
>                 Key: CXF-1546
>                 URL: https://issues.apache.org/jira/browse/CXF-1546
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: jdk1.5.0_06, xmlApi and xerces from jboss4.0.4GA, other 
> libraries should be in versions from 
> apache-cxf-2.1-incubator-20080408.031557-47
>            Reporter: jmi
>            Assignee: Daniel Kulp
>            Priority: Minor
>
> when jaxws:endpoint is craeted with wsdlLocation attribute, then result of 
> endpointname?wsdl is wsdl with these differences from original wsdl:
> - CDATA sections markers are missing in wsdl:documentation elements, which 
> efectivelly breaks formating of documentation in lots of wsdl viewers and 
> also in javadoc after using wsdl2java of various WS stacks.
> note that special character & was replaced with & (this replacement 
> shouldn't be done if CDATA is used)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to