W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > November 2015

[mediacapture-main] Need description of semantics of multivalued "exact" string constraint

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Wed, 18 Nov 2015 10:25:12 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issues.opened-117557430-1447842310-sysbot+gh@w3.org>
alvestrand has just created a new issue for 

== Need description of semantics of multivalued "exact" string 
constraint ==
The definition of ConstrainDomString is:

dictionary ConstrainDOMStringParameters {
             (DOMString or sequence<DOMString>) exact;
             (DOMString or sequence<DOMString>) ideal;

The applyConstraints algorithm does not specify how to deal with 
multivalued constraints.
Since treating them as an intersection is illogical, they must be 
regarded as acceptable alternatives.
Suggested change:

Under "definitions" in "applyConstraints", add the following:

For string valued constraints, we define "==" to be true if one of the
 values in the sequence is exactly the same as the value being 
compared against.

Please view or discuss this issue at 
https://github.com/w3c/mediacapture-main/issues/274 using your GitHub 
Received on Wednesday, 18 November 2015 10:25:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:27:28 UTC