Skip to content

Commit

Permalink
log schemas used for validation
Browse files Browse the repository at this point in the history
  • Loading branch information
abeaucha committed Oct 3, 2024
1 parent 4c46f54 commit 10b1fc6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions six/modules/c++/six/source/XMLControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 10b1fc6

Please sign in to comment.