**[Timo Thomas](https://jira.spring.io/secure/ViewProfile.jspa?name=tthomas)** opened **[SWS-819](https://jira.spring.io/browse/SWS-819?redirect=false)** and commented In SimpleNamespaceContext.removeBinding() the first line should be changed to String namespaceUri = prefixToNamespaceUri.remove(prefix); Otherwise the internal map prefixToNamespaceUri still contains the prefix, and hasBinding(String prefix) behaves incorrectly. This is error is critical, as under certain circumstances XML schema validation fails. If necessary I can provide an example. --- **Affects:** 1.5.9, 2.1.2 **Referenced from:** commits https://github.com/spring-projects/spring-ws/commit/041229b5ae6d8692300af3a8d263b3a9249a8f1b, https://github.com/spring-projects/spring-ws/commit/88b4625905ff45f6319ebcb72c07f382999349de