stevedlawrence commented on pull request #437: URL: https://github.com/apache/incubator-daffodil/pull/437#issuecomment-710210484
Another thought, what if instead we make it so that if we would have freed a DINode but didn't then we modify some new state in the DNIode that says that it would have been freed. And when we output the infoset as XML we have to ability to configure it to include an attribute saying it would have been freed. Then we just have these tests disable freeing output as XML with this attribute, and then we can easily inspect the XML to determine which elements would have been freed. No concerns with elemetn children being null, and the resulting XML should look exactly like the infoset, just with extra attributes. Thoughts? ---------------------------------------------------------------- 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]
