[Uml-devel] Bug fix patch: xmlschemawriter
Luis De la Parra Blum
lparrab at gmx.net
Tue Mar 18 14:27:24 UTC 2003
On Tuesday 18 March 2003 21:40, Brian Thomas wrote:
> > It does have the processing instruction and schema. Have you done a cvs
> > update and make install on headers/ directory ?
>
> Yes, and its wrong, in my opinion, to put these things in a "headings"
> file. That stuff is not supposed to be critical as to whether the code
I think Brian is right.
The heading files are just templates for adding comments to all of your
generated files, normally license / copyright info.
Including such a heading file is completly optional (uncheck the "include
heading file") and you can have different heading files for different
proyects you are working on (for example one for adding a GPL licence to your
umbrello work and one for adding some other copyright/license to other
projects you do)
on the ohter hand, the processing directive Brian is talking about is not
optional, it is part of the file and the file is not complete or syntactly(?)
correct without it.
having the processing directive in a heading file would be like having the
CppWriter generate only operation and attribute declarations and having a
heading file containing the text " class <CLASSNAME> { "
you *could* get it to work (using variable substitution to replace <CLASSNAME>
with the right value at generation time) but it would be wrong
luis
More information about the umbrello-devel
mailing list