-
Notifications
You must be signed in to change notification settings - Fork 633
Closed
Labels
feature-requestNew feature or enhancement. May require GitHub community feedback.New feature or enhancement. May require GitHub community feedback.p2This is a standard priority issueThis is a standard priority issuequeuedThis issues is on the AWS team's backlogThis issues is on the AWS team's backlog
Description
Describe the feature
Currently the fast-xml-parser is used by AWS-SDK to parse the response payload from XML protocol into JS object. This dependency is also included in the browser bundles. The dependency is a 17 KB tree-shaked and 5.5 KB Gzipped package.
However, the SDK in browser can get rid of this dependency by using the window.DOMParser
and a v2-style adaptor layer to achieve the same purpose, can with size that can hardly go over 1 KB after Gzipped. The v2 implementation is proven reliable.
Use Case
The fast-xml-parser dependency will be included whenever XML protocol clients in bundled for browser.
Proposed Solution
As mentioned above, the browser xml parser can be replaced by porting the v2 XML parser that based on window.DOMParser
to the v3.
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
SDK version used
All
Environment details (OS name and version, etc.)
All browsers
Metadata
Metadata
Assignees
Labels
feature-requestNew feature or enhancement. May require GitHub community feedback.New feature or enhancement. May require GitHub community feedback.p2This is a standard priority issueThis is a standard priority issuequeuedThis issues is on the AWS team's backlogThis issues is on the AWS team's backlog