cwrc / CWRC-Schema

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

Sort out TIME attributes #172

Open ilovan opened 5 years ago

ilovan commented 5 years ago

In the Writing Schema:

    <define name="TIME">
        <element name="TIME">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">time
                contains a phrase defining a time of day in any format.</a:documentation>
            <text/>
        </element>
    </define>

In the Bio Schema:

    <define name="TIME">
        <element name="TIME">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">time
                contains a phrase defining a time of day in any format.</a:documentation>
            <optional>
                <attribute name="CERTAINTY" a:defaultValue="CERT">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >Certainty is an attribute of date, dateRange, and dateStruct and is used to
                        indicate the nature of certainty that you have about a given
                        date.</a:documentation>
                    <choice>
                        <value>CERT</value>
                        <a:documentation>Certain</a:documentation>
                        <value>C</value>
                        <a:documentation>Circa</a:documentation>
                        <value>BY</value>
                        <a:documentation>By this date</a:documentation>
                        <value>AFTER</value>
                        <a:documentation>After this date</a:documentation>
                        <value>UNKNOWN</value>
                        <a:documentation>Unknown date</a:documentation>
                        <value>ROUGHLYDATED</value>
                        <a:documentation>Rough certainty</a:documentation>
                    </choice>
                </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>
            <optional>
                <attribute name="VALUE">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >Value is used to record a formatted date- or time-related
                        value.</a:documentation>
                    <data type="NMTOKEN"/>
                </attribute>
            </optional>
            <text/>
        </element>
    </define>
SusanBrown commented 5 years ago

Remove TIME tag from schema.