cwrc / CWRC-Schema

CWRC Schemas and supporting documents
GNU General Public License v3.0
4 stars 4 forks source link

Should RS be allowed to contain NAME or not? #166

Open ilovan opened 5 years ago

ilovan commented 5 years ago

In the Bio schema:

<define name="RS">
        <element name="RS">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The rs
                element is a general purpose name element for all names that merit tagging for
                either display purposes or for search and retrieval, but that are not adequately
                covered by the name, orgName, place, or title elements.</a:documentation>
            <optional>
                <attribute name="REG" a:documentation="Regularized value">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >Reg (or regularization) contains a reading which has been regularized or
                        normalized in some sense.</a:documentation>
                    <data type="NCName"/>
                </attribute>
            </optional>
            <optional>
                <attribute name="TYPE">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >Type characterizes the element in some sense, using any convenient
                        classification scheme or typology.</a:documentation>
                </attribute>
            </optional>
            <oneOrMore>
                <choice>
                    <text/>
                    <ref name="NAME"/>
                </choice>
            </oneOrMore>
        </element>
    </define>

In the Writing schema

<define name="RS">
        <element name="RS">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The rs
                element is a general purpose name element for all names that merit tagging for
                either display purposes or for search and retrieval, but that are not adequately
                covered by the name, orgName, place, or title elements.</a:documentation>
            <optional>
                <attribute name="REG" a:documentation="Regularized value">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >Reg (or regularization) contains a reading which has been regularized or
                        normalized in some sense.</a:documentation>
                </attribute>
            </optional>
            <optional>
                <attribute name="TYPE"/>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Type
                    characterizes the element in some sense, using any convenient classification
                    scheme or typology.</a:documentation>
            </optional>
            <text/>
        </element>
    </define>
SusanBrown commented 4 years ago

Disallow.