stevedlawrence commented on a change in pull request #332: Refactor isHidden
URL: https://github.com/apache/incubator-daffodil/pull/332#discussion_r389892751
 
 

 ##########
 File path: 
daffodil-core/src/main/scala/org/apache/daffodil/grammar/ModelGroupGrammarMixin.scala
 ##########
 @@ -68,9 +69,16 @@ trait ModelGroupGrammarMixin
           case c: ChoiceTermBase => DelimiterStackCombinatorChoice(c, content)
           case s: SequenceTermBase => DelimiterStackCombinatorSequence(s, 
content)
         }
-      } else { groupContentDef }
+      } else {
+        groupContent
+      } //TODO: confirm this works; changed from groupContentDef
 
-    finalContent
+      val mgrd = self.modelGroupRuntimeData
+      if (mgrd.isHidden) {
 
 Review comment:
   Does isHidden need to be part of the MoelGroupRuntimeData? Can we just use 
isHidden frome the ModelGroup DSOM?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to