X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=XMLDocShredder.h;h=00f50d6870e66bcac58639ad3ccf483e295e71a3;hb=24fdea81b5506233d139bd7d72364a190bef35b8;hp=19ed10f252b19ce917729ad2eb6ddacc56fbb052;hpb=3623eefccfb5fc69e19ad975a3669f51a2a8b276;p=SXSI%2Fxpathcomp.git diff --git a/XMLDocShredder.h b/XMLDocShredder.h index 19ed10f..00f50d6 100644 --- a/XMLDocShredder.h +++ b/XMLDocShredder.h @@ -45,8 +45,6 @@ public: virtual void processUnknownNodeType(); virtual void processCDATASection(); virtual void parse(); - virtual int tagID(string); - virtual string idTag(int); StorageInterface *storageIfc_; @@ -54,8 +52,10 @@ public: private: TextReader *reader_; void setProperties(); - unordered_map idTags_; - unordered_map 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_*/