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