#xml #validation #string #production #name #rxml #rxml-proc

no-std rxml_validation

Plumbing crate for rxml and rxml_proc crates

11 releases (6 breaking)

0.10.0 Mar 16, 2024
0.9.1 Jan 25, 2023
0.8.2 Dec 17, 2022
0.8.1 May 15, 2022
0.4.0 Aug 18, 2021

#1056 in Rust patterns

Download history 9747/week @ 2023-12-18 5045/week @ 2023-12-25 8465/week @ 2024-01-01 12497/week @ 2024-01-08 14878/week @ 2024-01-15 14556/week @ 2024-01-22 9961/week @ 2024-01-29 9991/week @ 2024-02-05 10804/week @ 2024-02-12 12209/week @ 2024-02-19 16972/week @ 2024-02-26 19416/week @ 2024-03-04 18378/week @ 2024-03-11 15088/week @ 2024-03-18 14461/week @ 2024-03-25 15205/week @ 2024-04-01

64,266 downloads per month
Used in 30 crates (2 directly)

MIT license

11KB
229 lines

rxml_validation — Utilities for validating strings against specific XML productions

This crate is an infrastructure/plumbing crate for the rxml and rxml_proc crates. It provides utility functions to validate that strings conform to the CData, Name and NCName grammars described in the XML 1.0 specification.

crate badge docs badge

Please see the rxml and rxml_proc crates for more information.


lib.rs:

Validator functions for XML-related strings

This is a supplementary crate for rxml. It is factored out of the main crate to support rxml_proc, a crate of macros which allow compile-time validation and typing of XML strings.

If the std feature is not enabled (it is enabled by default), this crate can be used in no_std environments.

No runtime deps

Features