Forums » #117 - DFDL v1.0 Revision »
lengthKind='endOfParent' and restriction on content model
Added by Michael Beckerle about 9 years ago
Section 12.3.6
Says: If the element is in a sequence then it is a schema definition error if:- the sequence is not the content model of a complex type definition
Is this just theoretically to make implementations easier or is this restriction needed really? It seems like an arbitrary restriction that will make generating DFDL schemas from some data specifications harder.
Seems to me that whatever the sequence is, it has to be last within the nearest enclosing element. Not sure a greater restriction is helpful.
Replies (6)
RE: lengthKind='endOfParent' and restriction on content model - Added by Michael Beckerle almost 9 years ago
This was arbitrary. Really the restriction is that the element is "Last", and could in principle have surrounding sequences, and not only be the direct child of a sequence that is the content model of a complex type.
Action 237 - will be to create language to explain this better
Action 237 RE: lengthKind='endOfParent' and restriction on content model - Added by Michael Beckerle almost 9 years ago
Just changing subject so we can see at a glance which have action items.
Resolved - RE: lengthKind='endOfParent' and restriction on content model - Added by Michael Beckerle almost 9 years ago
Per DFDL WG Call on Dec 2, 2013 - language improvements circulated in email list.
Resolved: lengthKind='endOfParent' and restriction on content model - Added by Steve Hanson over 8 years ago
New erratum 4.10 in experience document 1 provides rewritten paragraphs for section 12.3.6.
Erratum 2.72 is also updated.
DONE - RE: lengthKind='endOfParent' and restriction on content model - Added by Michael Beckerle over 8 years ago
Changes in draft-gwdrp-dfdl-v1.0.4-r06.docx
DONE - RE: lengthKind='endOfParent' and restriction on content model - Added by Steve Hanson about 8 years ago
(1-6/6)