mbeckerle commented on a change in pull request #223: Daffodil 1444 schema comp
simple types
URL: https://github.com/apache/incubator-daffodil/pull/223#discussion_r289834036
##########
File path:
daffodil-core/src/main/scala/org/apache/daffodil/dsom/SchemaComponent.scala
##########
@@ -54,11 +54,12 @@ trait SchemaComponent
with PropTypes {
def xml: Node
- def parent: SchemaComponent
+ def lexicalParent: SchemaComponent
+ final lazy val optLexicalParent = Option(lexicalParent)
- final override def oolagContextViaArgs = Some(parent)
+ override def oolagContextViaArgs = Option(lexicalParent)
Review comment:
Yup. Will add comment. That's exactly the behavior we seek.
----------------------------------------------------------------
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