for (it = newXattrs.begin(); it != newXattrs.end(); it++) {
key = it->first;
- // XXX: bug in Extensible? for bool type "true" not mapped to true
- if (it->second.type() == typeid(bool)) value = Extensible::anyToBoolean(it->second) ? std::string("1") : std::string("0");
- else value = Extensible::anyToString(it->second);
+
+ // used to be bug in Extensible? bool type "true" not mapped to true
+ //if (it->second.type() == typeid(bool)) value = Extensible::anyToBoolean(it->second) ? std::string("1") : std::string("0");
+ //else value = Extensible::anyToString(it->second);
+
+ // OK, it's working now :-)
+ value = Extensible::anyToString(it->second);
+
if (oldXattrs.hasField(key)) {
oldvalue = Extensible::anyToString(oldXattrs[key]);
if (oldvalue != value) {