function initContext (DocumentContext $ctx)
  {
    $ctx->condenseLiterals     = $this->collapseWhitespace;
    $ctx->controllers          = $this->controllers;
    $ctx->controllerNamespaces = $this->controllerNamespaces;
    $ctx->registerTags ($this->tags);
    $ctx->setFilterHandler ($this->filterHandler);
    $ctx->getDataBinder ()->setContext ($ctx);
  }