Attachments (2)
Change History (19)
by , 14 years ago
Attachment: | josm-presets.png added |
---|
follow-up: 10 comment:1 by , 14 years ago
comment:2 by , 14 years ago
Why is this needed? Is it possible to make it optional?
(Remark: I think you broke the xml - missing ">")
comment:3 by , 14 years ago
It is optional - you can say that you want to use preset anyway and it will be loaded (if possible).
comment:6 by , 14 years ago
You deleted the local mirror file (or the mirror entry in advanced preferences)?
comment:7 by , 14 years ago
No, but I tested it with presets I have used before. So I could not delete a preset. If I add another preset the message pops up for others not changed presets as well.
comment:8 by , 14 years ago
JOSM keeps the old files. You wont get the new one except you either wait a week or delete the local mirrorfile. If both does not work, specify exactly which file fails.
comment:9 by , 14 years ago
I have deleted all mirror files and started josm again. But if add or delete another preset the message pops up again. After a restart it works without any errors.
comment:10 by , 14 years ago
Replying to anonymous:
Fixed oneclick.xml, othes probably will fails as well. Reason is missing
xmlns="http://josm.openstreetmap.de/tagging-preset-1.0"in main tag.
It seems this does not help. The error comes even for internal preset.
comment:11 by , 14 years ago
What is marked as Internal preset is in fact rule file for MapPaintVisitor, it should be probably removed from preset list.
xmlns tag shouldn't be required, validator will use http://josm.openstreetmap.de/tagging-preset-1.0 if nothing else is specified.
comment:12 by , 14 years ago
The error message is shown because tagging-preset.xsd file is not included in josm jar. When xsd file is available (for example when running custom build josm), some preset will be loaded without problems (for example one-click), others will complain about real errors.
by , 14 years ago
Attachment: | josm-validation.png added |
---|
comment:13 by , 14 years ago
I included the tagging-preset.xsd in my custom build. The xmlns does not seem to be optional (but should be) - see previous screenshot.
comment:15 by , 14 years ago
In the screenshot is error message about space tag being at wrong place, nothing about xmlns. I don't have the file here right now, but from the error message it looks like space tag is used where presets are defined, but it makes sense only inside of item tag.
comment:16 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:17 by , 14 years ago
I set up a redirect, so that http://josm.openstreetmap.de/tagging-preset-1.0 actually works :-)
BTW: Could we get a http://josm.openstreetmap.de/mappaint-style-1.0 as well?
Fixed oneclick.xml, othes probably will fails as well. Reason is missing
in main tag.