<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 5 Jun 2009, at 16:20, Alejandro Montenegro wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On Fri, Jun 5, 2009 at 11:01 AM, Jason T. Greene <span dir="ltr">&lt;<a href="mailto:jason.greene@redhat.com">jason.greene@redhat.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div class="im">Vladimir Blagojevic wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> I would also:<br> <br> - remove current hand maintained schema<br> - create schema by automated tools given metadata in annotations<br> - create all human readable documentation from these annotations ; my original JIRA [1]<br> - read all configuration elements from xml using metadata in annotations thus avoiding "by hand" reading we have now<br> </blockquote> <br></div> Sounds like JAXB :) Although the issue with that, from the last time I suggested it is that it brings in an extra dep on JDK5. JDK5 will be end-of-life soon though.</blockquote><div><br><br>by my understanding is not JAXB, but homemade annotations as the ones made in jgroups, that will be able to create all human readable documentation..</div></div></blockquote><div><br></div><div>Well, the bit about parsing XML into the Configuration bean is very JAXB-like. &nbsp;This is why I suggested that Vladimir splits this up into 2 separate JIRAs - one to annotate the Configuration bean so that we can generate meaningful documentation from it - and to actually write the custom Doclet to do so, and the second to generate the XSD and parse configuration XML files. &nbsp;Which may well end up using JAXB, especially since, as Jason pointed out, JAXB is in Java6.</div><div><br></div><div>Cheers</div></div><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--</div><div>Manik Surtani</div><div><a href="mailto:manik@jboss.org">manik@jboss.org</a></div><div>Lead, Infinispan</div><div>Lead, JBoss Cache</div><div><a href="http://www.infinispan.org">http://www.infinispan.org</a></div><div><a href="http://www.jbosscache.org">http://www.jbosscache.org</a></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br></body></html>