xs:restriction -> xsd:restriction
minoccurs -> minOccurs
Reviewed By: marc
Test Plan: sandbox
Revert Plan: revertible
Notes:
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664957
13f79535-47bb-0310-9956-
ffa450edef68
"<xsd:simpleType name=\"" << ttypedef->get_name() << "\">" << endl;
indent_up();
indent(s_xsd_types_) <<
- "<xs:restriction base=\"" << type_name(ttypedef->get_type()) << "\" />" << endl;
+ "<xsd:restriction base=\"" << type_name(ttypedef->get_type()) << "\" />" << endl;
indent_down();
indent(s_xsd_types_) <<
"</xsd:simpleType>" << endl << endl;
string name,
t_type* ttype,
bool optional) {
- string soptional = optional ? " minoccurs=\"0\" maxOccurs=\"1\"" : "";
+ string soptional = optional ? " minOccurs=\"0\" maxOccurs=\"1\"" : "";
if (ttype->is_void() || ttype->is_list()) {
indent(out) <<