NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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

SeverinGeo's gravatar image

SeverinGeo
81558
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
19.0k16166302
accept rate: 21%

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:

×622
×11
×10
×1

question asked: 04 May '17, 13:35

question was seen: 2,266 times

last updated: 04 May '17, 14:07

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum