X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=SXSIStorageInterface.cpp;fp=SXSIStorageInterface.cpp;h=5df826bd3e3aaf68e3083c650ab917c662e5ec6f;hb=496df5f7d3e6f8271763314f2067719cc2904c71;hp=14c1d703cf7e8f94be3912e98cb3caef68fb236d;hpb=9be0c0e2a5597148fdc3a3cca2bdaf69da0aa27d;p=SXSI%2Fxpathcomp.git diff --git a/SXSIStorageInterface.cpp b/SXSIStorageInterface.cpp index 14c1d70..5df826b 100644 --- a/SXSIStorageInterface.cpp +++ b/SXSIStorageInterface.cpp @@ -15,7 +15,7 @@ SXSIStorageInterface::SXSIStorageInterface() { tree = new XMLTree(); - tree->OpenDocument(true,1); + tree->OpenDocument(true,64); } SXSIStorageInterface::~SXSIStorageInterface() @@ -24,30 +24,23 @@ SXSIStorageInterface::~SXSIStorageInterface() void SXSIStorageInterface::newChild(string name) { - cerr << "New child " << name << "\n"; tree->NewOpenTag((unsigned char*) name.c_str()); } void SXSIStorageInterface::newText(string text) { - if (text.empty()){ - cerr << "Calling newEmptyText()\n"; + if (text.empty()) tree->NewEmptyText(); - } - else { - cerr << "Calling newText(" << text <<")\n"; - tree->NewText((unsigned char*) text.c_str()); - - }; + else + tree->NewText((unsigned char*) text.c_str()); } void SXSIStorageInterface::nodeFinished(string name) { - cerr << "Node Finished child " << name << "\n"; - tree->NewClosingTag((unsigned char*) name.c_str()); + tree->NewClosingTag((unsigned char*) name.c_str()); } void SXSIStorageInterface::parsingFinished()