From 6f395f9f769866a04f6949cb7ed14f93d90cf728 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 13 Oct 2010 15:38:11 +0200 Subject: Map anySimpleType to a string --- xsde/cxx/serializer/generator.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xsde/cxx/serializer/generator.cxx') diff --git a/xsde/cxx/serializer/generator.cxx b/xsde/cxx/serializer/generator.cxx index 5c94c98..36539f4 100644 --- a/xsde/cxx/serializer/generator.cxx +++ b/xsde/cxx/serializer/generator.cxx @@ -703,6 +703,8 @@ namespace CXX String qname (L"const " + xns + L"::qname*"); String string_seq (L"const " + xns + L"::string_sequence*"); + xsd_std.types_push_back ("anySimpleType", "const char*", "const char*"); + xsd_std.types_push_back ("string", "const char*", "const char*"); xsd_std.types_push_back ("normalizedString", "const char*", "const char*"); xsd_std.types_push_back ("token", "const char*", "const char*"); @@ -728,6 +730,8 @@ namespace CXX String qname (xns + L"::qname"); String string_seq (L"const " + xns + L"::string_sequence*"); + xsd_std.types_push_back ("anySimpleType", "::std::string"); + xsd_std.types_push_back ("string", "::std::string"); xsd_std.types_push_back ("normalizedString", "::std::string"); xsd_std.types_push_back ("token", "::std::string"); -- cgit v1.1