diff options
author | Mark Spruiell <mes@zeroc.com> | 2002-08-27 18:56:04 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2002-08-27 18:56:04 +0000 |
commit | 57e3b030a6c6d92b40db07fee710a5bcd60fb26d (patch) | |
tree | 70487e18f41d923b83dbde79bbbac6574703cc1c /cpp/src | |
parent | adding XML support (diff) | |
download | ice-57e3b030a6c6d92b40db07fee710a5bcd60fb26d.tar.bz2 ice-57e3b030a6c6d92b40db07fee710a5bcd60fb26d.tar.xz ice-57e3b030a6c6d92b40db07fee710a5bcd60fb26d.zip |
bug fix
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Slice/JavaUtil.cpp | 1 | ||||
-rw-r--r-- | cpp/src/slice2xsd/Gen.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/Slice/JavaUtil.cpp b/cpp/src/Slice/JavaUtil.cpp index 4c5779ff07a..75b457a5897 100644 --- a/cpp/src/Slice/JavaUtil.cpp +++ b/cpp/src/Slice/JavaUtil.cpp @@ -1682,6 +1682,7 @@ Slice::JavaGenerator::writeGenericSequenceMarshalUnmarshalCode(Output& out, writeGenericMarshalUnmarshalCode(out, scope, seq->type(), "\"e\"", "__elem", false, iter, false); out << nl << v << ".add(__elem);"; out << eb; + out << nl << stream << ".endReadSequence();"; } } } diff --git a/cpp/src/slice2xsd/Gen.cpp b/cpp/src/slice2xsd/Gen.cpp index b93dc8eeead..1cc2e94a7ff 100644 --- a/cpp/src/slice2xsd/Gen.cpp +++ b/cpp/src/slice2xsd/Gen.cpp @@ -392,6 +392,8 @@ Slice::Gen::visitDictionary(const DictionaryPtr& p) os << "xs:complexType name=\"" << internalId << scopeId << p->name() << "ContentType\""; O << se(os.str()); + annotate("struct"); + O << se("xs:sequence"); O.inc(); |