From 10b1fc67c6edd3649ad24850f5578506799ca4fd Mon Sep 17 00:00:00 2001 From: abeaucha Date: Thu, 3 Oct 2024 14:58:28 -0400 Subject: [PATCH] log schemas used for validation --- six/modules/c++/six/source/XMLControl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/six/modules/c++/six/source/XMLControl.cpp b/six/modules/c++/six/source/XMLControl.cpp index e7137ffba..9e3b1b42e 100644 --- a/six/modules/c++/six/source/XMLControl.cpp +++ b/six/modules/c++/six/source/XMLControl.cpp @@ -257,6 +257,8 @@ static void validate_( uniq_schemas.erase(hitlist, uniq_schemas.end()); } + log.info(Ctxt(FmtX("Document matches schema(s): {%s}", str::join(uniq_schemas, ",")))); + const xml::lite::ValidatorXerces validator(uniq_schemas, &log); // validate against any specified schemas