Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for disableExternalResources (0.13 sec)

  1. src/main/java/org/codelibs/core/xml/SchemaFactoryUtil.java

            final SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
            if (!external) {
                disableExternalResources(schemaFactory);
            }
            return schemaFactory;
        }
    
        private static void disableExternalResources(final SchemaFactory schemaFactory) {
            try {
                schemaFactory.setProperty(XMLConstants.ACCESS_EXTERNAL_SCHEMA, "");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top