Commit Graph

4 Commits

Author SHA1 Message Date
Bertrand Lorentz
87275786b7 gapi.xsd: Fix type of array_len attribute in fieldType 2014-04-21 17:22:54 +02:00
Bertrand Lorentz
bc498ff650 generator: Add support for suppressing the Equals(T) method in structs
Similarly to what exists for GetHashCode, add a noequals attribute to
indicate we don't want the default Equals implementation.
2013-10-10 16:27:13 +02:00
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