X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=SXSIStorageInterface.cpp;fp=SXSIStorageInterface.cpp;h=14c1d703cf7e8f94be3912e98cb3caef68fb236d;hb=9be0c0e2a5597148fdc3a3cca2bdaf69da0aa27d;hp=bd21cd0e12979ea65e79a85c9d61a8b84d294ea3;hpb=c8f4fdfb1408aee5e3a4b402ff1ead9c3cdd9a4c;p=SXSI%2Fxpathcomp.git diff --git a/SXSIStorageInterface.cpp b/SXSIStorageInterface.cpp index bd21cd0..14c1d70 100644 --- a/SXSIStorageInterface.cpp +++ b/SXSIStorageInterface.cpp @@ -24,22 +24,29 @@ 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()) + if (text.empty()){ + cerr << "Calling newEmptyText()\n"; tree->NewEmptyText(); - else + } + else { + cerr << "Calling newText(" << text <<")\n"; 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()); }