Bugzilla – Attachment #2483: different approach for bug #2447
std::istringstream iss; \
iss.str (value); \
iss >> m_value; \
NS_ASSERT_MSG (iss.eof (), "Attribute value " << "\"" << value << "\"" << " is not properly formatted"); \
return !iss.bad () && !iss.fail (); \
}