Skip to content

Commit

Permalink
added some documentations
Browse files Browse the repository at this point in the history
  • Loading branch information
hong1.cui committed Mar 23, 2010
1 parent 2fd508e commit f1b74c2
Showing 1 changed file with 46 additions and 16 deletions.
62 changes: 46 additions & 16 deletions characterStatements/2-20-2010meeting.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,19 @@
</xs:choice>
<xs:element minOccurs="0" ref="text"/>
</xs:sequence>
<xs:attribute name="id" use="required" type="xs:NCName"/>
<xs:attribute name="id" use="required" type="xs:ID"/>
</xs:complexType>
</xs:element>
<xs:element name="relation">
<xs:annotation><xs:documentation>use @from and @to to indicate the two entities involved in a relation;
@name is the name of the relation;
to express a negation of the relation, set @negation "false";
more modifier types other than geographic_modifier is expected to be added</xs:documentation> </xs:annotation>
<xs:complexType>
<xs:attribute name="from" use="required" type="xs:IDREF"/>
<xs:attribute name="geographic_modifier" type="xs:string"/>
<xs:attribute name="id" use="required" type="xs:NCName"/>
<xs:attribute name="name" use="required"/>
<xs:attribute name="id" use="required" type="xs:ID"/>
<xs:attribute name="name" use="required" type="xs:string"/>
<xs:attribute name="negation" type="xs:boolean"/>
<xs:attribute name="to" use="required" type="xs:IDREF"/>
</xs:complexType>
Expand All @@ -35,27 +39,53 @@
<xs:element minOccurs="0" maxOccurs="unbounded" ref="character"/>
<xs:element minOccurs="0" ref="text"/>
</xs:sequence>
<xs:attribute name="constraint" type="xs:string"/>
<xs:attribute name="id" use="required" type="xs:NCName"/>
<xs:attribute name="name" use="required" type="xs:NCName"/>
<xs:attribute name="constraint" type="xs:string">
<xs:annotation>
<xs:documentation>for lacking a better name for the attribute, constraint is used to hold a subtype of the structure, for example cauline leaves, cauline is a constraint to the structure leaves</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="id" use="required" type="xs:ID"/>
<xs:attribute name="name" use="required" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="character">
<xs:complexType>
<xs:attribute name="char_type" type="xs:string"/>
<xs:attribute name="char_type" type="xs:string">
<xs:annotation><xs:documentation>for indicating a range value or a simple value</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="name" use="required" type="xs:string"/>
<xs:attribute name="value" type="xs:string">
<xs:annotation><xs:documentation>this attribute holds a simple value</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="value_unit" type="xs:string">
<xs:annotation><xs:documentation>the unit of a simple value</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="from" type="xs:string">
<xs:annotation><xs:documentation>@from is the lower bound in a range value, for example 1-3 flowers, or orange to red</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="from_unit" type="xs:string">
<xs:annotation><xs:documentation>the unit of a from-value of a range</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="from_inclusive" type="xs:boolean">
<xs:annotation><xs:documentation>to indicate if the named from-value is also a legal value in a range</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="to" type="xs:string">
<xs:annotation><xs:documentation>@to is the upper bound of a range value, for example 1-3 flowers, or orange to red</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="to_unit" type="xs:string">
<xs:annotation><xs:documentation>the unit of a to-value of a range</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="to_inclusive" type="xs:boolean">
<xs:annotation><xs:documentation>to indicate if the named to-value is also a legal value in a range</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="upper_restricted" type="xs:boolean">
<xs:annotation><xs:documentation>to indicate if the to-value is a firm upper-bound. </xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="color_modifier" type="xs:string"/>
<xs:attribute name="degree_modifier" type="xs:string"/>
<xs:attribute name="frequency_modifier" type="xs:string"/>
<xs:attribute name="from" type="xs:string"/>
<xs:attribute name="from_inclusive" type="xs:boolean"/>
<xs:attribute name="name" use="required" type="xs:string"/>
<xs:attribute name="quality_modifier" type="xs:string"/>
<xs:attribute name="to" type="xs:string"/>
<xs:attribute name="to_inclusive" type="xs:boolean"/>
<xs:attribute name="from_unit" type="xs:string"/>
<xs:attribute name="to_unit" type="xs:string"/>
<xs:attribute name="upper_restricted" type="xs:boolean"/>
<xs:attribute name="value" type="xs:string"/>

</xs:complexType>
</xs:element>
<xs:element name="text" type="xs:string"/>
Expand Down

0 comments on commit f1b74c2

Please sign in to comment.