From f6b8d77a068e9c077746a217380d5fa5ef936aa5 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/six/modules/c++/six/source/XMLControl.cpp b/six/modules/c++/six/source/XMLControl.cpp index e7137ffba..0f189a6ef 100644 --- a/six/modules/c++/six/source/XMLControl.cpp +++ b/six/modules/c++/six/source/XMLControl.cpp @@ -257,6 +257,9 @@ 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