Commit graph

2 commits

Author SHA1 Message Date
Bertrand Lorentz a0203691a4 gapi.xsd: Reorder attribute definitions so that the name comes first
This improves the readibility of the schema, but does not really change
it.
2013-03-24 11:18:25 +01:00
Bertrand Lorentz 7180011c22 Add and use gapi.xsd to validate GAPI XML files
The structure of a GAPI XML file is now defined by the XML schema in
gapi.xsd.

This XSD is now used by the generator to do a first sanity check on an
XML file before trying to generate code from it. Each generatable object
still does its own validation.

The XSD can also be seen as a documentation of the GAPI XML format, and
can be used by third-parties that produce GAPI XML to validate their
output.
2013-02-23 14:32:04 +01:00