Closed ChristianGruen closed 1 year ago
If an element without an explicit namespace declaration is wrapped and copied, the namespace declaration gets lost:
element x { web:response-header(headers := map { 'a':'b' })//*:header } update { }
Result:
<x> <http:header name="a" value="b"/> </x>
Expected:
<x> <http:header xmlns:http="http://expath.org/ns/http-client" name="a" value="b"/> </x>
Along with the fix, various explicit namespace declarations can be omitted in the code.
If an element without an explicit namespace declaration is wrapped and copied, the namespace declaration gets lost:
Result:
Expected:
Along with the fix, various explicit namespace declarations can be omitted in the code.