Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [x] Have you checked to ensure there aren't other open [Pull Reques…
…ts](../../pulls) for the same update/change? * [x] Have you added an explanation of what problem you are trying to solve with this PR? It is needed for returning attributes like ```` <saml:Attribute Name="dateOfBirth"> <saml:AttributeValue xsi:type="xs:date">2015-12-06</saml:AttributeValue> </saml:Attribute> ```` Otherwise I get an ValueError Exception like ```` Type and value do not match: date:<class 'str'>:2015-12-06 ```` because `type(value) is not valid_type == True` I didn't write any unit test, just tested in my context. Two important things: 1. This PR is on top of #597 but it doesn't have any dependencies on it. The only file I changed is saml.py, let me know if this PR will be merged in next releases and if you need separate branch for every features. In the future I will this way. 2. I think that the following code https://github.com/IdentityPython/pysaml2/pull/602/files#diff-6c156669cad61eda35e679329251dce9R197 could be also improved according to #518
- Loading branch information