Skip to content

Commit

Permalink
Changed case of georss test and code to match the georss schema: http…
Browse files Browse the repository at this point in the history
…://www.georss.org/xml/1.1/georss.xsd This fixes this bug: http://code.google.com/p/feedvalidator/issues/detail?id=9 GeoRss uses camelCase element names not lowercase element names.
  • Loading branch information
Adewale Oshineye authored and Adewale Oshineye committed Jun 5, 2010
1 parent 0188c5a commit fc7adc2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/feedvalidator/extension.py
Expand Up @@ -222,13 +222,13 @@ def do_georss_line(self):
def do_georss_polygon(self):
return gml_posList()

def do_georss_featuretypetag(self):
def do_georss_featureTypeTag(self):
return text()

def do_georss_relationshiptag(self):
def do_georss_relationshipTag(self):
return text()

def do_georss_featurename(self):
def do_georss_featureName(self):
return text()

def do_georss_elev(self):
Expand Down
6 changes: 3 additions & 3 deletions testcases/ext/georss/features.xml
Expand Up @@ -23,9 +23,9 @@
<updated>2005-08-17T07:02:32Z</updated>
<summary>We just had a big one.</summary>
<georss:point>45.256 -110.45</georss:point>
<georss:featuretypetag>city</georss:featuretypetag>
<georss:relationshiptag>is-centered-at</georss:relationshiptag>
<georss:featurename>Podunk</georss:featurename>
<georss:featureTypeTag>city</georss:featureTypeTag>
<georss:relationshipTag>is-centered-at</georss:relationshipTag>
<georss:featureName>Podunk</georss:featureName>
<georss:elev>313</georss:elev>
<georss:floor>2</georss:floor>
<georss:radius>500</georss:radius>
Expand Down

0 comments on commit fc7adc2

Please sign in to comment.