einvoice-xpath
Parser and syntax tree for the XPath 2.0 subset that the official e-invoicing validation
stylesheets use, and for the XSLT pieces built on it: match patterns, sequence types and
attribute value templates. Only syntax is handled; nothing is evaluated. The subset is closed:
a construct outside it is refused with an error naming it, never parsed as something else. An
expression or pattern nested deeper than MAX_DEPTH (128 levels, chains of operators, steps
and predicates included) is refused too, so that reading, compiling and evaluating it needs a
bounded call stack.
use ;
This crate is part of einvoice-validator, which validates EN 16931 and Peppol BIS Billing 3.0 e-invoices against the official validation artefacts in pure Rust. Documentation: https://docs.rs/einvoice-xpath.
Licence
MIT (LICENSES/MIT.txt).