diff --git a/src/xercesc/framework/XMLDTDDescription.hpp b/src/xercesc/framework/XMLDTDDescription.hpp index 5fc7b9145e7be8f3072cc087eaabcee490388e8b..c7d6fde5fcd31b29a4f5330c94b1b16655e10150 100644 --- a/src/xercesc/framework/XMLDTDDescription.hpp +++ b/src/xercesc/framework/XMLDTDDescription.hpp @@ -16,6 +16,9 @@ /* * $Log$ + * Revision 1.5 2004/09/29 21:23:02 peiyongz + * default implementation provided + * * Revision 1.4 2004/09/08 13:55:58 peiyongz * Apache License Version 2.0 * @@ -76,14 +79,14 @@ public : * */ virtual const XMLCh* getRootName() const = 0; - virtual const XMLCh* getSystemId() const = 0; + virtual const XMLCh* getSystemId() const {return 0;}; /** * Setter * */ virtual void setRootName(const XMLCh* const) = 0; - virtual void setSystemId(const XMLCh* const) = 0; + virtual void setSystemId(const XMLCh* const) {}; //@} /*** diff --git a/src/xercesc/internal/XMLScanner.hpp b/src/xercesc/internal/XMLScanner.hpp index c1f8f949c2edefe7062405c67fbd8af297648f7b..0187d0d2b931f2131528e1d5bce79f53f91a0dfe 100644 --- a/src/xercesc/internal/XMLScanner.hpp +++ b/src/xercesc/internal/XMLScanner.hpp @@ -16,6 +16,9 @@ /* * $Log$ + * Revision 1.42 2004/09/29 21:23:34 peiyongz + * default implementation provided + * * Revision 1.41 2004/09/29 19:00:02 peiyongz * [jira1207] --patch from Dan Rosen * @@ -722,7 +725,7 @@ protected: virtual void sendCharData(XMLBuffer& toSend) = 0; //return owned by the caller - virtual InputSource* resolveSystemId(const XMLCh* const sysId) = 0; + virtual InputSource* resolveSystemId(const XMLCh* const sysId) {return 0;}; // ----------------------------------------------------------------------- // Protected scanning methods