Skip to main content

check_encoding

Function check_encoding 

Source
pub fn check_encoding<X: ScalarXml, W: Work>(
    access: &Access<'_, X, W>,
    original: &Original<X>,
) -> ScalarResult<X>
Expand description

Check the original optional Encoding’s XSD1.0 anyURI syntax. Absence stays optional; a present empty value follows anyURI rules rather than being fabricated as absent. EN319132-1 §5.2.4 and Annex C define this datatype. https://www.etsi.org/deliver/etsi_en/319100_319199/31913201/01.03.01_60/en_31913201v010301p.pdf

This does not resolve the URI, accept an encoding, check other attributes, or repeat the separate ds:Object metadata comparison. Retained format data stay on their original account; THIS query uses the supplied current Work.