summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRepository mirror & CI <repomirrorci@gentoo.org>2022-01-24 21:41:12 +0000
committerRepository mirror & CI <repomirrorci@gentoo.org>2022-01-24 21:41:12 +0000
commitd48cbe589043bac6be24365d19c0a1ce69d4a7d7 (patch)
tree1b62de06f0d106d32bae0bccdedbd80dac337570 /metadata/dtd
parentMerge updates from master (diff)
parentmirrors.dtd: Update to reflect syntax of mirror files in api.git (diff)
downloadgentoo-d48cbe589043bac6be24365d19c0a1ce69d4a7d7.tar.gz
gentoo-d48cbe589043bac6be24365d19c0a1ce69d4a7d7.tar.bz2
gentoo-d48cbe589043bac6be24365d19c0a1ce69d4a7d7.zip
Merge commit 'bb6e63ff76ea7066f8340df51a64b3ae09a72385'
Diffstat (limited to 'metadata/dtd')
-rw-r--r--metadata/dtd/mirrors.dtd30
1 files changed, 4 insertions, 26 deletions
diff --git a/metadata/dtd/mirrors.dtd b/metadata/dtd/mirrors.dtd
index d855815851f4..9fc622360194 100644
--- a/metadata/dtd/mirrors.dtd
+++ b/metadata/dtd/mirrors.dtd
@@ -1,27 +1,21 @@
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/dtd/mirrors.dtd,v 1.3 2009/12/03 09:43:39 robbat2 Exp $ -->
<!-- This file is used for keeping the new mirrors.xml file -->
<!--
element: mirrors
- description: A set of mirrorgroups followed by a list of countries with their code
+ description: A set of mirrorgroups
example: <mirrors>
<mirrorgroup country="US" region="North America">
...
</mirrorgroup>
...
- <countries>
- <country code="CA">Canada</country>
- ...
- </countries>
</mirrors>
-->
-<!ELEMENT mirrors (mirrorgroup*, countries)>
+<!ELEMENT mirrors (mirrorgroup*)>
<!--
element: mirrorgroup
description: Group mirrors by region and country.
- The country code must exist in //countries/country
example: <mirrorgroup region="South America" country="BZ">
<mirror>
...
@@ -32,7 +26,8 @@
<!ELEMENT mirrorgroup (mirror*)>
<!ATTLIST mirrorgroup region CDATA #REQUIRED
- country IDREF #REQUIRED>
+ country CDATA #REQUIRED
+ countryname CDATA #IMPLIED>
<!--
element: mirror
description: One per mirror; name the mirror and provide one or more uris
@@ -70,20 +65,3 @@
ipv6 (Y|y|N|n) "n"
partial (Y|y|N|n) "n"
protocol (http|ftp|rsync) "http">
-
-<!--
- element: countries
- description: A list of countries with their code and name
- example: <countries>
- <country code="CA">Canada</country>
- <countries>
--->
-<!ELEMENT countries (country*)>
-
-<!--
- element: country
- description: A country with its code
- example: <country code="CA">Canada</country>
--->
-<!ELEMENT country (#PCDATA)>
-<!ATTLIST country code ID #REQUIRED>