openstreetmap-website/test
Markus Heidelberg 166dc76ae9 Make notes GPX valid and add useful official elements
The "creator" attribute is required and "extensions" is the correct
name of this element.

Validated with SAXCount from the xerces-c package:

$ SAXCount -v=always -n -s -f notes.gpx

Original error messages:

    Error at file /home/markus/notes.gpx, line 2, char 171
      Message: no declaration found for element 'gpx'

    Error at file /home/markus/notes.gpx, line 2, char 171
      Message: attribute 'version' is not declared for element 'gpx'

After adding the "xmlns" attribute:

    Error at file /home/markus/notes.gpx, line 2, char 213
      Message: missing required attribute 'creator'

    Error at file /home/markus/notes.gpx, line 18, char 14
      Message: no declaration found for element 'extension'

    Error at file /home/markus/notes.gpx, line 26, char 7
      Message: element 'extension' is not allowed for content model '(ele?,time?,magvar?,geoidheight?,name?,cmt?,desc?,src?,link*,sym?,type?,fix?,sat?,hdop?,vdop?,pdop?,ageofdgpsdata?,dgpsid?,extensions?)'

The current errors now are caused by the missing XML schema for the
extensions.

Also add the time, name and link elements.
2015-08-10 19:11:18 +01:00
..
controllers Make notes GPX valid and add useful official elements 2015-08-10 19:11:18 +01:00
fixtures Allow customer URL schemas for OAuth callback URLs 2015-07-28 12:13:18 +01:00
helpers More improvements to mediawiki fragment escaping 2015-05-15 15:34:12 +01:00
http Testing, testing, testing... 2015-03-01 23:05:32 +00:00
integration Allow customer URL schemas for OAuth callback URLs 2015-07-28 12:13:18 +01:00
javascripts Filter out nodes which are too far away 2014-03-16 16:18:13 +00:00
lib Improve test coverage 2015-02-27 00:40:37 +00:00
models Allow customer URL schemas for OAuth callback URLs 2015-07-28 12:13:18 +01:00
traces The test train rolls ever onwards... 2015-03-01 17:04:39 +00:00
test_helper.rb Load changeset comments for API tests 2015-03-09 00:08:12 +00:00