In XQuery, default element namespace is not reset
The Saxon XSLT and XQuery processor, developed by Saxonica
Brought to you by:
mhkay
In XQuery, a default element namespace established by
writing xmlns="abc" in a direct element constructor is
not cleared at the end of the containing element; it
will still be treated as the default element namespace
for unprefixed names appearing in subsequent path
expressions.
Source code fixed, test case added (qxmp171)