On 05.08.20 16:04, Jonas Schäfer wrote: > On Mittwoch, 29. Juli 2020 00:29:11 CEST Tedd Sterr wrote: >> 4a ii) PR #971 (XEP-0004: Clarify field type omission for 'submit' and >> 'result' form field types) - https://github.com/xsf/xeps/pull/972 Jonas: >> [on-list] >> Zash: [on-list] >> Daniel: [on-list] >> Georg: [pending] >> Dave: [pending] > > Let me break this change down using the word diff (attached: ab.wdiff, pipe > it > through colordiff(1) for best viewing). > > Before: > > - type="form": @type SHOULD, absent implies "text-single" > - type="submit": @type MAY, absent assumes available context(*) > - type="error", type="result": @type MAY, absent undefined > > After: > > - type="form": @type SHOULD, absent implies "text-single" > - type="submit", type="result": @type MAY, absent assumes available context(*) > - type="error": undefined > > (*): It is assumed that the recipient of the form has enough context to infer > the @type value. Bad design IMO, but we’re stuck with that. > > So while the PR reduces the amount of text, it introduces undefined behaviour > for @type="error", which I don’t endorse.
There is no form type 'error', I assume you mean 'cancel'. Forms of type 'cancel' SHOULD NOT contain form-field elements, they are useless for this type. Hence I did not explicitly mention the 'cancel' form type. - Florian
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Standards mailing list Info: https://mail.jabber.org/mailman/listinfo/standards Unsubscribe: [email protected] _______________________________________________
