Skip to content

Case sensitivity in parameters #22

@mbtaylor

Description

@mbtaylor

The text in Section 3.1 of WD-ObjObsSAP-1.0-20250529 says "Parameter names are case-insensitive".

This is in line with DALI 1.1 section 3.1 (and PR-DALI-1.2-20251024 sec 4.1) which says:

Parameter names are not case sensitive; a DAL service must treat upper-, lower-, and mixed-case parameter names as equal.

However, as discussed elsewhere case sensitivity for parameter names in HTTP APIs is probably a Bad Thing, and in particular causes problems for OpenAPI implementations.

There is discussion on changing this DALI policy at DALI issue #21, and recent comments there suggest that new standards such as ObjObsSAP (which does not have a significant existing base of implementations) could reasonably diverge from DALI recommendations in this respect and require case-sensitive use of parameters.

So: how about instead stating in ObjObsSAP that parameter names are case-sensitive? If so, we have to choose whether we're going to use lowercase or UPPERCASE; most but not all references to the parameters in the document text are currently upper case, so I'd suggest sticking with that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions