Skip to main content

parse_bool_strict

Function parse_bool_strict 

Source
pub fn parse_bool_strict(s: &str) -> Result<bool, XmlError>
Expand description

DDS-XML 1.0 §7.1.4 verlangt strict true/false (case-sensitive).

§Errors

XmlError::ValueOutOfRange bei jeder anderen Schreibweise (auch True, 1, yes).