Imported Upstream version 2.91.2
[platform/upstream/libxml++.git] / libxml++ / relaxngschema.cc
index cf35ba8..02a2f16 100644 (file)
@@ -91,7 +91,7 @@ void RelaxNGSchema::parse_memory(const Glib::ustring& contents)
 void RelaxNGSchema::parse_document(const Document* document)
 {
   if (!document)
-    throw parse_error("RelaxNGSchema::parse_document(): document must not be 0.");
+    throw parse_error("RelaxNGSchema::parse_document(): document must not be nullptr.");
 
   // xmlRelaxNGNewDocParserCtxt() takes a copy of the xmlDoc.
   parse_context(xmlRelaxNGNewDocParserCtxt(const_cast<xmlDoc*>(document->cobj())));