views:

30

answers:

1

How does the GPLv3 license apply to source code generated from a XML? Will I have to put the license in the XML files and/or the generated source?

EDIT: What I am is doing is this: The XML are like compile-time "plugins" into this program that I have. Partly my question is that are the XMLs required to be included in the distributed source if the distributed program was built with them? Also, when the program is built, a seperate "generator" program is built first, then it runs in the "plugin" directory to generate the appropiate source and header files, and then the main program gets built with the generated source

A: 

You can put the XML under any license you like, provided that the license is compatible with the license of the program that consumes it. Just as such, the generated code can be under any license desired that is compatible with the program that will use it, provided the provisions given in the license used for the XML data files.

Ignacio Vazquez-Abrams