Skip to main content

parse_string

Function parse_string 

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

String parser with a DoS cap per the ZeroDDS security posture.

XML escaping (&lt;, &amp; etc.) is already decoded by roxmltree.

ยงErrors

XmlError::LimitExceeded on strings over MAX_STRING_BYTES.