Changeset 1877


Ignore:
Timestamp:
04/12/12 08:12:49 (12 years ago)
Author:
mwindhouwer
Message:

modified general-component-schema.xsd

  • adds Required flag to the Attribute specification
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ComponentRegistry/trunk/CMDValidate/src/test/resources/schema/general-component-schema.xsd

    r1745 r1877  
    11<?xml version="1.0" encoding="UTF-8"?>
    22<!--
    3     $Revision: 1585 $
     3    $Revision: 1816 $
    44    $Date: 2010-06-24 11:36:11 +0200 (Thu, 24 Jun 2010) $
    55-->
     
    1212    <!-- root element -->
    1313    <xs:element name="CMD_ComponentSpec">
    14         <xs:annotation>
    15         </xs:annotation>
    1614        <xs:complexType>
    1715            <xs:sequence>
     
    136134                            </xs:element>
    137135                        </xs:choice>
     136                        <xs:element name="Required" type="xs:boolean" default="false" minOccurs="0">
     137                            <xs:annotation>
     138                                <xs:documentation>Is the attribute required or not.</xs:documentation>
     139                            </xs:annotation>
     140                        </xs:element>
    138141                    </xs:sequence>
    139142                </xs:complexType>
     
    261264            <xs:enumeration value="gYear"/>
    262265            <xs:enumeration value="time"/>
     266            <xs:enumeration value="dateTime"/>
    263267        </xs:restriction>
    264268    </xs:simpleType>
Note: See TracChangeset for help on using the changeset viewer.