We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7735163 commit c02eb9fCopy full SHA for c02eb9f
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