kode
kode copied to clipboard
XML meta programming
The Enum's constructor got changed accidentally after the libkode uniformization: the useQEnums option got dropped there. However it is not necessary to put the useQEnum to the enums itself, but...
Hi folks! @dfaure @winterheart @cornelius I have started to do some work on getting the tests rolling again. I noticed one minor thing in which I would like to ask...
Hi, I get an error that kde-holidays.h is missing in the kxml_compiler/tests/kde-holidays.cpp
https://github.com/cornelius/kode/blob/e51659487fe69fdb93b1937d9869b05264c21943/libkode/class.cpp#L276 Whilst the enumWriteFunction return type shall be set to QString.
Sometimes it would be great to know from a generated parser/generator, that which version of the kxml_compiler generated it, so it would be useful to generate this to the heading...
The kxml_compiler segfaulted when generated code from an XSD where the root element was a complexType which was a sequence of elements. This was becasuse the subelements was not added...
With df66a59e14e27fff4b566a62d3904662e70fad75 we lost a feature: local files cannot be loaded. This needs to be fixed, and an unit test shall be added.
Inspired from the ST CubeMX tool it would be useful to have code sections in the generated codes which would persist between code generations. Basically the output files needs to...
Some applications only require writing or reading XML files with classes generated from schema. Turning off the unused feature would result smaller generated code, faster compilation time, greener world, etc....
XML files written with the kxml_compiler generated codes failing on XSD validation (with the XSD from what the code generated) because the root missing the xmlns attribute when the targetNamespace...