Fixed a small parser bug. Validation was always turned on, even when not specified...
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 17 May 2005 15:05:22 +0000 (15:05 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 17 May 2005 15:05:22 +0000 (15:05 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1491 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/xml/Parser.java

index 94f76d5..bbeb4c5 100644 (file)
@@ -187,7 +187,7 @@ public class Parser {
         }
         
         public Document parse(InputSource ins) throws SAXException, IOException, SAMLException {
         }
         
         public Document parse(InputSource ins) throws SAXException, IOException, SAMLException {
-            doc = loadDom(ins,true);
+            doc = loadDom(ins,validate);
             return doc;
         }
         
             return doc;
         }