bug#20339: sxml simple: sxml->xml mishandles namespaces?

2019-02-05 Thread Ricardo Wurmus
Ricardo Wurmus writes: > In that case we coud have FINISH-ELEMENT add all namespace declarations > that are in scope to the current node that is about to be returned. It > would be a little verbose, but more correct. Like this: >From d44c702718baea4c4557d12ca8dd7dab724c7fb6 Mon Sep 17

bug#20339: sxml simple: sxml->xml mishandles namespaces?

2019-02-05 Thread Ricardo Wurmus
Hi John, > The trouble with that is that XML rnamespaces are lexically scoped, like > Scheme > local variables. It is perfectly valid to map a prefix to more than one > URL, > as long as the namespace declarations are in either disjoint or nested > elements. So you don't know what the