This is a static archive of the previous Open Grid Forum Redmine content management system saved from host redmine.ogf.org file /issues/317 at Thu, 03 Nov 2022 01:52:47 GMT document #317: Action 242 part 2 - escape characters are part of the value region - DFDL WG - Open Grid Forum

document #317

Action 242 part 2 - escape characters are part of the value region

Added by Michael Beckerle over 6 years ago. Updated about 2 years ago.

Status:closed Start date:08/02/2016
Priority:Normal Due date:
Assignee:- % Done:

100%

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

Description

Spec says escapeCharacter, escapeBlockStart, and excapeBlockEnd contribute to the content length of an element.

escapeEscapeCharacter is missing this stipulation and should be made consistent.

However, I believe this is incorrect. These all contribute to the value length, that is to say, they appear within the "SimpleValue | NilLogicalValue" , or NilLiteralValue (for simple types) region.

There is awkwardness here in that per a separate issue tracker for Action 242, we intended to explicitly create a ComplexValue region in the data gramar, but for simple types, the term "simple value region" actually means not only the region explicitly named "SimpleValue", but also NilLogicalValue, and NilLiteralValue (but only where it is used in simple-type grammar productions.

This suggests these additional changes:

Split NilLiteralValue to SimpleNilLiteralValue and ComplexNilLiteralValue

Rename the current SimpleValue to SimpleNormalValue,

Define SimpleLogicalValue as SimpleNormalValue | NilLogicalValue

Then we have no misleading grammar region named SimpleValue, so the term "simple value region" can be defined to mean
SimpleLogicalValue or SimpleNilLiteralValue.

We can't actually create a grammar production for SimpleValue because SimpleLogicalValue and SimpleNilLiteralValue don't appear in the data grammar at the same places, so no single production would capture the grammar restrictions properly.

But we can define what we mean by "simple value" crisply, which will serve our needs for desribing what dfdl:valueLength does.

History

Updated by Michael Beckerle almost 5 years ago

  • Target version set to DFDL v1.0

Updated by Michael Beckerle about 3 years ago

  • Status changed from submitted to accepted

Erratum 5.45

Updated by Michael Beckerle about 2 years ago

  • Status changed from accepted to closed
  • % Done changed from 0 to 100

(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/317 at Thu, 03 Nov 2022 01:52:49 GMT