Ignore:
Timestamp:
May 22, 2008, 2:39:44 PM (11 years ago)
Author:
ksherdy
Message:

Include 'fgSAX2CoreNameSpacePrefixes' flag to report namespace prefixes with qnames.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PerfTest/xerces_markup_stats/xerces_markup_stats.cpp

    r145 r150  
    1010
    1111#ifndef REPEAT_RUNS
    12 #define REPEAT_RUNS 3
     12#define REPEAT_RUNS 1
    1313#endif
    1414
     
    9595   
    9696    // Do not perform Namespace processing.
    97     parser->setFeature(XMLUni::fgSAX2CoreNameSpaces, false);
     97    parser->setFeature(XMLUni::fgSAX2CoreNameSpacePrefixes, true);
     98    parser->setFeature(XMLUni::fgSAX2CoreNameSpaces, true);
    9899
    99100    MarkupStats* defaultHandler = new MarkupStats();
Note: See TracChangeset for help on using the changeset viewer.