Add limits to ADF/Wiki conversion contexts

Issue #24 closed
Chris Fuller created an issue

This first pass is just meant to establish the contract of enforcing limits; it does not necessarily need to be defensive / efficient.

For example, a particularly clever implementation might monitor the size of the wiki markup as it accumulates node at a time and throw an exception as soon as the threshold is crossed to bypass wasted effort and ensure that the bounds are effective. All that is needed today, however, is to enforce limits on the end results after-the-fact.

Comments (2)

  1. Log in to comment