Fixed a small parser bug. Validation was always turned on, even when not specified...
[java-idp.git] / 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 {
-            doc = loadDom(ins,true);
+            doc = loadDom(ins,validate);
             return doc;
         }