mirror of
https://github.com/stleary/JSON-java.git
synced 2026-01-24 00:03:17 -05:00
Update XMLParserConfiguration to not be static and add a comment about the use of shouldTrimWhiteSpace
This commit is contained in:
@@ -61,6 +61,13 @@ public class XMLParserConfiguration extends ParserConfiguration {
|
||||
*/
|
||||
private Set<String> forceList;
|
||||
|
||||
|
||||
/**
|
||||
* Flag to indicate whether white space should be trimmed when parsing XML.
|
||||
* The default behaviour is to trim white space. When this is set to false, inputting XML
|
||||
* with tags that are the same as the value of cDataTagName is unsupported. It is recommended to set cDataTagName
|
||||
* to a distinct value in this case.
|
||||
*/
|
||||
private boolean shouldTrimWhiteSpace;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user