projects
/
SXSI
/
xpathcomp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.
[SXSI/xpathcomp.git]
/
SXSIStorageInterface.cpp
diff --git
a/SXSIStorageInterface.cpp
b/SXSIStorageInterface.cpp
index
bd21cd0
..
14c1d70
100644
(file)
--- a/
SXSIStorageInterface.cpp
+++ b/
SXSIStorageInterface.cpp
@@
-24,22
+24,29
@@
SXSIStorageInterface::~SXSIStorageInterface()
void SXSIStorageInterface::newChild(string name)
{
void SXSIStorageInterface::newChild(string name)
{
+ cerr << "New child " << name << "\n";
tree->NewOpenTag((unsigned char*) name.c_str());
}
void SXSIStorageInterface::newText(string text)
{
tree->NewOpenTag((unsigned char*) name.c_str());
}
void SXSIStorageInterface::newText(string text)
{
- if (text.empty())
+ if (text.empty()){
+ cerr << "Calling newEmptyText()\n";
tree->NewEmptyText();
tree->NewEmptyText();
- else
+ }
+ else {
+ cerr << "Calling newText(" << text <<")\n";
tree->NewText((unsigned char*) text.c_str());
tree->NewText((unsigned char*) text.c_str());
- }
+
+ };
+}
void SXSIStorageInterface::nodeFinished(string name)
{
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());
}