From c0c9716a7d12b884f30791632b372dca72853004 Mon Sep 17 00:00:00 2001 From: Neil Graham <neilg@apache.org> Date: Sat, 13 Dec 2003 23:35:28 +0000 Subject: [PATCH] fix bug 25494; thanks to Han Ming git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@175557 13f79535-47bb-0310-9956-ffa450edef68 --- src/xercesc/framework/psvi/XSModel.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/xercesc/framework/psvi/XSModel.cpp b/src/xercesc/framework/psvi/XSModel.cpp index 3d6420c6f..e75461abf 100644 --- a/src/xercesc/framework/psvi/XSModel.cpp +++ b/src/xercesc/framework/psvi/XSModel.cpp @@ -56,6 +56,9 @@ /* * $Log$ + * Revision 1.12 2003/12/13 23:35:28 neilg + * fix bug 25494; thanks to Han Ming + * * Revision 1.11 2003/12/01 20:41:47 neilg * do not throw an exception if there is no user-defined registry * @@ -574,7 +577,7 @@ XSNamedMap <XSObject> *XSModel::getComponentsByNamespace(XSConstants::COMPONENT_ namespaceItem = getNamespaceItem(emptyString); if (namespaceItem) - namespaceItem->getComponents(objectType); + return namespaceItem->getComponents(objectType); return 0; } -- GitLab