Coder Social home page Coder Social logo

case sensitivity for values about ids HOT 3 CLOSED

buildingsmart avatar buildingsmart commented on June 21, 2024
case sensitivity for values

from ids.

Comments (3)

dro007 avatar dro007 commented on June 21, 2024

This depends on who our target market is. If we are supporting software engineers who are used to typing in camel case then case sensitivity would be ok.
If we want to support "normal" people, then case sensitivity would be extremely frustrating for them. There could be development environments that supported validating case sensitivity for "normal" people, but this adds another layer of complexity.

from ids.

aothms avatar aothms commented on June 21, 2024

My thoughts:

  • entity predefined type are special since they refer to existing definitions. I'd say they need to be case-insensitive, as EXPRESS is also case insensitive and it allows people to copy paste from both the mixed case docs as well as upper case serialization.
  • some pset names are standardized others aren't. Maybe it should be forced case insensitive. I think errors are easily made there and there is no value in differencing case. Same for the property names.
  • for most other cases I'd say it's up to the user, so I'd say an attribute is best
  • we need to consider what to do with the combination of case insensitivity and pattern. So we could either say case-sensitive is an attribute of e.g simpleValue and enum so that pattern is by definition case sensitive, but that would allow case-sensitivity specification on entity. Attribute can also be on facet nodes.
  • Keep in mind that you can't case convert a regex and expect the same behaviour when ran on a case-converted string (because of the character groups such as \S \W).

from ids.

berlotti avatar berlotti commented on June 21, 2024

Same as for #49 : follow XSD standard of case sensitive

from ids.

Related Issues (20)

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.