scenarioo / scenarioo-format

Specification of the next generation Scenarioo documentation format (for version 3.0 and upwards)
http://www.scenarioo.org
GNU Lesser General Public License v3.0
0 stars 2 forks source link

Specify how default identifiers (id fields) are calculated #20

Closed bruderol closed 8 years ago

bruderol commented 8 years ago

proposal:

only following characters are allowed: A-Z,a-z,0-9, - _ + and no spaces!

calculation of default id from name/value:

  1. All unallowed characters are replaced with _
  2. A sequence of more than one is reduced to one single
  3. I think we should remove leading and trailing _ from generated default ids

This has even the advantage, that when somebody is using a path, e.g. "base/bla" or "/base/bla/" or "base/bla/", that this three examples are all 3 mapped to the same id "base_bla". And "http://www.scenarioo.org" becomes "http_www_scenarioo_org"

Open points:

bruderol commented 8 years ago

Decission:

bruderol commented 8 years ago

what we finally agreed upon:

bruderol commented 8 years ago

that is what the reference implementation does, I consider this as closed