Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.2
Description
When parsing a node like:
<node> foo </node>
XmlParser returns 'foo' not ' foo ' when getting the text value. This autotrimming feature is markedly different from what most XML parsers do (and is easy to do after the fact by using the trim() method when needed). This issue swaps the default but this feature can still be turned back on with a trimWhitespace flag if desired.