@designliquido/xpath
    Preparing search index...

    Interface XPath1CompatibilityMode

    Configuration for XPath 1.0 compatibility mode. When enabled, XPath 2.0 expressions follow XPath 1.0 type conversion rules.

    interface XPath1CompatibilityMode {
        enabled: boolean;
        suppressErrorsInFalseBranches?: boolean;
        shortCircuitEvaluation?: boolean;
    }
    Index

    Properties

    enabled: boolean

    Enable XPath 1.0 compatibility mode. When true, type conversions and operator behavior follow XPath 1.0 rules. Default: false (XPath 2.0 semantics)

    suppressErrorsInFalseBranches?: boolean

    When true, suppress errors in the false branch of logical operators. This allows expressions like "false() and error()" to return false instead of raising an error. Default: true

    shortCircuitEvaluation?: boolean

    When true, guaranteed short-circuit evaluation is enforced. This ensures the false branch is never evaluated in "and" expressions, and the true branch is never evaluated in "or" expressions. Default: true