[
https://issues.apache.org/activemq/browse/CAMEL-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44567#action_44567
]
Jonas Lim commented on CAMEL-632:
---------------------------------
I was initially thinking of creating a plugin for this but the schema generator
class does not seem to be extensible to be able to create a "plugin" to
intercept it before the generated schema is written down to the xsd document.
the other option here is to hack the jaxb ri and add this functionality
> hack the XSD generator (patching JAXB's mvn plugin) so that the javadoc is
> included in the generated XSD as documentation
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-632
> URL: https://issues.apache.org/activemq/browse/CAMEL-632
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: James Strachan
> Assignee: Jonas Lim
> Fix For: 1.5.0
>
>
> In tools like Eclipse/IDEA there is smart completion when editing the XML
> with the XSD; however there's no documentation for elements/attributes.
> We should extract the JavaDoc from the Java code and include it into the
> generated XSD. There's an existing issue here...
> https://jaxb.dev.java.net/issues/show_bug.cgi?id=369
> as part of this we need to improve the javadoc too :)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.