Skip to content

Commit

Permalink
Remove extraneous attributes, and unneeded choice.
Browse files Browse the repository at this point in the history
The `SemanticAnnotation` type was difined as a sequence nested inside of a choice, which
was not needed. See issue #25.
  • Loading branch information
mbjones committed Jul 24, 2017
1 parent 95ef522 commit 2c589ce
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions xsd/eml-semantics.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@
subfields.</doc:example>
</xs:appinfo>
</xs:annotation>
<xs:choice>
<xs:sequence>
<xs:sequence>
<xs:element name="termURI" type="xs:anyURI" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
Expand Down Expand Up @@ -117,20 +116,16 @@
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:choice>
<xs:attribute name="id" type="res:IDType" use="optional"/>
<xs:attribute name="system" type="res:SystemType" use="optional"/>
<xs:attribute name="scope" type="res:ScopeType" use="optional" default="document"/>
</xs:sequence>
</xs:complexType>
<xs:element name="annotation" type="SemanticAnnotation">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Semantic Annotation</doc:tooltip>
<doc:summary>A precisely-defined semantic term.
</doc:summary>
<doc:description>The annotation represents a precisely-defined semantic
term that is used to annotate another structure within EML, such as an
<doc:description>An annotation represents a precisely-defined semantic
term that is used to label another structure within EML, such as an
attribute, entity, or dataset.
</doc:description>
</xs:appinfo>
Expand Down

0 comments on commit 2c589ce

Please sign in to comment.