/** * Set the Configuration that contains this document * * @param config the Saxon configuration */ public void setConfiguration(/*@NotNull*/ Configuration config) { super.setConfiguration(config); allowTypedValueCache = config.isLicensedFeature(Configuration.LicenseFeature.SCHEMA_VALIDATION) && config.getBooleanProperty(Feature.USE_TYPED_VALUE_CACHE); addNamespace(0, NamespaceBinding.XML); }
/** * Set the Configuration that contains this document * * @param config the Saxon configuration */ public void setConfiguration(/*@NotNull*/ Configuration config) { super.setConfiguration(config); allowTypedValueCache = config.isLicensedFeature(Configuration.LicenseFeature.SCHEMA_VALIDATION) && config.getBooleanProperty(Feature.USE_TYPED_VALUE_CACHE); addNamespace(0, NamespaceBinding.XML); }