summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel James <daniel@calamity.org.uk>2017-10-03 13:29:01 +0100
committerGitHub <noreply@github.com>2017-10-03 13:29:01 +0100
commitcf4c433559bb6c9a8501a26f16c5222426394f8d (patch)
treeafad905308fee49de3546f50b3232cc67588a57d
parent1ff56596caff44536f00e2c449a292c93dff1d1c (diff)
downloadboost-danieljames-patch-3.tar.gz
Make all elements optionaldanieljames-patch-3
This is so that this schema can be used to validate module markup (such as https://github.com/boostorg/functional/blob/develop/meta/explicit-failures-markup.xml). An alternative solution would be to have a separate schema file for submodules, espcially if the reporting scripts require these elements to be present.
-rw-r--r--status/explicit-failures.xsd6
1 files changed, 3 insertions, 3 deletions
diff --git a/status/explicit-failures.xsd b/status/explicit-failures.xsd
index 6c77750720..fc7bcc9418 100644
--- a/status/explicit-failures.xsd
+++ b/status/explicit-failures.xsd
@@ -4,9 +4,9 @@
<xs:element name="explicit-failures-markup">
<xs:complexType>
<xs:sequence>
- <xs:element ref="mark-toolset" maxOccurs="unbounded"/>
- <xs:element ref="library" maxOccurs="unbounded"/>
- <xs:element ref="note" maxOccurs="unbounded"/>
+ <xs:element ref="mark-toolset" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="library" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="note" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>