Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Number of attachments :
Description
Woodstox seems to default input factory settings for IS_COALESCING to true, which is both against stax specs (which define it should be define), and unintentional (it was supposed to be false). Interestingly none of the staxtest cases cover basic checks for settings (should be added); nonetheless this should be fixed in trunk for 4.0. For 3.x series, it probably should not be changed mostly because it does change observed behaviour for users who do not explicitly change IS_COALESCING setting from default.
Changed default to be Stax compliant (that it wasn't was an accident – I always thought coalescing mode was disabled), and added basic verificatio regression test into StaxTest.