public static List<String> validateXml(InputStream schemaStream, String xmlString) throws Exception {
      return validateXml(schemaStream, xmlString, null);
   }
@Test
   public void testValidXmlAgainstValidSchema() throws Exception {
      InputStream schemaStream = new FileInputStream("target/test-classes/io/github/microcks/util/valid-schema.xsd");
      String validXml = """
            <note>
                <to>Tove</to>
                <from>Jani</from>
                <heading>Reminder</heading>
                <body>Don't forget me this weekend!</body>
            </note>
            """;

      List<String> errors = XmlSchemaValidator.validateXml(schemaStream, validXml);
      assertTrue(errors.isEmpty(), "Expected no validation errors, but got: " + errors);
   }