[xsd-users] License and Portability

Boris Kolpackov boris at codesynthesis.com
Sun Jun 19 17:07:41 EDT 2011


Hi Joël,

It sounds like you will be adding quite a few transformation 
algorithms on top of the generated code so I believe you should
be fine using the FLOSS exception. However, you will need to
run the XSD compiler yourself and include the generated code
into the library (probably along with the libxsd headers). If
users of your library compile the schemas themselves then
they will be getting the generated code under the GPL.

Regarding XPath, currently you can run XPath on the object model
using the DOM association feature (see the 'xpath' example for
details). The major limitation of this approach is that it only
works on unmodified object models. For the next release of XSD
we are considering adding native XPath execution that will remove
this limitation.

Boris



More information about the xsd-users mailing list