moov-io / signedxml

pure go library for processing signed XML documents
MIT License
52 stars 44 forks source link

Namespace propagation #41

Open frazeradam opened 1 year ago

frazeradam commented 1 year ago

This is close to where we need to be, but needs normalization applied to the order of attributes, for example:

<E:Body id="Body" xmlns:E="http://schemas.xmlsoap.org/soap/envelope/">

Should actually be:

<E:Body xmlns:E="http://schemas.xmlsoap.org/soap/envelope/" id="Body">

I am unsure of how to correct use existing code for this to not need to reinvent the wheel.

Closes #39 (assuming I can make changes to this to above the above mentioned issue)