pub fn parse_strict(
content: &[u8],
format: DocumentFormat,
) -> Result<DataContract, DiagnosticReport>Expand description
Parse and validate an ODCS document, returning an error report on failure.
pub fn parse_strict(
content: &[u8],
format: DocumentFormat,
) -> Result<DataContract, DiagnosticReport>Parse and validate an ODCS document, returning an error report on failure.