stevedlawrence commented on a change in pull request #326: Daffodil 2280
cleanup - removes backpointers and factory patterns no longer needed
URL: https://github.com/apache/incubator-daffodil/pull/326#discussion_r393647368
##########
File path: daffodil-core/src/main/scala/org/apache/daffodil/dsom/GroupDef.scala
##########
@@ -114,21 +102,20 @@ trait GroupDefLike
sealed abstract class GlobalGroupDef(
defXML: Node,
groupXML: Node,
- schemaDocumentArg: SchemaDocument,
- grefArg: => GroupRef,
- override val factory: GlobalGroupDefFactory)
+ schemaDocumentArg: SchemaDocument)
extends AnnotatedSchemaComponentImpl(groupXML, schemaDocumentArg)
with GroupDefLike
with GlobalNonElementComponentMixin
- with NestingTraversesToReferenceMixin
+ with NestingLexicalMixin
with ResolvesLocalProperties // for dfdl:choiceBranchKey
{
- requiredEvaluations(validateChoiceBranchKey)
-
- lazy val groupRef = grefArg // once only
+ def groupMembers = {
Review comment:
Other changes moved some requiredEvaluations into a check() function. Should
this also be done there?
----------------------------------------------------------------
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