commit:     e8495470d00cd9912f3d216eb576b72a0f1fc77f
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat May 21 21:46:21 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat May 21 21:46:21 2022 +0000
URL:        https://gitweb.gentoo.org/data/xml-schema.git/commit/?id=e8495470

repositories.xsd: owner elements are ordered

Namely, email before name, for consistency with repositories.dtd.
Current repositories.xml still validates after this change.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 repositories.xsd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/repositories.xsd b/repositories.xsd
index 54bf62a..8454c7a 100644
--- a/repositories.xsd
+++ b/repositories.xsd
@@ -61,12 +61,12 @@
        </xs:complexType>
 
        <xs:complexType name='ownerType'>
-               <xs:all>
+               <xs:sequence>
                        <xs:element name='email' type='emailType'
                                minOccurs='1' maxOccurs='1'/>
                        <xs:element name='name' type='xs:token'
                                minOccurs='0' maxOccurs='1'/>
-               </xs:all>
+               </xs:sequence>
                <xs:attribute name='type' type='ownerTypeAttrType'
                        use='required'/>
        </xs:complexType>

Reply via email to