Git Product home page Git Product logo

Comments (6)

JitGub avatar JitGub commented on June 11, 2024

Forgot to add screen dump:
warnings tag

from rosemary.

christoph-buente avatar christoph-buente commented on June 11, 2024

This error message does not make any sense to me. Is it because of multiple whitespaces in the description text? Or is there a special character in it?

from rosemary.

JitGub avatar JitGub commented on June 11, 2024

Both, see hex-dump.
wheelchair_description

from rosemary.

christoph-buente avatar christoph-buente commented on June 11, 2024

Ok, thanks for providing that. Even then I'm not sure if it wasn't job of the API to make sure clients don't send "malicious" data and refuse to serve these API calls.

It's easy to implement a check for double whitespaces. But hey, i can see people with pitchforks and torches coming after me because there is a very good reason to support double whitespaces as tag values.

What is the statement of the OSM API maintainers?

from rosemary.

JitGub avatar JitGub commented on June 11, 2024

Maybe a warning can do it.
Like JOSM editor do.

from rosemary.

matkoniecz avatar matkoniecz commented on June 11, 2024

Rosemary editor

According to https://github.com/sozialhelden/rosemary Rosemary is API client, not editor. Creating a proper editor requires (among others) handling poor/invalid user input.

It looks like the Rosemary editor can create a tag that gives warnings in JOSM editor version 11441.

It did what user instructed it to do, right? It is not a job of API client to run validation rules like that - it should be implemented in editor itself.

from rosemary.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.