Sorry for the second email, I'm not familiar with BaseX, but it looks like the gml namespace is hardcoded in /basex-api/src/main/java/org/expath/ns/Geo.java
I don't know if it is intentional for compatibility reasons or not.
basex-talk@mailman.uni-konstanz.de