[
https://issues.apache.org/jira/browse/DAFFODIL-2419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17897771#comment-17897771
]
Olabusayo Kilo commented on DAFFODIL-2419:
------------------------------------------
just to clarify, the following would generate the SDE, correct?
{code:xml}
<xs:element name="e7" dfdl:lengthKind="delimited">
<xs:complexType>
<xs:sequence dfdl:separator=",">
<xs:element name="a" type="xs:int" />
<xs:element name="h">
<xs:complexType>
<xs:sequence>
<xs:element name="g">
<xs:complexType>
<xs:sequence dfdl:hiddenGroupRef="ex:c3" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
{code}
> Enforce hiddenGroupRef cannot be model group of Complex type
> ------------------------------------------------------------
>
> Key: DAFFODIL-2419
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2419
> Project: Daffodil
> Issue Type: Bug
> Components: DFDL Language, Front End, QA
> Affects Versions: 2.7.0
> Reporter: Mike Beckerle
> Priority: Minor
> Labels: beginner
>
> Erratum 5.40 clarifies that a complexType cannot have a sequence with
> dfdl:hiddenGroupRef as its model group.
> A check for this and issuing an SDE is needed to verify that schemas don't do
> this.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)