/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/phobos-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:
15
15
 
16
16
extern(C) void parseXML(TestData *td, ulong iter) {
17
17
    string str = std.conv.to!string(td.xml);
 
18
/*
 
19
    This is extremelly slow, and fails in many cases,
 
20
    lets see how non-validating parser is working
18
21
    check(str);
 
22
*/
19
23
 
20
24
    auto xml = new DocumentParser(str);
21
25
    xml.onStartTag[null] = (ElementParser xml) {