Changeset 114


Ignore:
Timestamp:
12/17/09 16:55:30 (14 years ago)
Author:
dietuyt
Message:

Changes to controlled vocabulary for input/output type (suggested by Eric)

Location:
metadata/trunk/toolkit/components/avatech
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • metadata/trunk/toolkit/components/avatech/avatech-detector.xml

    r111 r114  
    2323                    <Type>string</Type>
    2424                </Attribute>
    25                 <Attribute >
     25                <Attribute>
    2626                    <Name>info</Name>
    2727                    <Type>string</Type>
     
    3232        <CMD_Element name="numparam" CardinalityMin="0" CardinalityMax="unbounded" ValueScheme="string">
    3333            <AttributeList>
    34                 <Attribute >
     34                <Attribute>
    3535                    <Name>min</Name>
    3636                    <Type>float</Type>
     
    7272                <Attribute >
    7373                    <Name>type</Name>
    74                     <Type>string</Type>
     74                    <ValueScheme>
     75                        <enumeration>
     76                            <item>audio</item>
     77                            <item>video</item>
     78                            <item>tier</item>
     79                            <item>timeseries</item>
     80                        </enumeration>
     81                    </ValueScheme>
    7582                </Attribute>
    7683                <Attribute >
     
    8996                <Attribute >
    9097                    <Name>type</Name>
    91                     <Type>string</Type>
     98                    <ValueScheme>
     99                        <enumeration>
     100                            <item>audio</item>
     101                            <item>video</item>
     102                            <item>tier</item>
     103                            <item>timeseries</item>
     104                        </enumeration>
     105                        </ValueScheme>
    92106                </Attribute>
    93107                <Attribute >
  • metadata/trunk/toolkit/components/avatech/avatech-detector.xsd

    r111 r114  
    139139                                    <xs:simpleContent>
    140140                                       <xs:extension base="xs:string">
    141                                           <xs:attribute name="type" type="xs:string"/>
     141                                          <xs:attribute name="type">
     142                                             <xs:simpleType>
     143                                                <xs:restriction base="xs:string">
     144                                                   <xs:enumeration value="audio"/>
     145                                                   <xs:enumeration value="video"/>
     146                                                   <xs:enumeration value="tier"/>
     147                                                   <xs:enumeration value="timeseries"/>
     148                                                </xs:restriction>
     149                                             </xs:simpleType>
     150                                          </xs:attribute>
    142151                                          <xs:attribute name="optional" type="xs:boolean"/>
    143152                                          <xs:attribute name="info" type="xs:string"/>
     
    150159                                    <xs:simpleContent>
    151160                                       <xs:extension base="xs:string">
    152                                           <xs:attribute name="type" type="xs:string"/>
     161                                          <xs:attribute name="type">
     162                                             <xs:simpleType>
     163                                                <xs:restriction base="xs:string">
     164                                                   <xs:enumeration value="audio"/>
     165                                                   <xs:enumeration value="video"/>
     166                                                   <xs:enumeration value="tier"/>
     167                                                   <xs:enumeration value="timeseries"/>
     168                                                </xs:restriction>
     169                                             </xs:simpleType>
     170                                          </xs:attribute>
    153171                                          <xs:attribute name="optional" type="xs:boolean"/>
    154172                                          <xs:attribute name="info" type="xs:string"/>
Note: See TracChangeset for help on using the changeset viewer.