kode icon indicating copy to clipboard operation
kode copied to clipboard

[kxml_compiler]Add support for xs:short type

Open martonmiklos opened this issue 9 years ago • 2 comments

Just like the title says.

martonmiklos avatar Aug 10 '16 21:08 martonmiklos

Where exactly? It's already supported in kwsdl at least.

./schema/typestable.cpp:46: mBasicTypes["short"] = XSDType::SHORT; ./kwsdl/typemap.cpp:61: addBuiltinType("short", "short"); ./kwsdl/converter_utils.cpp:55: { "short", "short", "QString::number( *value )", "str.toShort()" },

dfaure avatar Aug 12 '16 08:08 dfaure

To the kxml_compiler for generating C++ code from XSD/XML. I have came across an XSD which contained an xs:short item and it generated string member for the element. I have already fixed it, just I need to extend the tests to cover this type too.

martonmiklos avatar Aug 12 '16 08:08 martonmiklos