/xmlbench/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/xmlbench/trunk

« back to all changes in this revision

Viewing changes to parse/tango-sax.d

  • Committer: Suren A. Chilingaryan
  • Date: 2009-10-08 03:17:59 UTC
  • Revision ID: csa@dside.dyndns.org-20091008031759-u5ys779huye7feni
LibXML Pull Parser, FAXPP Parser, Mono security benchmark, multiple fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
//    printf("%i %lf\n", level, res);
54
54
    res_attr[level] = res;
55
55
    if (++level == MAX_LEVELS) {
56
 
        Stdout.formatln("XML structure is too deep, only %i levels are supported\n", MAX_LEVELS);
 
56
        Stdout.formatln("XML structure is too deep, only {} levels are supported\n", MAX_LEVELS);
57
57
        throw new Exception("XML structure is too deep");
58
58
    }
59
59
    res_count[level]=0;