diff options
author | Bastien Nocera <hadess@hadess.net> | 2018-03-08 13:05:47 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2018-03-08 23:45:01 +0100 |
commit | b9e87856b51048eff65595e64e958a21357aaca5 (patch) | |
tree | 018dd582d6da9347ccf8b5488467cc6d7e137c01 | |
parent | 966330d75986adf9f4e21e4a7e4b3fa613957353 (diff) | |
download | libgweather-b9e87856b51048eff65595e64e958a21357aaca5.tar.gz |
Locations: Disallow <location> in city
Weather stations need to be attached to a state or country now.
https://bugzilla.gnome.org/show_bug.cgi?id=792328
-rw-r--r-- | data/locations.dtd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/locations.dtd b/data/locations.dtd index 1ba2d11..2ca47f9 100644 --- a/data/locations.dtd +++ b/data/locations.dtd @@ -7,7 +7,7 @@ <!ELEMENT region (%name;, country+) > <!ELEMENT country (%name;, iso-code, fips-code+, pref-lang?, timezones, tz-hint?, (location|state|city)*) > <!ELEMENT state (%name;, fips-code+, tz-hint?, (location|city)*) > -<!ELEMENT city (%name;, coordinates?, tz-hint?, location*) > +<!ELEMENT city (%name;, coordinates?, tz-hint?) > <!ELEMENT location (name, code, zone?, radar?, coordinates?) > <!ELEMENT named-timezone (%name;, timezones, tz-hint, code)> |