Fix XML in test case.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 21 Jan 2004 19:13:58 +0000 (19:13 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 21 Jan 2004 19:13:58 +0000 (19:13 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@831 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

tests/edu/internet2/middleware/shibboleth/hs/provider/NameMapperTests.java

index 26c2e4c..aa599a6 100644 (file)
@@ -289,7 +289,10 @@ public class NameMapperTests extends TestCase {
 
                        String rawConfig2 =
                                "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
-                                       + "<NameMapping format=\"urn-x:testNameIdentifier\""
+                                       + "<NameMapping xmlns=\"urn:mace:shibboleth:namemapper:1.0\""
+                                       + "             xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\""
+                                       + "             xsi:schemaLocation=\"urn:mace:shibboleth:namemapper:1.0 namemapper.xsd\" "
+                                       + "                     format=\"urn-x:testNameIdentifier\""
                                        + "             type=\"CryptoHandleGenerator\" handleTTL=\"1800\">"
                                        + "             <KeyStorePath>"
                                        + file.toURL().toString()