// Note: the jdbc repository values are sometimes set even for
// XML, but it's not a simple decision. We just do this for now,
// we can make it more complex later if necessary.
if ("xml".equals(config.repositoryType)) {
if (config.defaultProjectPolicies != null) {
ConfigProjectPoliciesXmlValue xml =
(ConfigProjectPoliciesXmlValue)
config.defaultProjectPolicies;
Assert.assertTrue("default policies should be JDBC",
defaultPolicies instanceof XmlPoliciesConfiguration);
XmlPoliciesConfiguration xmlPolicies =