This is a static archive of the previous Open Grid Forum Redmine content management system saved from host redmine.ogf.org file /boards/15/topics/51?r=171 at Thu, 03 Nov 2022 23:30:52 GMT lengthKind='endOfParent' and restriction on content model - Public Comments Archive - Open Grid Forum

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.

(1-6/6)

This is a static archive of the previous Open Grid Forum Redmine content management system saved from host redmine.ogf.org file /boards/15/topics/51?r=171 at Thu, 03 Nov 2022 23:30:52 GMT