BaseXdb/basex — Issue #261: Newly constructed namespace get lost
Author: ChristianGruen
Created: 2011-11-11 18:02:56+00:00
State: open

```xquery
declare namespace ns="ns";
copy $e :=
modify insert node attribute ns:a { "" } into $e
return namespace-uri-for-prefix("ns", $e)
```

Expected result: ns