Fix for null and undefined attributes when building xml (#585) by cecia234 · Pull Request #598 · NaturalIntelligence/fast-xml-parser (original) (raw)
Purpose / Goal
After the fix null and undefined attributes in the starting object do not cause odd whitespaces and newlines in the built xml, regardless of whether format is true or false. Issue #585
Perf test on XMLBuilder:
Running Suite: XML Builder benchmark
fxp : 76193.36948123561 requests/second
fxp - preserve order : 238552830.29948822 requests/second
xml2js : 21083.181183955512 requests/second
Type
Please mention the type of PR
- [x]Bug Fix
- [ ]Refactoring / Technology upgrade
- [ ]New Feature