This is a static archive of the previous Open Grid Forum Redmine content management system saved from host redmine.ogf.org file /issues/312 at Thu, 03 Nov 2022 01:52:43 GMT document #312: Clarify empty string behaviour for text boolean properties that do not specify it - DFDL WG - Open Grid Forum

document #312

Clarify empty string behaviour for text boolean properties that do not specify it

Added by Steve Hanson over 6 years ago. Updated almost 5 years ago.

Status:closed Start date:05/24/2016
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:DFDL v1.0
Document Type:Proposed Recommendation

Description

Properties dfdl:textBooleanTrueRep and dfdl:textBooleanFalseRep do not state empty string behaviour.

History

Updated by Steve Hanson over 6 years ago

  • Status changed from submitted to accepted

Properties dfdl:textBooleanTrueRep and dfdl:textBooleanFalseRep will state empty string not allowed. Schema definition error if empty string found as the property value.

Updated by Michael Beckerle over 5 years ago

I am not sure this is correct - The description says %ES entity is not allowed, and if empty string is not allowed then there is no way to use empty string to mean false. This seems like potentially useful functionality.

If we disallow empty string, then should we allow %ES; entity for expressing that empty means false?

Updated by Michael Beckerle over 5 years ago

  • Status changed from accepted to submitted

changed status back to submitted - because of need to clarify ES issue.

Updated by Steve Hanson almost 5 years ago

I don't think using empty string or ES to indicate false is a good idea. It clashes with the use of empty string to indicate an optional element is not present, or to indicate a required element can take a default value. If you have such an element and you want empty string to mean false, then use a default value of false.

Updated by Michael Beckerle almost 5 years ago

After review, we concluded that we don't have a compelling use case yet for allowing empty-string to mean anything; hence,
we are back to just not allowing empty string (or %ES;) as the value of these properties, and clarifying the spec accordingly.

Updated by Michael Beckerle almost 5 years ago

  • Status changed from submitted to accepted

Updated by Michael Beckerle almost 5 years ago

  • Target version set to DFDL v1.0

Updated by Michael Beckerle almost 5 years ago

  • Status changed from accepted to final review

Erratum 5.33

Updated by Michael Beckerle almost 5 years ago

  • Status changed from final review to closed

(Other formats not available in this archive.

This is a static archive of the previous Open Grid Forum Redmine content management system saved from host redmine.ogf.org file /issues/312 at Thu, 03 Nov 2022 01:52:45 GMT