summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-03-16 18:00:45 +0100
committerMichał Górny <mgorny@gentoo.org>2016-03-16 18:01:34 +0100
commitb01848e1f22b45b72962c8d78128adf310123a3f (patch)
tree8938a8fb7c268ccba7eee1bf827902568f9e89fc
parentAdd a schema for repositories.xml (diff)
downloadxml-schema-b01848e1f22b45b72962c8d78128adf310123a3f.tar.gz
xml-schema-b01848e1f22b45b72962c8d78128adf310123a3f.tar.bz2
xml-schema-b01848e1f22b45b72962c8d78128adf310123a3f.zip
metadata: Change default lang="" value to 'en' (ISO 639-1)
-rw-r--r--metadata.xsd12
1 files changed, 6 insertions, 6 deletions
diff --git a/metadata.xsd b/metadata.xsd
index 68a7fbc..a6449a8 100644
--- a/metadata.xsd
+++ b/metadata.xsd
@@ -121,7 +121,7 @@
<xs:complexType name='maintainerDescType'>
<xs:simpleContent>
<xs:extension base="xs:token">
- <xs:attribute name='lang' type='langAttrType' default='C'/>
+ <xs:attribute name='lang' type='langAttrType' default='en'/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
@@ -134,7 +134,7 @@
way around? -->
<xs:element name='cat' type='catType'/>
</xs:choice>
- <xs:attribute name='lang' type='langAttrType' default='C'/>
+ <xs:attribute name='lang' type='langAttrType' default='en'/>
<xs:attribute name='restrict' type='restrictAttrType'/>
</xs:complexType>
@@ -143,7 +143,7 @@
<xs:element name='pkg' type='pkgType'/>
<xs:element name='cat' type='catType'/>
</xs:choice>
- <xs:attribute name='lang' type='langAttrType' default='C'/>
+ <xs:attribute name='lang' type='langAttrType' default='en'/>
</xs:complexType>
<!-- slots -->
@@ -155,7 +155,7 @@
<xs:element name='subslots' type='xs:token'
minOccurs='0' maxOccurs='1'/>
</xs:sequence>
- <xs:attribute name='lang' type='langAttrType' default='C'/>
+ <xs:attribute name='lang' type='langAttrType' default='en'/>
</xs:complexType>
<xs:complexType name='slotType'>
@@ -179,7 +179,7 @@
<xs:choice minOccurs='0' maxOccurs='unbounded'>
<xs:element name='flag' type='flagType'/>
</xs:choice>
- <xs:attribute name='lang' type='langAttrType' default='C'/>
+ <xs:attribute name='lang' type='langAttrType' default='en'/>
</xs:complexType>
<xs:complexType name='flagType' mixed='true'>
@@ -203,7 +203,7 @@
<xs:complexType name='upstreamDocType'>
<xs:simpleContent>
<xs:extension base="urlType">
- <xs:attribute name='lang' type='langAttrType' default='C'/>
+ <xs:attribute name='lang' type='langAttrType' default='en'/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>