Skip to content

Commit

Permalink
XSD: Support <value> in <variable> (#3478)
Browse files Browse the repository at this point in the history
* Support value in variable
  • Loading branch information
304NotModified committed Jun 13, 2019
1 parent d85b7f5 commit 75afe1a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tools/MakeNLogXSD/TemplateXSD.xml
Expand Up @@ -234,12 +234,19 @@
</xs:complexType>

<xs:complexType name="NLogVariable">
<xs:choice minOccurs="0" maxOccurs="1">
<xs:element name="value" minOccurs="0" maxOccurs="1" type="xs:string">
<xs:annotation>
<xs:documentation>Variable value. Note, the 'value' attribute has precedence over this one.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Variable name.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="value" type="SimpleLayoutAttribute" use="required">
<xs:attribute name="value" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>Variable value.</xs:documentation>
</xs:annotation>
Expand Down

0 comments on commit 75afe1a

Please sign in to comment.