[DFDL-WG] [dfdl] initiatedContent w/o initiators
Garriss Jr., James P.
jgarriss at mitre.org
Thu May 30 14:49:13 EDT 2013
Spec says:
It is a schema definition error if any children have their dfdl:initiator property set to the empty string.
Does that include a sequence with a hiddenGroupRef?
For example, part of a schema for email headers is this:
<xsd:choice dfdl:initiatedContent="yes">
<xsd:element ref="Date"/>
<xsd:element ref="From"/>
<xsd:element ref="MessageId"/>
<xsd:element ref="Subject"/>
<!-- all unknown and unwanted headers -->
<xsd:sequence dfdl:hiddenGroupRef="UnwantedHeadersGroup"/>
</xsd:choice>
Date, From, and the other headers are all elements with initiators, but UnwantedHeadersGroup does not have an initiator (because I don't know it a priori).
Should this throw an error in a DFDL implementation? I suspect it should, though I hope it shouldn't.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/dfdl-wg/attachments/20130530/8acc7a58/attachment.html>
More information about the dfdl-wg
mailing list