epubcheck-ts
    Preparing search index...

    Interface SchemaValidator

    Interface for schema validators

    interface SchemaValidator {
        dispose(): void;
        validate(xml: string, schemaPath: string): Promise<ValidationMessage[]>;
    }
    Index

    Methods

    • Validate XML content against a schema

      Parameters

      • xml: string

        The XML content to validate

      • schemaPath: string

        Path to the schema file

      Returns Promise<ValidationMessage[]>

      Array of validation messages