From d95a2245b9111c41465d43d85979f805deaadf3e Mon Sep 17 00:00:00 2001
From: Markus Frank <Markus.Frank@cern.ch>
Date: Thu, 9 Aug 2018 20:27:09 +0200
Subject: [PATCH] Fix DDCMS example to use true namespace names

---
 examples/DDCMS/CMakeLists.txt           | 2 +-
 examples/DDCMS/data/cms_test_solids.xml | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples/DDCMS/CMakeLists.txt b/examples/DDCMS/CMakeLists.txt
index e88a5d51f..41b33a8a5 100644
--- a/examples/DDCMS/CMakeLists.txt
+++ b/examples/DDCMS/CMakeLists.txt
@@ -73,7 +73,7 @@ dd4hep_add_test_reg( DDCMS_DumpMaterials
   EXEC_ARGS  geoPluginRun -print WARNING
   -input file:${CMAKE_CURRENT_SOURCE_DIR}/data/dd4hep-config.xml
   -destroy -plugin DD4hep_MaterialTable -type xml
-  REGEX_PASS "material name=\"tobmaterial_TOB_ax_services_C18\""
+  REGEX_PASS "material name=\"tobmaterial:TOB_ax_services_C18\""
   REGEX_FAIL "Exception"
   REGEX_FAIL "FAILED"
   )
diff --git a/examples/DDCMS/data/cms_test_solids.xml b/examples/DDCMS/data/cms_test_solids.xml
index cdb2f8ab2..f611803b0 100644
--- a/examples/DDCMS/data/cms_test_solids.xml
+++ b/examples/DDCMS/data/cms_test_solids.xml
@@ -23,8 +23,8 @@
     <Constant name="world_y" value="5*m"/>
     <Constant name="world_z" value="5*m"/>
     <Constant name="fm"      value="1e-12*m"/>
-    <Constant name="Air"     value="materials_Air"     type="string"/>
-    <Constant name="Vacuum"  value="materials_Vacuum"  type="string"/>
+    <Constant name="Air"     value="materials:Air"     type="string"/>
+    <Constant name="Vacuum"  value="materials:Vacuum"  type="string"/>
   </ConstantsSection>
 
   <IncludeSection>
-- 
GitLab