Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kxml_compiler]Add support for xs:short type #9

Open
martonmiklos opened this issue Aug 10, 2016 · 2 comments
Open

[kxml_compiler]Add support for xs:short type #9

martonmiklos opened this issue Aug 10, 2016 · 2 comments
Assignees
Labels
kxml_compiler kxml_compiler

Comments

@martonmiklos
Copy link
Collaborator

Just like the title says.

@dfaure
Copy link
Collaborator

dfaure commented Aug 12, 2016

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()" },

@martonmiklos
Copy link
Collaborator Author

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 martonmiklos changed the title Add support for xs:short type [kxml_compiler]Add support for xs:short type Aug 26, 2018
@martonmiklos martonmiklos added the kxml_compiler kxml_compiler label Dec 5, 2019
@martonmiklos martonmiklos self-assigned this Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kxml_compiler kxml_compiler
Projects
None yet
Development

No branches or pull requests

2 participants