File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/java/org/apache/commons/text/lookup Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3838 with :
3939 persist-credentials : false
4040 - name : Set up JDK ${{ matrix.java }}
41- uses : actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0 .0
41+ uses : actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1 .0
4242 with :
4343 distribution : ' temurin'
4444 java-version : ${{ matrix.java }}
Original file line number Diff line number Diff line change @@ -138,14 +138,14 @@ public String lookup(final String key) {
138138 for (final Entry <String , Boolean > p : xmlFactoryFeatures .entrySet ()) {
139139 dbFactory .setFeature (p .getKey (), p .getValue ());
140140 }
141- dbFactory .setFeature (XMLConstants .FEATURE_SECURE_PROCESSING , secure );
141+ // dbFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, secure);
142142 try (InputStream inputStream = Files .newInputStream (getPath (documentPath ))) {
143143 final Document doc = dbFactory .newDocumentBuilder ().parse (inputStream );
144144 final XPathFactory xpFactory = XPathFactory .newInstance ();
145145 for (final Entry <String , Boolean > p : xPathFactoryFeatures .entrySet ()) {
146146 xpFactory .setFeature (p .getKey (), p .getValue ());
147147 }
148- xpFactory .setFeature (XMLConstants .FEATURE_SECURE_PROCESSING , secure );
148+ // xpFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, secure);
149149 return xpFactory .newXPath ().evaluate (xpath , doc );
150150 }
151151 } catch (final Exception e ) {
You can’t perform that action at this time.
0 commit comments