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