else
return false;
}
+
+bool xmltooling::operator==(const Namespace& op1, const Namespace& op2)
+{
+ return (XMLString::equals(op1.getNamespacePrefix(), op2.getNamespacePrefix()) &&
+ XMLString::equals(op1.getNamespaceURI(), op2.getNamespaceURI()));
+}
*/
extern XMLTOOL_API bool operator<(const Namespace& op1, const Namespace& op2);
-#ifndef HAVE_GOOD_STL
/**
* Returns true iff op1's namespace and prefix are equal to op2's namespace and prefix.
* @param op1 First namspace to compare
* @param op2 Second namespace to compare
*/
extern XMLTOOL_API bool operator==(const Namespace& op1, const Namespace& op2);
-#endif
};