You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by GitBox <gi...@apache.org> on 2021/08/18 18:35:25 UTC

[GitHub] [daffodil] stevedlawrence opened a new pull request #621: Ensure newlines are output when debugger displays hidden groups

stevedlawrence opened a new pull request #621:
URL: https://github.com/apache/daffodil/pull/621


   The debugger uses the XMLTextInfosetOutputter to display the infoset,
   which uses hasVisibleChildren to determine when to output newlines in
   complex elements--empty complex elements should not output a newline.
   
   However, hasVisibleChildren assumes hidden elements won't ever be
   output, but that isn't the case in the debugger. This means that when
   the debugger outputs an infoset, newlines aren't correctly output within
   hidden groups of empty complex elements.
   
   Since the hasVisibleChildren variable is only used in the
   XMLTextInfosetOutputter, and since it doesn't work with the debugger,
   this patch just removes it. It is replaced with state added to the
   infoset outputter to keep track of when to output newlines when
   outputting XML.
   
   DAFFODIL-2554


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [daffodil] stevedlawrence merged pull request #621: Ensure newlines are output when debugger displays hidden groups

Posted by GitBox <gi...@apache.org>.
stevedlawrence merged pull request #621:
URL: https://github.com/apache/daffodil/pull/621


   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org