Fix to system ID check.
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 31 Oct 2002 20:27:14 +0000 (20:27 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 31 Oct 2002 20:27:14 +0000 (20:27 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@338 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/eduPerson/XML.java
src/edu/internet2/middleware/shibboleth/common/XML.java

index 6f7a5e0..44c6810 100755 (executable)
@@ -94,7 +94,7 @@ public class XML
             throws SAXException, java.io.IOException
         {
             InputSource src = null;
-            if (systemId.endsWith('/' + EDUPERSON_SCHEMA_ID) && eduPerson_schema != null)
+            if (systemId.endsWith(EDUPERSON_SCHEMA_ID) && eduPerson_schema != null)
                 src = new InputSource(new ByteArrayInputStream(eduPerson_schema));
             return src;
         }
index 50f3b9c..ed55b2f 100755 (executable)
@@ -94,7 +94,7 @@ public class XML
             throws SAXException, java.io.IOException
         {
             InputSource src = null;
-            if (systemId.endsWith('/' + SHIB_SCHEMA_ID) && Shib_schema != null)
+            if (systemId.endsWith(SHIB_SCHEMA_ID) && Shib_schema != null)
                 src = new InputSource(new ByteArrayInputStream(Shib_schema));
             return src;
         }