summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-01-22 11:28:38 +0100
committerUlrich Müller <ulm@gentoo.org>2022-01-24 07:43:12 +0100
commitbb6e63ff76ea7066f8340df51a64b3ae09a72385 (patch)
tree5a06c0243d3d760c262bd5dc7c3ac6e99ac66d68
parentuserinfo.dtd: Restore file (diff)
downloaddtd-bb6e63ff76ea7066f8340df51a64b3ae09a72385.tar.gz
dtd-bb6e63ff76ea7066f8340df51a64b3ae09a72385.tar.bz2
dtd-bb6e63ff76ea7066f8340df51a64b3ae09a72385.zip
mirrors.dtd: Update to reflect syntax of mirror files in api.git
This partially reverts the following commit (originally in CVS, now in archive/proj/gentoo.git): commit d4bee3ba7e32a7e41639e06f31791b7ed66637a6 Author: Xavier Neys <neysx@gentoo.org> Date: Sun Jan 13 16:16:21 2008 +0000 #204683 a few more tweaks to the new mirrors DTD & XML Bug: https://bugs.gentoo.org/831807 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--mirrors.dtd30
1 files changed, 4 insertions, 26 deletions
diff --git a/mirrors.dtd b/mirrors.dtd
index d855815..9fc6223 100644
--- a/mirrors.dtd
+++ b/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>