XML-instruction <![CDATA[]]> is included in Javadoc of generated Java class.
----------------------------------------------------------------------------

                 Key: JIBX-403
                 URL: http://jira.codehaus.org/browse/JIBX-403
             Project: JiBX
          Issue Type: Bug
          Components: CodeGen
    Affects Versions: JiBX 1.2.2
         Environment: Windows XP; java version "1.6.0_13"
            Reporter: Tim Friske
            Priority: Trivial


When an XSD-file is generated with the Javadoc embedded from its originating 
Java class and that generated XSD-file is now being used to revert the 
generation process in order to generate the Java class file from it the JiBX 
component "CodeGen" unfortunately includes the XML-instruction <![CDATA[]]> 
Javadoc found in corresponding the XSD-documentation.

I would expect the JiBX component "CodeGen" to strip of the XML-instruction 
<![CDATA[]]> from any XSD-dcoumentation that is converted into Javadoc.

Example of the Javadoc as it is generated now:

/** 
 * <![CDATA[<p>Abstract</p>]]>
 * 
 * Schema fragment(s) for this class:
 * <pre>
 * </pre>
 */

Example of the Javadoc as it should be generated in future:

/** 
 * <p>Abstract</p>
 * 
 * Schema fragment(s) for this class:
 * <pre>
 * </pre>
 */

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to