Package com.predic8.membrane.core.interceptor.xmlprotection
package com.predic8.membrane.core.interceptor.xmlprotection
-
ClassDescriptionFilters XML streams, removing potentially malicious elements: DTDs can be removed. The length of element names can be limited. The number of attibutes per element can be limited. If
XMLProtector.protect(InputStreamReader)returns false, an unrecoverable error has occurred (such as not-wellformed XML or an element name length exceeded the limit), theOutputStreamWriteris left at this position: It should be discarded and an error response should be returned to the requestor.