diff options
author | Christopher Ng <chrng8@gmail.com> | 2023-02-02 17:11:17 -0800 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2023-02-02 17:11:17 -0800 |
commit | 70651c3ab176d8a5491e15dbb22b1cd6561c6274 (patch) | |
tree | d36f7f32ed7ce2cdb924fdef73107051a466e42b /resources | |
parent | 62b7bb73955a6f782ddaf6e3d248f29b93165099 (diff) | |
download | nextcloud-server-70651c3ab176d8a5491e15dbb22b1cd6561c6274.tar.gz nextcloud-server-70651c3ab176d8a5491e15dbb22b1cd6561c6274.zip |
Allow zero occurences of route in XML schemas
- For xmllint
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/app-info-shipped.xsd | 2 | ||||
-rw-r--r-- | resources/app-info.xsd | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/resources/app-info-shipped.xsd b/resources/app-info-shipped.xsd index 031579ad5a3..c11264142eb 100644 --- a/resources/app-info-shipped.xsd +++ b/resources/app-info-shipped.xsd @@ -446,7 +446,7 @@ <xs:sequence> <xs:element name="id" type="id" minOccurs="0" maxOccurs="1"/> <xs:element name="name" type="non-empty-string" minOccurs="1" maxOccurs="1"/> - <xs:element name="route" type="route" minOccurs="1" maxOccurs="1"/> + <xs:element name="route" type="route" minOccurs="0" maxOccurs="1"/> <xs:element name="icon" type="xs:anyURI" minOccurs="0" maxOccurs="1"/> <xs:element name="order" type="xs:int" minOccurs="0" maxOccurs="1"/> <xs:element name="type" type="navigation-type" minOccurs="0" maxOccurs="1"/> diff --git a/resources/app-info.xsd b/resources/app-info.xsd index 1c7cc5c47e4..191c8ed7c5b 100644 --- a/resources/app-info.xsd +++ b/resources/app-info.xsd @@ -442,7 +442,7 @@ <xs:sequence> <xs:element name="id" type="id" minOccurs="0" maxOccurs="1"/> <xs:element name="name" type="non-empty-string" minOccurs="1" maxOccurs="1"/> - <xs:element name="route" type="route" minOccurs="1" maxOccurs="1"/> + <xs:element name="route" type="route" minOccurs="0" maxOccurs="1"/> <xs:element name="icon" type="xs:anyURI" minOccurs="0" maxOccurs="1"/> <xs:element name="order" type="xs:int" minOccurs="0" maxOccurs="1"/> <xs:element name="type" type="navigation-type" minOccurs="0" maxOccurs="1"/> |