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
14c1d70
..
5df826b
100644
(file)
--- a/
SXSIStorageInterface.cpp
+++ b/
SXSIStorageInterface.cpp
@@
-15,7
+15,7
@@
SXSIStorageInterface::SXSIStorageInterface()
{
tree = new XMLTree();
SXSIStorageInterface::SXSIStorageInterface()
{
tree = new XMLTree();
- tree->OpenDocument(true,
1
);
+ tree->OpenDocument(true,
64
);
}
SXSIStorageInterface::~SXSIStorageInterface()
}
SXSIStorageInterface::~SXSIStorageInterface()
@@
-24,30
+24,23
@@
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()){
- cerr << "Calling newEmptyText()\n";
+ if (text.empty())
tree->NewEmptyText();
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)
{
}
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()
}
void SXSIStorageInterface::parsingFinished()