#include <xmltooling/QName.h>\r
#include <xmltooling/XMLObject.h>\r
\r
-using namespace xercesc;\r
-\r
#if defined (_MSC_VER)\r
#pragma warning( push )\r
#pragma warning( disable : 4250 4251 )\r
virtual void validate(const XMLObject* xmlObject) const=0;\r
\r
/**\r
+ * Returns a copy of the validator.\r
+ *\r
+ * @return the new validator\r
+ */\r
+ virtual Validator* clone() const=0;\r
+\r
+ /**\r
* Evaluates the registered validators against the given XMLObject and it's children.\r
* \r
* @param xmlObject the XMLObject tree to validate\r