Skip to content
Unverified Commit 6df93e09 authored by Russell Cohen's avatar Russell Cohen Committed by GitHub
Browse files

Parser Generator for XmlBindingTraits (#354)

* Parser Generator for XmlBindingTraits

This diff adds two components:
- `smithy-xml`: A scoped-reader XML abstraction on top of `xmlparser`
- `XmlBindingTraitParserGenerator`: A code generator for deserializing data targetted with the XmlBinding traits

This is not currently used outside of the tests, but this implementation passes all protocol tests expect for escaping (wiring is still WIP).

This commit also adds two inlinable abstractions for error parsing which can be swapped in at code generation time based on the service traits.

* Cleanup XmlError

* Add support for unescaping XML

* Back out changes to testutil

* Rename currentTarget to accum

* CR feedback

* Remove duplicate copyright & fix doc compilation

* CR feedback
parent 72a5c5b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment