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]
/
XMLDocShredder.h
diff --git
a/XMLDocShredder.h
b/XMLDocShredder.h
index
19ed10f
..
00f50d6
100644
(file)
--- a/
XMLDocShredder.h
+++ b/
XMLDocShredder.h
@@
-45,8
+45,6
@@
public:
virtual void processUnknownNodeType();
virtual void processCDATASection();
virtual void parse();
virtual void processUnknownNodeType();
virtual void processCDATASection();
virtual void parse();
- virtual int tagID(string);
- virtual string idTag(int);
StorageInterface *storageIfc_;
StorageInterface *storageIfc_;
@@
-54,8
+52,10
@@
public:
private:
TextReader *reader_;
void setProperties();
private:
TextReader *reader_;
void setProperties();
- unordered_map<int,string> idTags_;
- unordered_map<string,int> tagsID_;
+ bool last_text;
+ string buffer;
+ // used to coalece successive text events
+ // which can occur if we discard pi and comment nodes.
};
#endif /*XMLDOCSHREDDER_H_*/
};
#endif /*XMLDOCSHREDDER_H_*/