summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/DescriptorParser.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2005-10-05 09:29:15 +0000
committerBenoit Foucher <benoit@zeroc.com>2005-10-05 09:29:15 +0000
commit40cb2933948079d126293d88f1ba3a3ed70eb55f (patch)
treefe74c8abdb7ae83e37bb1fc5bff308dca4b5de85 /cpp/src/IceGrid/DescriptorParser.cpp
parentbug 475 - removing IcePack (diff)
downloadice-40cb2933948079d126293d88f1ba3a3ed70eb55f.tar.bz2
ice-40cb2933948079d126293d88f1ba3a3ed70eb55f.tar.xz
ice-40cb2933948079d126293d88f1ba3a3ed70eb55f.zip
Added support for enabling/disabling servers.
Diffstat (limited to 'cpp/src/IceGrid/DescriptorParser.cpp')
-rw-r--r--cpp/src/IceGrid/DescriptorParser.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/DescriptorParser.cpp b/cpp/src/IceGrid/DescriptorParser.cpp
index aea6f22ad98..3ddbfbad404 100644
--- a/cpp/src/IceGrid/DescriptorParser.cpp
+++ b/cpp/src/IceGrid/DescriptorParser.cpp
@@ -136,7 +136,7 @@ DescriptorHandler::startElement(const string& name, const IceXML::Attributes& at
// We don't bother to parse the elements if the elements are enclosed in a target element
// which won't be deployed.
//
- attributes.asMap(); // NOTE: prevents warning about attributes not being used.
+ attributes.asMap();
return;
}
else if(name == "include")
@@ -367,12 +367,14 @@ DescriptorHandler::startElement(const string& name, const IceXML::Attributes& at
}
_currentCommunicator->addDbEnvProperty(attributes);
}
+
+ attributes.checkUnknownAttributes();
}
catch(const string& reason)
{
error(reason);
}
-
+
_data = "";
}