Package com.fasterxml.aalto
Class AaltoInputProperties
java.lang.Object
com.fasterxml.aalto.AaltoInputProperties
Class that contains constant for property names used to configure
cursor and event readers produced by Aalto implementation of
XMLInputFactory
.- Since:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
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 -
Method Summary
-
Field Details
-
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:
-
-
Constructor Details
-
AaltoInputProperties
public AaltoInputProperties()
-