Class XmlSchemaValidator


  • public class XmlSchemaValidator
    extends Object
    • Constructor Detail

      • XmlSchemaValidator

        public XmlSchemaValidator()
    • Method Detail

      • validateSchema

        public Collection<String> validateSchema​(Node changelog)
        Validate the fully resolved changelog containing all migrations
        Parameters:
        changelog - DOM node holding the changelog
        Returns:
        validation error messages
        Throws:
        IllegalArgumentException - if there is am XML validation error