diff options
author | Daniel James <daniel@calamity.org.uk> | 2017-10-03 13:29:01 +0100 |
---|---|---|
committer | Daniel James <daniel@calamity.org.uk> | 2017-10-20 19:27:58 +0100 |
commit | 1fbed8e98fabd4ae536e2c8870428935e14a649e (patch) | |
tree | 47426db98a8f577c153f932613d25878a0c2f146 | |
parent | ad0e2990fe27bde7d9d017b4a079788ac9b89675 (diff) | |
download | boost-1fbed8e98fabd4ae536e2c8870428935e14a649e.tar.gz |
Make all elements optional
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.xsd | 6 |
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> |