<?xml version="1.0" encoding="UTF-8"?>
<rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"
    xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
    a:version="3.0.0" startMode="eac">
    <mode name="eac">
        <namespace ns="https://standards.openpreservation.org/eac/v3">
            <validate
                schema="https://raw.githubusercontent.com/SAA-SDT/eas-schemas/release_2026_07/xml-schemas/eac-cpf/eac.xsd"
                schemaType="application/xml">
                <context path="formattingExtension" useMode="xhtml"/>
                <context path="objectXMLWrap" useMode="attach"/>
            </validate>
        </namespace>
    </mode>
    <mode name="xhtml">
        <namespace ns="http://www.w3.org/1999/xhtml">
            <validate schema="https://www.w3.org/2002/08/xhtml/xhtml1-strict.xsd"
                schemaType="application/xml"/>
            <attach/>
        </namespace>
        <namespace ns="http://www.w3.org/1998/Math/MathML">
            <allow/>
        </namespace>
        <namespace ns="http://www.w3.org/2000/svg">
            <allow/>
        </namespace>
        <namespace ns="http://www.w3.org/1999/xlink">
            <allow/>
        </namespace>
    </mode>
    <mode name="attach">
        <anyNamespace>
            <attach/>
        </anyNamespace>
    </mode>
</rules>
