Updated for Xerces changes

This commit is contained in:
Jez Higgins 2010-08-20 21:31:55 +01:00
parent abaaaf4cc4
commit 3eb404dcd9

View file

@ -791,7 +791,7 @@ class xerces_wrapper : public ProgressiveParser<string_type, typename Arabica::g
virtual ~IStreamAdaptor() { } virtual ~IStreamAdaptor() { }
virtual unsigned int curPos() const virtual XMLFilePos curPos() const
{ {
return curPos_; return curPos_;
} // curPos } // curPos
@ -804,9 +804,11 @@ class xerces_wrapper : public ProgressiveParser<string_type, typename Arabica::g
return istream_.get()->gcount(); return istream_.get()->gcount();
} // readBytes } // readBytes
virtual const XMLCh* getContentType() const { return 0; }
private: private:
IStreamHandle istream_; IStreamHandle istream_;
unsigned int curPos_; XMLFilePos curPos_;
}; // IStreamAdaptor }; // IStreamAdaptor
class InputSourceAdaptor : public XERCES_CPP_NAMESPACE::InputSource class InputSourceAdaptor : public XERCES_CPP_NAMESPACE::InputSource