[libgweather] locations: Allow a <city> not to have a <location>
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgweather] locations: Allow a <city> not to have a <location>
- Date: Fri, 8 Dec 2017 18:16:18 +0000 (UTC)
commit d2c3ea2f994f14c5cf0b9a90bb74b61d9507e45b
Author: Bastien Nocera <hadess hadess net>
Date: Fri Dec 8 19:06:44 2017 +0100
locations: Allow a <city> not to have a <location>
Which should hopefully mean that the nearest weather station would get
picked up.
data/locations.dtd | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/locations.dtd b/data/locations.dtd
index 86acbde..02984cb 100644
--- a/data/locations.dtd
+++ b/data/locations.dtd
@@ -8,7 +8,7 @@
<!ELEMENT country (%name;, iso-code, fips-code+, pref-lang?, timezones, tz-hint?,
(location|state|province|city)*) >
<!ELEMENT state (%name;, fips-code+, tz-hint?, (location|city)*) >
<!ELEMENT province (%name;, (location|city)*) >
-<!ELEMENT city (%name;, coordinates?, tz-hint?, location+) >
+<!ELEMENT city (%name;, coordinates?, tz-hint?, location*) >
<!ELEMENT location (%name;, code, zone?, radar?, coordinates?) >
<!ELEMENT named-timezone (%name;, timezones, tz-hint, code)>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]