Skip to content

Commit

Permalink
Switch to official OGC namespace for KML 2.2
Browse files Browse the repository at this point in the history
git-svn-id: http://feedvalidator.googlecode.com/svn/trunk@1049 34a10a33-d82d-0410-ba40-81c901463ecc
  • Loading branch information
Gregor J. Rothfuss гл́асность committed May 6, 2009
1 parent c3076ea commit 9cb98f3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/howto/declare_namespaces.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ <h1><a href="/"><span id="feed"><span id="f">F</span><span id="e1">E</span><span
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:kml20="http://earth.google.com/kml/2.0"
xmlns:kml21="http://earth.google.com/kml/2.1"
xmlns:kml22="http://earth.google.com/kml/2.2"
xmlns:kml22="http://www.opengis.net/kml/2.2"
xmlns:l="http://purl.org/rss/1.0/modules/link/"
xmlns:mathml="http://www.w3.org/1998/Math/MathML"
xmlns:media="http://search.yahoo.com/mrss/"
Expand Down
2 changes: 1 addition & 1 deletion src/feedvalidator/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"http://openid.net/xmlns/1.0": "openid",
"http://earth.google.com/kml/2.0": "kml20",
"http://earth.google.com/kml/2.1": "kml21",
"http://earth.google.com/kml/2.2": "kml22",
"http://www.opengis.net/kml/2.2": "kml22",
"http://www.w3.org/1999/xlink": "xlink",
"xri://$xrd*($v*2.0)": "xrd",
"xri://$xrds": "xrds",
Expand Down
2 changes: 1 addition & 1 deletion src/feedvalidator/root.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
xrds_namespace='xri://$xrds'
kml20_namespace='http://earth.google.com/kml/2.0'
kml21_namespace='http://earth.google.com/kml/2.1'
kml22_namespace='http://earth.google.com/kml/2.2'
kml22_namespace='http://www.opengis.net/kml/2.2'

#
# Main document.
Expand Down
2 changes: 1 addition & 1 deletion testcases/kml/2.2/Document/atom_author.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Expect: !MissingElement{element:name}
-->

<kml xmlns="http://earth.google.com/kml/2.2"
<kml xmlns="http://www.opengis.net/kml/2.2"
xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
<atom:author>
Expand Down
2 changes: 1 addition & 1 deletion testcases/kml/2.2/Document/atom_author_name_missing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Expect: MissingElement{element:name}
-->

<kml xmlns="http://earth.google.com/kml/2.2"
<kml xmlns="http://www.opengis.net/kml/2.2"
xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
<atom:author/>
Expand Down
2 changes: 1 addition & 1 deletion testcases/kml/2.2/Document/atom_link_href_missing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Expect: MissingHref{element:atom:link}
-->

<kml xmlns="http://earth.google.com/kml/2.2"
<kml xmlns="http://www.opengis.net/kml/2.2"
xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
<atom:link/>
Expand Down

0 comments on commit 9cb98f3

Please sign in to comment.