Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XSD: Support <value> in <variable> #3478

Merged
merged 3 commits into from Jun 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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