We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1198878 + c02eb9f commit 836c4dfCopy full SHA for 836c4df
core/src/main/java/com/onelogin/saml2/util/Util.java
@@ -394,6 +394,8 @@ public static Document parseXML(InputSource inputSource) throws ParserConfigurat
394
} catch (Throwable e) {}
395
396
DocumentBuilder builder = docfactory.newDocumentBuilder();
397
+ XMLErrorAccumulatorHandler errorAcumulator = new XMLErrorAccumulatorHandler();
398
+ builder.setErrorHandler(errorAcumulator);
399
Document doc = builder.parse(inputSource);
400
401
// Loop through the doc and tag every element with an ID attribute
0 commit comments