core-wg / conditional-attributes

Other
0 stars 1 forks source link

The value of the Band attribute #7

Closed asoloway64 closed 2 years ago

asoloway64 commented 3 years ago

The band attribute is defined as a boolean type, but the use of the band attribute is determined by its presence, not its value. We should probably explicitly explain that.

bsilverajan commented 3 years ago

This is a good catch. Do we need the band attribute to have a value to begin with? This query component can simply be a name, instead of name-value pair (i.e band does not have any datatype).

Example: /temperature?band&gt="30"&lt="35"

bsilverajan commented 2 years ago

Usage of band is now indicated purely by its presence and not its value in -02