BaseXdb/basex — pull request #648 by LukasK (2013-02-28 13:54:45+00:00)
Title: [FIX] adding namespace declaration on wrong level after insert

### Query: ###
```xquery
copy $a :=
modify insert node into $a
return $a
```
### Result (before fix): ###
```xquery

```