wsdl2java puts javadoc comments for a property at the wrong place
-----------------------------------------------------------------

                 Key: CXF-1739
                 URL: https://issues.apache.org/jira/browse/CXF-1739
             Project: CXF
          Issue Type: Bug
          Components: Tooling
    Affects Versions: 2.1.1
            Reporter: Ed Wei


when using a custom jaxb binding file, when <jaxb:javadoc> is used on a 
property, the javadoc should be created on the field, not on the getter of the 
field.  Here's an example of the binding file:

<jaxb:bindings node="xs:[EMAIL PROTECTED]'myComplexType']">
  <jaxb:bindings node="/xs:complexContent/xs:extension/xs:sequence/xs:[EMAIL 
PROTECTED]'myField']">
    <jaxb:property>
      <jaxb:javadoc>
        <![CDATA[this comment should appear on the field, not the getter of the 
field]]>
      </jaxb:javadoc>
    </jaxb:property> 
  </jaxb:bindings>      
</jaxb:bindings>


-- 
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