And are you sure that srsName is even part of the GML2 spec? If this is influenced by the WFS version, it should probably be handled there instead of here.