<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    DTr1 - BIN
    Status: draft
-->
<rule xmlns="http://purl.oclc.org/dsdl/schematron" abstract="true" id="BIN">
    <extends rule="ANY"/>

    <assert role="error"
           test="@nullFlavor | * | text()[string-length(normalize-space()) gt 0]"
           see="https://docs.art-decor.org/documentation/datatypes/DTr1_BIN">dtr1-1-BIN: there must be a nullFlavor, or content must be non-empty</assert>
</rule>
