Fix xml representations
[anna.git] / source / diameter.comm / ClassCode.cpp
index 0c8cfc0..40d2c37 100644 (file)
@@ -15,12 +15,12 @@ using namespace std;
 //throw() {
 //   static const char* text [] = { "Undefined", "Bind", "ApplicationMessage" };
 //   string result("ClassCode: ");
-//   return result += (v >= Min && v < Max) ? text [v] : "<null>";
+//   return result += (v >= Min && v < Max) ? text [v] : "[null]";
 //}
 
 string anna::diameter::comm::ClassCode::asText(const ClassCode::_v v)
 throw() {
   static const char* text [] = { "Undefined", "Bind", "ApplicationMessage" };
-  return string((v >= Min && v < Max) ? text [v] : "<null>");
+  return string((v >= Min && v < Max) ? text [v] : "[null]");
 }