open-nav
    Preparing search index...

    Interface ParseOptions

    interface ParseOptions {
        unknownElements?: "error" | "ignore";
    }
    Index
    unknownElements?: "error" | "ignore"

    What to do with elements the schema does not declare.

    error (the default) surfaces them, which is what you want for documents you produced yourself. Use ignore when reading responses from a NAV deployment that may be ahead of the vendored schema.