I created a preset that works fine in JOSM (added from a local location) but I have this warnning message when I try to create a new preset in the JOSM wiki:

Warning: Invalid Wiki page: XML validation for preset failed: Element '{http://josm.openstreetmap.de/tagging-preset-1.0}item': Character content other than whitespace is not allowed because the content type is 'element-only'.

Though it looks fine otherwise on the preview. I understand there must be a non whitespace character between the tags, but as the warning does not provide any location or indication, I cannot find the problem.

If needed, the full text (header for the JOSM wiki + preset) can be seen here: link text

asked 04 May '17, 13:35

sev%20hotosm's gravatar image

sev hotosm
26445
accept rate: 0%


I think you should remove all text outside the presets-tag, so also the xml tag should be removed.

permanent link

answered 04 May '17, 14:07

escada's gravatar image

escada
17.6k16146278
accept rate: 21%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×513
×11
×9
×1

question asked: 04 May '17, 13:35

question was seen: 695 times

last updated: 04 May '17, 14:07

powered by OSQA