Make validation work for both forms of the <action> element
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@345601 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1141d95fc6
commit
0dc83a4cd2
@ -72,12 +72,23 @@
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="action">
|
||||
<xs:complexType>
|
||||
<xs:complexType mixed="true">
|
||||
<xs:attribute name="dev" type="xs:string"/>
|
||||
<xs:attribute name="type" type="xs:string"/>
|
||||
<xs:attribute name="issue" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="due-to" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="due-to-email" type="xs:string" use="optional"/>
|
||||
<xs:sequence>
|
||||
<xs:any namespace="##any" processContents="lax"
|
||||
minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- FIXME: this is for the alternative form of the action element. Currently unused. -->
|
||||
<xs:element name="change">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="dev" type="xs:string"/>
|
||||
<xs:attribute name="type" type="xs:string"/>
|
||||
<xs:sequence>
|
||||
<xs:element ref="description"/>
|
||||
<xs:element ref="fixes" minOccurs="0" maxOccurs="unbounded"/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user