oa_gateway_uci::xsd::assemble

Function claim

Source
fn claim(schema: &Schema, name: &str, kind: Definition) -> Result<(), UciError>
Expand description

Reject a redefinition rather than letting the last document silently win.

The most likely cause is passing the same document twice — the standard ships more than one copy of the message definitions — which would otherwise look like it worked.