#568348 libsaxon-java: produces extra NS declaration if multiple prefixes for NS