aboutsummaryrefslogtreecommitdiff
path: root/xsde/cxx/serializer/generator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsde/cxx/serializer/generator.cxx')
-rw-r--r--xsde/cxx/serializer/generator.cxx4
1 files changed, 4 insertions, 0 deletions
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");