Forgot to clear buffer between schema loads
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 16 Apr 2004 22:48:57 +0000 (22:48 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 16 Apr 2004 22:48:57 +0000 (22:48 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@993 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

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

index a04a3b3..7f1c475 100755 (executable)
@@ -123,6 +123,7 @@ public class XML
                 throw new RuntimeException("XML static initializer unable to locate Shibboleth trust schema");
             else {
                 int b;
+                buf.setLength(0);
                 while ((b = xmlin.read()) != -1)
                     buf.append((char)b);
                 Trust_schema = buf.toString().getBytes();