Skip to content

Conversation

@cecia234
Copy link
Contributor

@cecia234 cecia234 commented Jul 22, 2023

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
cecia234 added 2 commits July 22, 2023 10:25
NaturalIntelligence#585) Null and Undefined attributes should be suppressed when ignoreAttributes is false both when format is true and when it is false
@amitguptagwl
Copy link
Member

Thanks for your PR. Let me review it.

@coveralls
Copy link

Coverage Status

coverage: 98.221% (-0.02%) from 98.24% when pulling 47b93d9 on cecia234:fix#585 into a04cd1e on NaturalIntelligence:master.

@amitguptagwl amitguptagwl merged commit df7008f into NaturalIntelligence:master Jul 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants