Package com.fasterxml.aalto
Class AaltoInputProperties
- java.lang.Object
-
- com.fasterxml.aalto.AaltoInputProperties
-
public final class AaltoInputProperties extends java.lang.Object
Class that contains constant for property names used to configure cursor and event readers produced by Aalto implementation ofXMLInputFactory
.- Since:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
P_RETAIN_ATTRIBUTE_GENERAL_ENTITIES
Feature controlling whether general entities in attributes are retained as-is without processing (true
) or replaced as per standard XML processing rules (false
).
-
Constructor Summary
Constructors Constructor Description AaltoInputProperties()
-
-
-
Field Detail
-
P_RETAIN_ATTRIBUTE_GENERAL_ENTITIES
public static final java.lang.String P_RETAIN_ATTRIBUTE_GENERAL_ENTITIES
Feature controlling whether general entities in attributes are retained as-is without processing (true
) or replaced as per standard XML processing rules (false
). If enabled, instead of regular General Entity expansion, possible general entities in Attribute values will be left exactly as-is, with no processing; as such they cannot be distinguished from regular textual content.The main reason for enabling this non-standard property is to avoid errors in cases where content contains general entity references in attribute values, but no processing is allowed (for example, for security reasons).
Property defaults to
false
for XML standard compliancy but may be enabled to avoid processing errors (but note that caller will necessarily lose information as unexpanded entity cannot be distinguished from regular attribute textual content).- See Also:
- Constant Field Values
-
-