[xquery-talk] Default element namespace: multiple declarations

Michael Kay mike at saxonica.com
Wed Nov 11 00:25:07 PST 2020


I can't see any rule that makes it an error to write

import schema default element namespace "http://example.org/abc";
declare default element namespace "http://example.org/xyz";

This looks to me like an oversight in the spec.

I think Saxon simply uses whichever one comes last.

Any thoughts?

Michael Kay
Saxonica


More information about the talk mailing list