Skip to content

Commit a130456

Browse files
author
Flurb
committed
XMLInputFactory fix
Signed-off-by: Flurb <[email protected]>
1 parent d156ae7 commit a130456

File tree

1 file changed

+0
-3
lines changed
  • validator/src/main/java/org/lfenergy/compas/scl/validator/xsd

1 file changed

+0
-3
lines changed

validator/src/main/java/org/lfenergy/compas/scl/validator/xsd/SclInfo.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,7 @@ public String getRelease() {
6666

6767
private XMLInputFactory getXMLInputFactory() {
6868
var xmlInputFactory = XMLInputFactory.newInstance();
69-
xmlInputFactory.setProperty(XMLInputFactory.SUPPORT_DTD, false);
7069
xmlInputFactory.setProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES, Boolean.FALSE);
71-
xmlInputFactory.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, "");
72-
xmlInputFactory.setProperty(XMLConstants.ACCESS_EXTERNAL_SCHEMA, "");
7370
return xmlInputFactory;
7471
}
7572
}

0 commit comments

Comments
 (0)