openstreetmap-website/test/controllers
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
..
amf_controller_test.rb A few more edge cases 2015-03-08 23:02:04 +00:00
api_controller_test.rb Avoid using Time.parse as it is affected by the TZ variable 2015-04-16 15:46:47 +01:00
browse_controller_test.rb Yet more tests... 2015-03-08 19:55:45 +00:00
changeset_controller_test.rb Fix style issues found by new rubocop version 2015-04-14 09:38:24 +01:00
diary_entry_controller_test.rb Add a few more tests 2015-03-07 00:50:35 +00:00
directions_controller_test.rb Standardise on double quoted strings 2015-02-20 19:47:26 +00:00
export_controller_test.rb Standardise on double quoted strings 2015-02-20 19:47:26 +00:00
geocoder_controller_test.rb Error if geocoder#search is called with no arguments 2015-07-26 22:58:41 +01:00
message_controller_test.rb Improve test coverage 2015-02-27 00:40:37 +00:00
node_controller_test.rb Fix more rubocop style issues 2015-02-24 23:12:02 +00:00
notes_controller_test.rb Make notes GPX valid and add useful official elements 2015-08-10 19:11:18 +01:00
oauth_clients_controller_test.rb Standardise on double quoted strings 2015-02-20 19:47:26 +00:00
oauth_controller_test.rb Standardise on double quoted strings 2015-02-20 19:47:26 +00:00
old_node_controller_test.rb Fix style issues found by new rubocop version 2015-04-14 09:38:24 +01:00
old_relation_controller_test.rb Yet more tests... 2015-03-08 19:55:45 +00:00
old_way_controller_test.rb Yet more tests... 2015-03-08 19:55:45 +00:00
redactions_controller_test.rb Add extra tests for API and redaction controllers 2015-03-03 00:55:19 +00:00
relation_controller_test.rb Fix style issues found by new rubocop version 2015-04-14 09:38:24 +01:00
search_controller_test.rb Load API fixture for the search controller tests 2015-03-03 01:18:25 +00:00
site_controller_test.rb Yet more tests... 2015-03-08 19:55:45 +00:00
swf_controller_test.rb Fix some tests 2015-03-01 14:07:25 +00:00
trace_controller_test.rb Testing, testing, testing... 2015-03-01 23:05:32 +00:00
user_blocks_controller_test.rb Standardise on double quoted strings 2015-02-20 19:47:26 +00:00
user_controller_test.rb Require a valid session token to resend a confirmation 2015-07-20 21:32:34 +01:00
user_preference_controller_test.rb The test train rolls ever onwards... 2015-03-01 17:04:39 +00:00
user_roles_controller_test.rb Standardise on double quoted strings 2015-02-20 19:47:26 +00:00
way_controller_test.rb Test some missing cases in the way controller 2015-03-08 18:01:19 +00:00