On Sun, 2004-09-19 at 23:07, [EMAIL PROTECTED] wrote:
> The following comment has been added to this issue:
> 
>      Author: dion gillard
>     Created: Sun, 19 Sep 2004 11:07 PM
>        Body:
> Wow this sure is ugly.
> 
> Code mixed with class definitions in XML. Is there some discussion on why 
> this has ended up in an XML file instead of javadoc attributes 

The model is used to generate the Java source files. The source files
are not the model so there are no attributes to use.

> or why its 
> not defined via an XML schema?

Castor, the tool from which I borrowed heavily for modello, was the only
tool which could generate source from an XMLSchema at the time I started
the effort but with m1's defective model making additions to the
generated source were necessary and most generative systems have this
feature but Castor didn't. So I took the java source generator from
Castor and defined a simple model. It has worked fabulously for the
better part of 6 months.

Trygve, Brett, Emmanuel, and myself have all made additions to Modello
and it's use will mean much better documentation as an XSD and xdoc can
be generated from the model.

-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://maven.apache.org

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

 -- Thoreau 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to