- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 33 for setFeature (0.32 sec)
-
src/main/java/org/codelibs/core/xml/SAXParserFactoryUtil.java
final SAXParserFactory factory = SAXParserFactory.newInstance(); try { factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true); factory.setFeature("http://xml.org/sax/features/external-general-entities", false); factory.setFeature("http://xml.org/sax/features/external-parameter-entities", false); } catch (SAXNotRecognizedException | SAXNotSupportedException e) {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java
final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setFeature(Constants.FEATURE_SECURE_PROCESSING, true); factory.setFeature(Constants.FEATURE_EXTERNAL_GENERAL_ENTITIES, false); factory.setFeature(Constants.FEATURE_EXTERNAL_PARAMETER_ENTITIES, false); factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_DTD, StringUtil.EMPTY);
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 17.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
try { final SAXParserFactory factory = SAXParserFactory.newInstance(); factory.setFeature(org.codelibs.fess.crawler.Constants.FEATURE_SECURE_PROCESSING, true); factory.setFeature(org.codelibs.fess.crawler.Constants.FEATURE_EXTERNAL_GENERAL_ENTITIES, false); factory.setFeature(org.codelibs.fess.crawler.Constants.FEATURE_EXTERNAL_PARAMETER_ENTITIES, false);
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/DocumentBuilderFactoryUtil.java
if (logger.isDebugEnabled()) { logger.debug("Failed to set a property.", e); } } } try { factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true); } catch (final ParserConfigurationException e) { throw new ParserConfigurationRuntimeException(e); } return factory; } /**
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/jvm/jacoco/src/testFixtures/groovy/org/gradle/testing/jacoco/plugins/fixtures/JacocoReportXmlFixture.groovy
private final List<Coverage> classes JacocoReportXmlFixture(TestFile reportXmlFile) { reportXmlFile.assertIsFile() def slurper = new XmlSlurper(false, false, true) slurper.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false) this.xml = slurper.parse(reportXmlFile) this.classes = [] xml*.'package'.each { pkg ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 16:03:36 UTC 2023 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setFeature(Constants.FEATURE_SECURE_PROCESSING, true); factory.setFeature(Constants.FEATURE_EXTERNAL_GENERAL_ENTITIES, false); factory.setFeature(Constants.FEATURE_EXTERNAL_PARAMETER_ENTITIES, false);
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 16.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
* a typical case, the features should include {@link CollectionSize#ANY}.) These semantics are thus * a little different from those of other Collection-related features such as {@link * CollectionFeature} or {@link SetFeature}. * * <p>However, when {@link CollectionSize.Require} is used to annotate a test it behaves normally * (i.e. it requires the collection instance under test to be a certain size for the test to run).
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 26 19:46:10 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
* a typical case, the features should include {@link CollectionSize#ANY}.) These semantics are thus * a little different from those of other Collection-related features such as {@link * CollectionFeature} or {@link SetFeature}. * * <p>However, when {@link CollectionSize.Require} is used to annotate a test it behaves normally * (i.e. it requires the collection instance under test to be a certain size for the test to run).
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 26 19:46:10 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/serializer/DependencyVerificationsXmlReader.java
private static SAXParser createSecureParser() throws ParserConfigurationException, SAXException { SAXParserFactory spf = XmlFactories.newSAXParserFactory(); spf.setFeature("http://xml.org/sax/features/namespaces", false); spf.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true); return spf.newSAXParser(); } private static class VerifiersHandler extends DefaultHandler2 {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 17 13:23:37 UTC 2023 - 19.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.9K bytes - Viewed (0)