From 9885a4db020be814de492e5657fefdc21a3041b9 Mon Sep 17 00:00:00 2001 From: PeiYong Zhang <peiyongz@apache.org> Date: Wed, 29 Sep 2004 21:23:34 +0000 Subject: [PATCH] default implementation provided git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@176115 13f79535-47bb-0310-9956-ffa450edef68 --- src/xercesc/framework/XMLDTDDescription.hpp | 7 +++++-- src/xercesc/internal/XMLScanner.hpp | 5 ++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/xercesc/framework/XMLDTDDescription.hpp b/src/xercesc/framework/XMLDTDDescription.hpp index 5fc7b9145..c7d6fde5f 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 c1f8f949c..0187d0d2b 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 -- GitLab