Author: kkaempf Date: Tue Jul 10 15:19:28 2007 New Revision: 39282 URL: http://svn.opensuse.org/viewcvs/yast?rev=39282&view=rev Log: fix <yemap> xml output to be compatible with <map> output Modified: trunk/core/libycp/src/YExpression.cc Modified: trunk/core/libycp/src/YExpression.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/libycp/src/YExpression.cc?rev=39282&r1=39281&r2=39282&view=diff ============================================================================== --- trunk/core/libycp/src/YExpression.cc (original) +++ trunk/core/libycp/src/YExpression.cc Tue Jul 10 15:19:28 2007 @@ -955,8 +955,10 @@ mapval_t *mapp = m_first; while (mapp) { + str << "<element>"; str << "<key>"; mapp->key->toXml( str, 0 ); str << "</key>"; str << "<value>"; mapp->value->toXml( str, 0 ); str << "</value>"; + str << "</element>"; mapp = mapp->next; } return str << "</map>"; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org