Hi Marco,
yes, the 7.7 behavior is correct, it’s the result from a recent W3 decision [1]. You’ll probably have to rewrite your query as follows:
<a xmlns="eeeeee"/>
Hope this helps, Christian
[1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=22032S ___________________________
2013/10/9 Marco Lettere <marco.lettere@dedalus.eu>:
Hello all, in 7.6 I used to write code like the following one:
<a> {namespace { "" } { "eeeeee" }} </a>
it uses to return this as (the expcted) result:
<a xmlns="eeeeee"/>
In 7.7 the same code snipped returns a runtime exception stating that namespace '' has been declared twice. I assume it's because a default namespace is created under the hood on the root node. Is it?
Could I please have any help on this? Thanks a lot, M. _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk